News for hackers. Stuff that matters.
Re:PyPy.js: First Steps by rfk on Tuesday July 23, 2013 @05:39PM (#6093093)
A big part of the current size problem is the way that the stdlib files are bundled - the contents of each file are encoded, byte-for-byte, as a list of base-10 integers. So "hello" gets bundled as "[104, 101, 108, 108, 111]", resulting in quite a bit of overhead.

I agree that 139M is pretty ridiculous for any practical purpose! I'm going to work on lazily loading just the files that are needed, which should make a big difference.

There are no comments on this comment yet.