From interpreted to native code: compiler support for dynamic languages

First, I know that dynamic languages ​​are a term used primarily by a provider; I use it only to have a container word to include languages ​​like Perl (my favorite), Python, Tcl, Ruby, PHP, etc. They are interpreted, but I'm interested in here to refer to languages ​​that demonstrate a strong ability to maintain the programmer’s effectiveness and support the typical constructs of modern interpreted languages.

My question is: dynamic languages ​​can be compiled efficiently in native executable code - typically for Windows platforms? What kind? Maybe use special tools of the third part? I'm not saying that huge executables carry a complete interpreter or some similar tricks, as well as some intelligent modules that can include their own dependencies or some required modules, but honest, direct, standard, reliable executable code.

If not, is there some technical reason preventing the availability of such a feature from the best of the two countries?

Thank!

Daniel

+3
source share
3 answers

, : , , , .

Windows , . , , , "-", C, .

.

, , - , , C/++ () dot-net.

, Forth , .

, Windows Lisps. , , . - 1,5x-5 , C/++.

, : Perl , . ActiveState perlapp, , , , - . , .

, (), - , : .

Perl (proof), , perl , . , Perl , , .

, , , perl , perl , , , , .

Python PHP, . Shed Skin HipHop-php , , Pythons PHP, , . , ( ), , - , , , .

+4

PyPy , Python.

, - , "": , , , eval, - .. , JIT- JavaScript, .

+2

Shed Skin - ( ) Python-to-++, , . PyPy, , Shed Skin, , .

+1

Source: https://habr.com/ru/post/1746182/


All Articles