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

Please elaborate what "execution model" entails. What is the Rust "Abstract Machine"?

I am only aware of the memory model, specifically pointer and consistency/synchronization which extends the C memory model by abstractions deemed "memory-safe" based on Separation Logic and Strict Aliasing. In my understanding you criticize Zig for not offering safety abstractions, because you can also write purely unsafe Rust also covered by the Rust "execution model".

Rust has no inheritance typical for OOP. Zig has no token manipulation, but uses "comptime".



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

Search: