欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

Python + V8 =PyV8 PythonJavaScript 

程序员文章站 2022-07-14 16:34:04
...

研究pyjamas的时候发现一下的文字:

 

Combining PyJS and PyV8 to produce an Optimising Python Compiler

----------------------------------------------------------------

 

pyjs.py is a stand-alone python-to-javascript.  PyV8 provides python

bindings to the V8 Javascript Execution library, which provides fast

JIT-compiled x86 and ARM assembler of a javascript application.

 

Combining the two back-to-back would logically provide a way to

compile python scripts to x86 or ARM assembler, resulting in a competitor

to Psyco with the added advantage of supporting ARM CPUs.

 

简而言之,pyv8就是V8的Python绑定。

相关标签: Python JavaScript