3 ms·
I have to disagree with the other commenters as to its suitability as general object code. I find it too high-level, with insufficient control over the lower-l
by s3graham 17y ago
I have to disagree with the other commenters as to its suitability as general object code.
I find it too high-level, with insufficient control over the lower-level details. For Skulpt (my Python-in-JS implementation) it works "ok" because JS and Python are similar in some respects, so some things map pretty well. But, for other things, like implementing longs (aka bigint), or implementing exceptions and attribute lookup faithfully to Python's semantics, it requires overhead that I consider unnecessary. Control structures from more flexible languages would require extensive hoop-jumping too.
Really, JVM-in-browser was the "right" solution, but the implementation of that is obviously horrible and impractical.
Not sure about #2, I guess it's a chicken-and-egg problem. With Google compiling from Java there should be some motivation to improve that use-case.