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

It's rare to hit it, but if you do, having it happen silently is not ideal for sure.


I still think noalias-by-default is the way to fix this.

https://github.com/ziglang/zig/issues/1108

You get all the benefits of Zig being able to choose the function ABI, but if the optimization would have caused a bug, you'll get an immediate panic at the function entrypoint, instead of silently corrupted data.




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

Search: