Hi @lupyuen , you switched from #rustlang to #ziglang on embedded (#bl604), right? I didn't follow your posts at that time, why did you switch? How well did the transition go? How do both languages compare for your use case?

Follow

@dwagenk I'm doing both Rust and Zig! 😂

Zig works really well when we need to call C code, no wrappers needed. Like when we call Apache NuttX RTOS or LoRaWAN Library...

lupyuen.github.io/articles/iot

But Zig is not Memory-Safe like Rust...

lupyuen.github.io/articles/pin

Zig has some Safety Checks at runtime, so it's still better than C...

ziglang.org/documentation/mast

Sign in to participate in the conversation
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.