Thanks for posting this; it looks a very interesting project which I shall probably follow up in time. It's main advantage would seem to be to speed up Python on the desktop. For running on the web, after compiling to JavaScript, although there might still be an advantage over hand-written JavaScript, the speed increase would likely be relatively small.
As a long time Python programmer who wanted to develop web applications, I went with Pyjamas for several years and even made small contributions to its development. However, I had always been worried about the large volume of code it produced and when the project was taken over to become Pyjs, I thought it was probably doomed. When Alexander Tsepkov came up with RapydScript, which essentially a way of writing JavaScript with pythonic syntax, I started to use that and have never gone back because I found it so productive. In a way it has some resemblance to Medusa because it creates an AST from the python-like input code and then outputs JavaScript from the AST. There is only a small increase in code volume in the process and, what's more, the JavaScript is totally readable and can be debugged just as easily as if written by hand. My guess is that JavaScript from Medusa will not be significantly faster than JavaScript from RapydScript. Here is a link to RapydScript https://github.com/atsepkov/RapydScript On Sunday, December 7, 2014 10:20:02 AM UTC, wb wrote: > > I found a project to build Python2Dart translator called Medusa: > > > http://in.pycon.org/funnel/2014/130-medusa-a-much-faster-python-implementation-based-on-the-dart-virtual-machine > https://github.com/rahul080327/medusa > > from the Medusa introduction page: > > "The Dart VM like V8 compiles the dart code directly to machine code and > ... runs at a much higher speed compared to the CPython implementation and > at times upto a *1000 - 1500% faster ...*" > > > 2014년 11월 13일 목요일 오전 8시 57분 43초 UTC+9, wb 님의 말: >> >> I think that if Pyjs2Dart translator is built, then we can take advantage >> out of Dart's powerful features including optimization and speed. However, >> many programmers (and I) still want an easily readable language, and it is >> good enough to justify Pyjs. >> > -- --- You received this message because you are subscribed to the Google Groups "Pyjs.org Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to pyjs-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.