3 ms·
It's API, not a language. Write your own, ergonomic and safe API on top of unsafe code.
by oneshtein 3y ago
It's API, not a language. Write your own, ergonomic and safe API on top of unsafe code.
- capableweb 3y agoDon't act like this verbosity isn't widespread in the Rust ecosystem already.
- oneshtein 3y agoI'm a professional software developer. In my experience, Rust code is shorter than equivalent C or C++ code, with proper error handling, no memory leaks, no race conditions. If you rewrite the code above in a proper C, you will have a page of code at least.