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

This is the whole point the author was trying to make.

As you mentioned and made clear, the implementations in other languages barely have any checks for memory safety.

In Rust, you can do that but you have to write a verbose code.

Why not just abstract this on the SDK level and provide a way so that if you call *GPIO |= 1; it will already do that for you? Or as others mentioned, make a macro?

I believe this is the point the author was trying to make. It's not about the niceties Rust have that make it complicated, it's the fact that you do have to write a whole lot more code for a simple task.



Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

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

Search: