4 ms·
As much as i can't disagree with the choice (the realpolitik of programming has made it the most correct choice), i am saddened that the language on which the c
by Mithaldu 12y ago
As much as i can't disagree with the choice (the realpolitik of programming has made it the most correct choice), i am saddened that the language on which the choice falls is one not chosen based on any merit, but merely due the historical accident of being the first to be implemented in a browser and having had no appreciable opposition due to browsers at the time being in hands of corporations.
In "A Deepness on the Sky", Vernor Vinge describes a future in which there is the reality of a profession called "Programmer-at-Arms", necessitated due to thousands of years of layers of indirection and cruft that will combine to make the software of that time, making it a requirement for even simple changes in a weapon system to be done by someone who can dig through all of those layers. It seems that his prediction is closer and closer to becoming reality.
- gobengo 12y agoI thought Java was the first to be implemented by the browser?
- Mithaldu 12y agoMaybe as a plugin, but from what i can tell Javascript was the first to be supported natively: http://www.javascripter.net/faq/javascr3.htm http://www.javascripter.net/faq/javascr3.htm
- olavk 12y agoJava was introduced in Netscape Navigator 2 at the same time as JavaScript. But Java was really not integrated with the html at all. It lived in its own isolated box on the page. JavaScript was integrated with html and with the browser environment.
- GFK_of_xmaspast 12y agohttp://en.wikipedia.org/wiki/HotJava http://en.wikipedia.org/wiki/HotJava ?
- lmm 12y agoI think the TCL plugin predates the Java one.
- na85 12y ago>...i am saddened that the language on which the choice falls is one not chosen based on any merit, but merely due the historical accident of being the first... Couldn't agree more. Javascript is one of those things that I wish would just go the hell away and be replaced by something that isn't awful.
- tormeh 12y agoWhat we need is some kind of jvm-like VM binary standard that several languages can compile to. Right now that's simply JavaScript, though, but it's not very good for this purpose.
- gcommer 12y agoIn case anyone hasn't heard of it, Asm.JS is basically trying to turn JavaScript into a similar standard. Combine that with sourcemaps in browser debugger tools and we're really close. I've been using clojurescript recently, and I can even connect a REPL to the browser and make on-the-fly changes just like we've always been able to do with JavaScript.
- AnthonyMouse 12y agoWhat I really wish someone would build is this: Create a platform-independent machine language which is designed to be translated into arbitrary other machine languages. Then put the equivalent of FX!32[1] in the browser to translate it to whatever architecture the client is running on. And have a compiler that will compile to both that and to asm.js, with asm.js being used (with consequent lower performance) for legacy browsers. The point here is that it isn't a VM at all. It's just an intermediary platform-independent binary code. So it doesn't care what kind of language you're compiling from or what kind of hardware it's running on, but it still doesn't need a huge slow insecure runtime environment. Basically it should do what Java originally tried to do, minus the fatal mistake Java made in tying the bytecode to a specific high level language (and thus all the changes made over the years which have made the JVM big and complicated). [1] http://en.wikipedia.org/wiki/FX!32 http://en.wikipedia.org/wiki/FX!32
- rattray 12y agoLanguage of choice for beginners need not mean only language of choice. If Javascript is great to get started with, great. Once someone has that down, they can still continue on to learn C, Haskell, and other more interesting languages that explore CS fundamentals & theory. Or so I would imagine, anyway?
- michaelbuckbee 12y agoInterestingly, it's already the Sergeant At Arms in most US legislatures who deals with things like IT, certificates, etc.
- jbergens 12y agoIt's not just the browser, people often want to create mobile apps today and there is no standard language that works for all platforms (you can try C# with Xamarin but it is not the native choice of all the platforms). And there is not always good, still developed, standardized UI libraries for every language. Many people starting with programming want to see something on the screen and then you need this. And there is usually some people who wan't to develop serverside web code which should be supported by the same language. If Xamarin was open source or free I think it with C# would be a great way to start programming. For now Javascript works.
- ghuntley 12y agore: if open source Free for open source () => http://resources.xamarin.com/open-source-contributor.html http://resources.xamarin.com/open-source-contributor.html re: if free Free for students () => https://xamarin.com/student https://xamarin.com/student re: if cheaper So $25/month is too much for capability to ship on all three mobile platforms - native development - using a shared codebase written in one of the nicest languages (F#/C#) in existence? If you're a startup w/ at least three people in your team just send them a email to work something your in your favour.