3 ms·
I'm not terribly convinced by these things that compile to javascript. I don't much care for javascript, but I'd rather take the bull by the horns than deal wi
by davidw 13y ago
I'm not terribly convinced by these things that compile to javascript. I don't much care for javascript, but I'd rather take the bull by the horns than deal with a bunch of generated code, especially in any kind of commercial setting where it's going to be a lot easier to hire JS people rather than people who are both X-lang and JS experts.
That said, it's very much a cool hack, and worth doing on that basis alone.
- PuercoPop 13y agoHow is assembly going for you? What is fundamental to the web is the APIs (dom/websockets/webgl/...) not the fact that they are exposed through javascript. Dart seems especially nice considering that they go out of their way to provide (most?) html5 apis in dart and also Angular. In fact the dom is defined in an IDL which can generate the dom API not only in javascript but a lot of other languages (Java/C++/etc)
- davidw 13y agoJavascript isn't really comparable to Assembly though, is it?
- teacup50 13y agoNo, it's really not. This is an argument that tries to emotionally justify the limitations of web browsers that force us to compile down alternative languages into web "assembly".
- camus2 13y agoHe still have point,what matters is the APIs you have access to,not coding in language X or Y,especially when your goal is not to develop "web pages" but web apps that arent "brochures".
- 1qaz2wsx3edc 13y agoTell that to emscripten...
- xxxmadraxxx 13y agoI'm inclined to agree. I'm not one of those Javascript bashers. It's a handy enough language and tweaking/hacking/breaking JS enabled webpages is the way a lot of us amateur coders dip a toe in the water. Unfortunately I think JS is having a lot of responsibility heaped on its slightly creaky shoulders these days, due to the growth in mobile intarwebsing and every man and his dog looking for a quick way to build the app that is going to bring them fame and fortune. As a result of this, we're seeing a lot of these frameworks which compile [arguably!] 'better' fuller-featured languages down into JS. Personally I'd rather a scenario where people could code in <insert language of choice> and embed this in HTML as easily and ubiquitously as JS can be embedded. A bit of a pipe-dream I know, but wouldn't it be great if we could exploit the cross-platform accessibility of web apps, without having to turn everyone into a Javascript hacker?
- sciguy77 13y ago> Personally I'd rather a scenario where people could code in <insert language of choice> and embed this in HTML as easily and ubiquitously as JS can be embedded. That would indeed be amazing. Anyone want to build it? :P