3 ms·
Rust and Go are very much alike, when Java is not an option because of the JVM startup time and memory requirements (GraalVM Native Image solves this, but at th
by krn 3y ago
Rust and Go are very much alike, when Java is not an option because of the JVM startup time and memory requirements (GraalVM Native Image solves this, but at the expense of highly reduced performance).
- kaba0 3y agoGraalVM native might have worse performance than the same application running on the JVM, but highly reduced is a scratch. And sure, just as alike as Rust and D, Haskell, OCaml - they all produce a native binary with in-built GC, just like Go.
- galangalalgol 3y agoI'm not sure what your use case is that only rust and gonare options, but is unusual. NIM supports concurrency and is as portable as the c and js it can generate to. C#/F# work on x86 and arm which covers most targets today. And supports concurrency. And is situationally more performant than go. I can't speak to the other languages mentioned, but they all seem quite similar to go as well, except for haskell. Rust is more like c, c++, zig, ada etc.
- krn 3y agoI see Rust and Go as the best high-performance high-concurrency programming languages today, and choose between Rust and Go depending on the bottleneck (Rust – CPU / RAM, Go – I/O).