5 ms·
What's an alternative?
by sydthrowaway 4y ago
What's an alternative?
- olah_1 4y agoZig or Nim maybe
- winrid 4y agoZig is way more low level. Nim is a great alternative though. 90% of the performance with 50% of the work.
- kaba0 4y agoThere 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.
- winrid 4y agoZig 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.
- sydthrowaway 4y agoDo any of them have a wasm target?
- antifa 4y agoNim can target js directly, but if you really want wasm it's mostly probably possible https://forum.nim-lang.org/t/7365 https://forum.nim-lang.org/t/7365