Re:Jaspy – A Python VM written in JavaScript
by 9912831 on Saturday April 16, 2016 @03:21PM
(#11511881)
I suspect functional programming. I don't like Javascript, but getting away from the typical OO garbage is a plus.
Of course I'd prefer Haskell, but if one can earn money with JS...
Re:Jaspy – A Python VM written in JavaScript
by xaduha on Saturday April 16, 2016 @03:43PM
(#11511950)
JS engines in browsers should evolve to more general VMs, for which you can implement/port other languages. Hopefully WebAssembly is a start of that. That is the proper way, not writing it in JS with caveats such as
> Speed is explicitly not a main goal of this project.
Re:Jaspy – A Python VM written in JavaScript
by koehlma on Saturday April 16, 2016 @04:22PM
(#11512109)
I totally agree with that. Actually that's the reason why speed is not a main goal and it is more about the style of programming and exploring new ways. The long term goal is to use new upcoming technologies to implement it in a faster way although.
What style would that be? JS is a dynamic language, but as dynamic languages go it isn't the first and it is certainly not the best. What is has going for it is near monopoly in browser space and a ton of optimization.