Leave a comment

harryh July 20 2009, 04:40:02 UTC
My reccomendation is that someone make a "translator" which can take some sensible language, and convert it into javascript.

done

Reply

r_transpose_p July 20 2009, 04:50:05 UTC
Why java? That makes no sense at all. Shit, if I just write an applet I can at least "get the draw context as an image and draw pixels to it"

I mean, I know javascripts inconsistencies are bad...

Perhaps there is something I do not yet understand about this package...

Reply

ssaiscps July 20 2009, 05:27:03 UTC
There seems to be a whole mini-industry of compiling to Javascript. SML to Javascript, a list of some more languages

Reply

r_transpose_p July 20 2009, 07:56:53 UTC
Huh, that second blog post seems very insightful...

Reply

ah, I think I understand r_transpose_p July 20 2009, 07:52:11 UTC
Part of the problem with Ruby/Python/Javascript type languages is that they are very difficult to optimize for reasons related to type safety.

Just like one might have trouble optimizing a C program because any random integer might be added to a pointer at any time, in these sorts of languages, any string can be used to access a member or a method of a [class/dictionary/whatever] at any time, so you can't really rename functions willy-nilly.

Aha.

Reply


Leave a comment

Up