pypy-logo js-logo

By Albert-Jan Nijburg /

Not a python programmer!

Why?

  • because we can!
  • python programmers appear to hate javascript
  • wanted to learn about compilers
  • because trinket.io asked me to

trinket.io

trinket.io is there to teach code and python is a great first language!

And people get better and want more from trinket.

What about performance?

For Mozilla, anything that the Web can’t do, or anything that the Web is not faster and better at than native technologies, is a bug. - Andreas Gal (Mozilla CEO)

Ryan Kelly started patching it!

Ok ok

Yeah

Please no more jit

We’re gonna be late!

pypy.js

pypy.js

what do I do

  • working on skulpt for some years
  • adding synchronous functions to pypyjs
  • emterpreter
  • make the build more manageable

emterpreter

  • interpret bytecode in javascript
  • adds synchronous functions
  • faster startup time (start executing before all code is parsed)
  • slower execution.

Thank You!

github.com/albertjan