3 ms·
So many comparisons to Go and C# on this thread. While at some level of abstraction, all languages are the same, comparing GCed languages to non-GC languages do
by osigurdson 2y ago
So many comparisons to Go and C# on this thread. While at some level of abstraction, all languages are the same, comparing GCed languages to non-GC languages doesn't make sense in my opinion. Rust would have never been made if the creators were fine with Java.
- pjmlp 2y agoThe people that don't suffer from GC phobia are aware how to write Go and C# code that makes use of C like features, while taking advantage of their productivity in non critical code paths. Rust's ideal case are domains where allocation management is strictly controlled.
- osigurdson 2y ago>> Rust's ideal case are domains where allocation management is strictly controlled What domain's are those? Do you mean just embedded or perhaps Firefox? Please elucidate.
- pjmlp 2y agoStuff that falls under high integrity computing certification where dynamic memory allocations is usually forbidden, GPGPU where memory primitives make quite hard to have automatic memory management as they are host controlled, specific kinds of drivers, or special VM flavours like eBPF. Everything else is a matter how much one wants to involve themselves into politics of the right way to do memory management, versus get to a compromise for more safer infrastructure.