I (mostly) agree:
Starting with Java 6 it’s “in the box” there also. To me, this makes it the likely winner, by a wide margin, for a dynamic language to be used at Java shops or inside Java projects. Being “in the box” is a powerful advantage, one which the many other contenders will have a hard time overcoming.
JavasScript uses curly braces, like the last few Big Languages.
However, there are a few reasons why I only “mostly” agree:
Apparently you’re out of the loop, this was the consensus several months ago.
Another issue I guess, would be the lack of a really good development environment. Firefox + Firebug + Web Developer toolbar is great, but I don’t think it currently competes with polished environments for mainstream languages, such as VC++ or KDevelop for C++, VS.Net for C#/ VB.net/ C++/cli etc.. However, when I started developing an application in Python recently, I found the adhoc text processor + IDLE setup to be beneficial to development, so perhaps this isn’t such an issue (for small projects, anyway).
You can use threading with SpiderMonkey without problems, but the JSAPI-using C stubs also need to be thread-safe, obviously. I don’t think that exporting an API to allow JS scripts to control threading themselves would be impossible, but it’s generally not necessary (the C/C++ application can control threading and run concurrent user scripts).
On top of it, MS has already shown how optional type annotations on JScript can make a language both dynamically and statically typed.
Rhino offers continuations, something Seasiders have enjoyed for years.
Comments are closed.