5 ms·
You missed compilation?
by sir_akshay 11y ago
You missed compilation?
- singularity2001 11y agoHe probably meant the results of compilation: superfast binaries ;)
- espadrine 11y agoIn that case, what he missed was AOT optimization :) Many Lisps have had compilation to binaries. But having a binary doesn't imply being faster than an interpreted language. Theoretically, a JIT optimization can end up with faster code than an AOT optimizer can produce, thanks to runtime profiling. In fact, I'd be interested in seeing benchmarks, which Crystal is probably not ready to share, but may have conducted: https://github.com/manastech/crystal/blob/master/samples/fannkuch-redux.cr https://github.com/manastech/crystal/blob/master/samples/fan... Edit: this[0] seems to indicate that the optimizations are in the same ballpark as Go and D, which is really impressive. [0]: https://github.com/kostya/benchmarks https://github.com/kostya/benchmarks
- masklinn 11y ago> Edit: this[0] seems to indicate that the optimizations are in the same ballpark as Go and D, which is really impressive. not sure about D, but Go is known to have very little in the way of optimisation, that's a big factor in its speedy compilation.