3 ms·
Don't forget C# from Unity under games. The take away here is that since client side web programming can only be javascript, it pigeonholes a large chunk of de
by zanny 14y ago
Don't forget C# from Unity under games.
The take away here is that since client side web programming can only be javascript, it pigeonholes a large chunk of development effort into a forced language. I can't wait for the day web browsers can leverage multiple DOM aware scripting languages. The fact the JS JIT is already tightly coupled with an html / css parser is already bad enough.
- toyg 14y agoFat chance. It's already hellish to properly secure one JIT, a multiple-JIT browser would quickly look like Swiss cheese. Face it: unless something miraculous happens (like Microsoft, Mozilla, Google and Opera all agreeing on a brand new language), javascript will likely remain the only choice for "in-browser" UI development. Unless the browser gets replaced wholesale, we're screwed like that.
- Daniel_Newby 14y agoWe ought to move from browser languages to browser bytecode VMs. Everybody gets to use their favorite language and we have a single target to secure.
- rdtsc 14y agoOnce Chrome gains enough users, they can choose to include Dartium (their Dart VM) in Chrome and choose to support that. As a language Dart is not exciting. It doesn't tout fancy monads or functional data structures and so on, but it looks basic, simple and average. Kind of like what Java would be if it was made for the web. So there is at least on contender out there to replace JS. Mozilla is working on Rust. A very exciting language that actually has many fancy features, some borrowed from Erlang. Not sure if that will ever make into an in-browser language, but who knows.
- sfkleach 14y agoAlthough I agree in spirit, I took a different design route in Ginger which supports multiple syntaxes and front-ends. By designing a generic syntax tree and defining its mapping into (a tight subset of) XML, I got away from the details of the back-end virtual machine. In fact Ginger has three very different back-ends, ported easily to another system (Poplog), and would be a days work to get it running in Java (badly - maybe a couple of weeks work to get it running well!)