Are there any examples of what a static compiler could optimize when JIT could not?
For example, some C ++ compiler optimization that cannot be performed by .NET JIT?
Missing. Evidence. Take any compiler and use it as a JIT. Q.E.D.
However , JIT is limited at run time, so complex optimizations are not acceptable there.
, JIT. , .
, . , , . . ngen.exe, .NET . , "", , .ni.dll .
, . , , , .
, . , , . 64- x64, .
, , , 85% , . , .
, , complier , JIT - JIT- , , . JIT - , .
++ , # - . , , : # , .
# # IL, JIT.
, JIT - . , , , , JIT. , JIT , , , .
, JIT ( , ), , .
The main problem here is runtime and resources. It takes 61 hours to compile Visual Studio, and I don’t even know what their build machine is. JITs, however, should work with a fraction of real machine resources in milliseconds. There is no way that they can optimize so much.
Source: https://habr.com/ru/post/1779882/More articles:In C ++, how does the expression "* pointer ++" work? - c ++PHP: imagemagick creates an empty image with conversion - phpHow to extract number from HTML range using jQuery? - jqueryHow can I define a Unicode block of a character, in particular Qt QChar? - c ++Что-нибудь вроде Scratch или Google AppInventor, но для JavaScript или HTML5? - javascriptADO.NET Objects - Model Data Annotations - model-view-controllerUsing C ++ for use in std and boost - c ++ASP programmer thinking about learning PHP - c #Нужна помощь с дизайном веб-приложений java для выполнения фоновых задач - javaСерверная сторона выполняет несколько запросов против облачных сервисов - javaAll Articles