2 ms·
> It is still better than just plain C. But without the speed of C. D and Rust are both better than C and better than go, while still being as fast as C (ok r
by imanaccount247 12y ago
> It is still better than just plain C.
But without the speed of C. D and Rust are both better than C and better than go, while still being as fast as C (ok rust isn't always as fast as C yet, but it is still faster than go).
- pjmlp 12y agoThis is a compiler issue, don't mistake language with implementation. In fact, gccgo does produce better code than the *g compilers
- imanaccount247 12y agoIt is partly a compiler issue, but the semantics of a language limits how fast of a compiler you can make. It doesn't really matter though, the fastest g compiler still produces slower binaries than any C compiler I can find.
- pjmlp 12y agoSo you are comparing a 5 year old compiler with 30 years of compiler optimizations?! I remember the days when C code on home computers just sucked and most of us coded in Assembly for games, as C was a business language. Compiler optimizations take time, even if sharing backends across languages.
- imanaccount247 12y ago>So you are comparing a 5 year old compiler with 30 years of compiler optimizations?! No. You can clearly see that I am not doing that simply from reading my post. So, why the strawman?