4 ms·
1)-O0 code from LLVM will run faster than Go code? 2) Since we are talking order of magnitude more time, Will optimized code from LLVM will be order of magnitu
by geodel 11y ago
1)-O0 code from LLVM will run faster than Go code?
2) Since we are talking order of magnitude more time, Will optimized code from LLVM will be order of magnitude faster than Go?
- pcwalton 11y ago> 1)-O0 code from LLVM will run faster than Go code? It depends on the language. It would be interesting to see -O0 LLVM vs. 6g/8g on Go code. > 2) Since we are talking order of magnitude more time, Will optimized code from LLVM will be order of magnitude faster than Go? Maybe? If you vectorize it sure could be. But I don't see why it's relevant. Who cares if your final release builds for your browser are 10x slower if you're shipping them to 100 million users and they get a 3x speedup?
- geodel 11y agoTrue for browser. I guess you will agree business applications are far more commonly written than browser engines. For my business application in Java it is neither super fast to compile (~20sec from ant script). Quite slow to start due to VM startup time, and ok performance. I would really like if compile times are much faster.