|
|
|
|
|
by digitalPhonix
269 days ago
|
|
> Rust is usually the least reasonable option If the software was originally written in C/C++ based on some performance reasons (avoiding GC/being in control of boxing/being in control of when to use vtables etc.) then what would be more reasonable options? > Fully automatic memory-managed languages should be considered first. Those languages have existed for 20+ years so if they were ruled out as part of the original decision making then they probably still aren't applicable. |
|
Plenty of software has been written in C or C++, only because they were the only compiled languages known to the authors.
Having said this, Go, D, Swift, OCaml, Haskell, Common Lisp, C#, F#, Java (with GraalVM, OpenJ9).
All of them offer ways to do AOT compilation and use value types, granted Java is too verbose using Panama for that, and one is better of choosing one of the others.