views:

109

answers:

1

Will Javascript on the rapid rise and it being adapted for all sorts of things, my question is: Can Javascript be bootstrapped? More specifically, would a JS parser written in JS be fast enough to be useful at all?

What are the design decisions that go into deciding whether or not to bootstrap a language?

This questions comes after seeing this: http://www.skulpt.org/ - an implementation of python running entirely in the browser using Javascript.

+3  A: 

It's Turing complete, so yes. Slow is relative, assembly programs could be called slow because they're abstracted in machine code rather than "hardwired". CPython is currently slower than C on the order of a magnitude, but it typically isn't a problem.

Longpoke