Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I like tokenizers and parsers because they have a certain rhythm to them, and Zig's new labeled switch simplifies state transitions by allowing continue statements to target specific switch cases. Like computed-gotos in C.

- Zig issue: https://github.com/ziglang/zig/issues/8220 - Release notes: https://github.com/ziglang/zig/pull/21257#issuecomment-23368...



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: