Серьезное воскресное чтение. Многие новички постоянно путаются в интерпретаторах, виртуальных машинах, не понимают, как имплементации языков программирования работают, что быстрее и почему.
Соавтор нескольких виртуальных машин Smalltalk на Quora объясняет, почему, несмотря на то что и Python, и Java работают с байткодом, Java намного быстрее. Подробно, со ссылками на литературу и вежливым объяснением самых основ.
http://amp.gs/7yri
Post #178
25
Forwarded from Evil Martians
Quora If Python and Java both compile to bytecode, why is Java so much faster? What's the JIT doing with bytecode that CPython isn't?… The answer is captured in two papers and a thesis: [DS84] “Efficient implementation of the smalltalk-80 system”, L. Peter Deutsch, Allan M. Schiffman, POPL '84 Proceedings of the 11th ACM SIGACT-SIGPLAN symposium on Principles of programming langu...