Hacker News new | ask | show | jobs
by lewurm 2562 days 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).

1 comments

> There are different implementations for it doing different things.

And are they now speculative? They weren't for the first 15 years or so.

CoreCLR started to implemented Tiered Compilation https://github.com/dotnet/coreclr/blob/master/Documentation/...

It's experimental currently, no profile guided optimizations _yet_

.NET Framework supports PGO since .NET 4.5.