3 ms·
The absence of GC, makes embedded Rust a joy. It can be easily attached to other programs like Erlang with NIFs, Javascript and web pages with Web Assembly and
by emporas 3y ago
The absence of GC, makes embedded Rust a joy. It can be easily attached to other programs like Erlang with NIFs, Javascript and web pages with Web Assembly and Emacs with command line execution. Micro-controllers as well of course.
I do consider the lightning start-up speed of a program to be one of the killer features of Rust. Rust with garbage collection throws away one of it's biggest advantages compared to every other language around.
- zem 3y agodon't think of it as rust with garbage collection, think of it as a GC language with features borrowed from rust
- mike_hearn 3y agoGarbage collection doesn't make program startup slow. Look at Go, or Java compiled with native-image.
- munificent 3y agoGC doesn't affect startup time. The slow startup you associate with GC language implementations like ones for Java and JavaScript mostly comes from JIT warmup.