r/programming • • Aug 30 '15

JavaScript “maze generator” in a tweet

https://twitter.com/botond_balazs/status/637960240055615488
841 Upvotes

177 comments sorted by

View all comments

Show parent comment

11

u/Sean1708 Aug 30 '15

The proper way, in the future, to distribute programs won't be via binary, but via source code

I think you're severely overestimating end users.

4

u/saijanai Aug 30 '15

The proper way, in the future, to distribute programs won't be via binary, but via source code I think you're severely overestimating end users.

It's already done that way in web browsers.

In fact, the JVM may (or may not) be versatile enough to handle a lot of different languages. SqueakJS almost does this, but is written in Javascript. Amber is more efficient it appears, but still compiles to Javascript rather than the JVM directly.

Even so, these can be seen as [sorta] proof-of-concept.

1

u/hlskn Aug 30 '15

Well it presumably won't be implemented on the CLI.

Instead I guess the OS might already have the compiler included, or perhaps a wrapper program is downloaded which then compiles the source code included.