3 ms·
What languages are you thinking of that are like Rust but GCed? Most GCed languages don't compile to native binaries.
by edflsafoiewq 7y ago
What languages are you thinking of that are like Rust but GCed? Most GCed languages don't compile to native binaries.
- glass_of_water 7y agoIf your requirement is compiling to native binaries, then perhaps dlang with GC enabled? Admittedly it would be a really poor choice in 2020 though given the lack of adoption. Golang is GCd and native, but of course the language is lacking in many ways compared to Rust. So I guess you're right, nothing I can think of quite fills the niche that Rust does, if compiling to a native binary is a hard requirement. Also I'm not aware of any widely-adopted language with borrow checking, if that's a feature that's valuable for your use case.
- pjmlp 7y agoJava, Kotlin, Scala, C#, F#, OCaml, Haskell, D, Swift, Ada, Go all can compile to native binaries, yes even Java and .NET.