Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
bretthartshorn
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
bretthartshorn
12y ago
Here is a new benchmark testing PythonJS using SIMD vectorized code in the DartVM vs CPython with NumPy. http://pythonjs.blogspot.com/2014/06/pythonjs-simd-vectors.h...
2.
▲
by
bretthartshorn
12y ago
I've posted updated benchmarks with the latest PyPy 2.3.1 http://pythonjs.blogspot.com/2014/06/pythonjs-faster-than-cp...
3.
▲
by
bretthartshorn
12y ago
PythonJS implements __getattr__. See these regression tests: https://github.com/PythonJS/PythonJS/blob/master/regtests/cl... https://github.com/PythonJS/PythonJS/blob/
4.
▲
by
bretthartshorn
12y ago
PythonJS has support for 64bit integers using the Long.js library. You just need to type your variable as "long". Numbers larger than 64bits could also be supported with another library and simple modifications to the translator
5.
▲
by
bretthartshorn
12y ago
pythonjs.py is not the main part of the translator. PythonJS translates in two steps, most of the translation happens in the first stage, in python_to_pythonjs.py https://github.com/PythonJS/PythonJS/blob/mas