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

> emulate unsafe C pointer semantics with unsafe Rust

Yes and that would be safer than the current slop translation, because c2rust does these ugly things exactly to avoid introducing new issues with the more strict Rust semantics.

It _already was and should_ be that awful to match the original code without introducing hundreds of new UBs like the current situation.



Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

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

Search: