4 ms·
Go should not be compared to Rust. Go is garbage collected. It should be compared to Java or C#.
by beebmam 4y ago
Go should not be compared to Rust. Go is garbage collected. It should be compared to Java or C#.
- rahen 4y agoSure, but unlike Java and C#, Go is an AOT compiler generating native binaries. It's half-way between Rust and Java/C#.
- pjmlp 4y agoJava has had AOT compilers since 2000, although they were commercial only, and nowadays there are some free beer ones via GraalVM and OpenJ9. C# has always supported AOT compilation via NGEN, with the caveat that it needs to be done on-device and only dynamic linking is supported. Besides NGEN, in the 20 years of .NET history, we had CosmOS AOT compiler, Singularity (whose tech landed on Windows 8 MDIL), Midori (whose tech landed on UWP .NET Native), Mono AOT (still going at it), Unity's IL2CPP, and now Native AOT.
- pjmlp 4y agoYou're right, it should be compared to Mesa/Cedar, https://www.youtube.com/watch?v=z_dt7NG38V4 https://www.youtube.com/watch?v=z_dt7NG38V4