4 ms·
Some people differentiate between just-in-time compilation, which is what for example .NET does (or did, last time I checked), where it just literally compiles
by chrisseaton 7y ago
Some people differentiate between just-in-time compilation, which is what for example .NET does (or did, last time I checked), where it just literally compiles it as it would ahead-of-time, but at the last second before executing it for the first time, and dynamic compilation, which is for example what Graal does - compiling based on runtime conditions, possibly multiple times with different results as the program executes.
- lewurm 7y ago> [...] which is what for example .NET does. .NET is the platform. There are different implementations for it doing different things. JIT compilation is still different to AOT even without profile guided optimizations. Simple example: In AOT code you can't embed pointers easily and is often solved with indirection (e.g. something like GOT in ELF).
- chrisseaton 7y ago> There are different implementations for it doing different things. And are they now speculative? They weren't for the first 15 years or so.
- lewurm 7y agoCoreCLR started to implemented Tiered Compilation https://github.com/dotnet/coreclr/blob/master/Documentation/design-docs/tiered-compilation.md https://github.com/dotnet/coreclr/blob/master/Documentation/... It's experimental currently, no profile guided optimizations _yet_
- pjmlp 7y ago.NET Framework supports PGO since .NET 4.5.