News for hackers. Stuff that matters.
Re:Rust from 0 to 80% for JavaScript Developers by winrid on Sunday May 01, 2022 @02:40AM (#31222762)
Zig is way more low level. Nim is a great alternative though. 90% of the performance with 50% of the work.
Re:Rust from 0 to 80% for JavaScript Developers by kaba0 on Sunday May 01, 2022 @09:40AM (#31224936)
There is no more low-level. Rust and zig can express the exact same programs. Rust just catches a few more erroneous ones at compile time, but you have to manage memory explicitly in both.
Re:Rust from 0 to 80% for JavaScript Developers by winrid on Sunday May 01, 2022 @12:30PM (#31226342)
Zig doesn't even have a string type. It's not an alternative to Rust, which is meant as a safer C++.

Nim has a huge stdlib.