This looks like a important gain in performance.
I'm surprised that the raw javascript version of your code examples doesn't 
show in your comparisons. This could be interesting.


Also, in the example you just gave for Python on the node.js platform, it 
doesn't show how to handle asynchronous operations which is the whole point 
of node ! If only synchronous methods are available, what are the benefits 
of running this in node rather than in the python interpreter? Similarily, 
even if asynchronous methods are available, what are the benefits of 
running this on node instead of using a framework like Twisted for Python?

On Tuesday, 12 November 2013 09:18:13 UTC+1, Harts Antler wrote:
>
> PythonJS is a Python to JavaScript translator like Brython, but produces 
> faster output code than Brython, see this 
> post<http://pyppet.blogspot.com/2013/11/brython-vs-pythonjs.html>
> .
> PythonJS 0.8.4 now works with NodeJS, and includes special wrappers for it.
>
> Sample Code:
>
> from nodejs.io import *
> from nodejs.sys import *
>
> path = sys.argv[ len(sys.argv)-1 ]
> f = open( path, 'rb' )
> print f.read()
>
> https://github.com/PythonJS/PythonJS
>

-- 
-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to