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

I didn't know godbolt let you include URLs. Fascinating: https://raw.githubusercontent.com/uecker/noplate/main/src/co...

I think Zig gets some points here for legibility ;-).



Note that only one or two lines of this file is needed here, the rest is for other experiments... And a user would simply use the "literal" macro. I also do not think the Zig version is really that much clearer or obvious. I would not recommend to write such code anyway, neither in C nor in Zig. The "unreachable" version is far better.




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

Search: