←back to thread

302 points Bogdanp | 2 comments | | HN request time: 0.418s | source
Show context
amelius ◴[] No.44395066[source]
Meanwhile, other languages have a JIT compiler which compiles code as it runs. This would be great for development even if it turns out to be slower overall.
replies(1): >>44395153 #
1. akkad33 ◴[] No.44395153[source]
Actually JITs can be faster than AOT compilation because they can be optimized for the current architecture they are running in. There were claims Julia, a JIT language can beat C in some benchmarks
replies(1): >>44395354 #
2. amelius ◴[] No.44395354[source]
In fact, JITs can be faster because they can specialize code, i.e. make optimizations based on live data.