2 ms·
> Rust not having the garbage collection as far as I understand can be made to produce routines that are part of C application. Rust can operate without garbag
by mercurial 13y ago
> Rust not having the garbage collection as far as I understand can be made to produce routines that are part of C application.
Rust can operate without garbage collection if you don't use shared pointers.
> "OK it's weirder syntax but it's not so far from what would have to be written in C anyway, so where's the advantage?"
Apart from memory safety, a lot of exciting, modern features: pattern matching, typeclasses, immutability per default, built-in concurrency and parallelism, a module system, a packaging system...
> What I consider missing for "properly" interfacing with C is for Rust to be able to slurp C headers as they are, without the need for additional "translation" files that are presented in the article.
I don't know any language with this kind of FFI...
- weavie 13y ago> I don't know any language with this kind of FFI... Does Objective C count?