3 ms·
Did you catch the note at the end about how gccgo is slower? If so how does pivoting to LLVM solve the issues seen there?
by zamadatix 6y ago
Did you catch the note at the end about how gccgo is slower? If so how does pivoting to LLVM solve the issues seen there?
- cogman10 6y agoYou can read about the why here. https://stackoverflow.com/questions/25811445/what-are-the-primary-differences-between-gc-and-gccgo https://stackoverflow.com/questions/25811445/what-are-the-pr... The short answer is that there are optimizations that the GC is doing which gccgo is not doing. The long answer is that gc will do escape analysis which can avoid allocating on the heap, gccgo doesn't do that. Why might LLVM be better suited? Primarily because the framework also supports JIT and has efforts from the likes of Azul to make their JVM faster. Most optimizations that would benefit Java will benefit go. https://llvm.org/devmtg/2017-10/slides/Reames-FalconKeynote.pdf https://llvm.org/devmtg/2017-10/slides/Reames-FalconKeynote....