Managed JScript on the DLR from Microsoft is DEAD!! WHY?!??

12. June 2009

I’ve been questioning here and there as to what happened to Managed JScript on the Dynamic Language Runtime. The most recent preview release is really old, and it has since been taken out of any further preview releases of the DLR, where as IronRuby and IronPython continue on.

No More Managed JScript on the DLR?

For some time I never really got any good answers. Well, it’s really sad to hear that apparently Microsoft decided to drop it completely.

According the this link, a member on the DLR team has this to say:

“The DLR JScript was experimental for informing the design of the DLR (expression trees, interop, callsites, hosting, etc.). The JS we released with asp futures and the Silverlight dynamic sdk became very old and unserviceable as the DLR continued evolving for release in CLR 4.0. unfortunately, there are no plans at this time to develop and release a DLR hostable JScript.”

“Experimental for informing the design”??

I understand what this means, but since Managed JScript was used to help build the DLR from the beginning then “Why didn’t they keep it up to date?”

Plus if you go read the Initial Announcement of Managed JScript over on the JScript Blog you will see the following statement:

“We are working to make sure that Managed JScript is a first class language on top of DLR.”

What part of that post and the above statement specify that it’s only “experimental” and not to actually ever get released?

I’m really curious to find out who actually made the decision to drop it, and what the real reason is. Was it you ScottGu?

Why not Open Source it?

Well, the next logical question to ask is “Why not release what was done for Managed JScript as Open Source under a Public License?” At least this way it would allow the community to take it and run with it.

Are there Alternative Implementations?

None that I could find for .NET and/or the DLR. If you know of any, please let me know!

I did however find the Rhino project from Mozilla, but it’s for Java. According to Mozilla, “Rhino is an open-source implementation of JavaScript written entirely in Java. It is typically embedded into Java applications to provide scripting to end users.”  I guess this could be a start at building one for .NET/DLR, but…

Update: I did find the MyJScript project on CodePlex; it’s not a complete implemenation, but it does show the basics on how to create your own scripting language on the DLR. There is also an companion article to the MyJScript project: http://www.dotnetguru.org/us/dlrus/DLR2.htm

Further Info

Here’s a few links that have some small bits of info in addition to that linked above:

http://dlr.codeplex.com/Thread/View.aspx?ThreadId=58121

http://dlr.codeplex.com/Thread/View.aspx?ThreadId=41990

http://channel9.msdn.com/posts/Charles/Jimmy-Schementi-Inside-IronRuby/?CommentID=472955

http://channel9.msdn.com/shows/Going+Deep/John-Lam-and-Martin-Maly-Deep-DLR/?CommentID=472957

http://blogs.msdn.com/jscript/archive/2007/05/04/managed-jscript-announced.aspx

Conclusion

I’ve very disappointed to hear this sad news. However, I guess I could always work on building my own Managed JScript compiler/library for the DLR; if I could only find the time in between my other open source work and other paying gigs.

Until then, I guess I can only hope that Microsoft (or would it be ScottGu) decides to reconsider.

JavaScript, General , ,

Comments

6/20/2009 8:48:33 AM #
I recently wrote about the same thing here: http://www.peternewhook.com/ It's good to see that other people are annoyed with Microsoft's flippant view of Managed JScript. Quite simply, there are more developers that know JavaScript than there are that know Python and Ruby combined. MS had the opportunity to allow a universal language (albeit with some bothersome proprietary implementations) onto the DLR but no, they gave up. And instead of open sourcing their work, they've decided to scrap the code. How annoying.

I'm glad you found Rhino. I know it's not .Net but it's a great option for JavaScript on the desktop or server.
6/26/2009 4:47:08 AM #
I just posted about this on my blog a couple weeks ago myself... frugalcoder.us/.../managed-jscript-rant.aspx

Setting up a project at codeplex now, will have to peak at a  lot of the code for IronPython and will probably look at MyJScript and even Rhino (for the parsing logic).  Want to get a bit of the 1.6-1.8 stuff into a 1.0 release.  Figure if I spend my free time for the next several months I should have something usefull.  The  last two projects I had started were for a former employer's needs... This is to scratch my own itch.

I've been waiting nearly 2 years for  managed JS, and even tweaked around with it a bit last year, to see it cut is nuts and really ticks me off to no end..
Dody Gunawinata
Dody Gunawinata
6/27/2009 11:23:13 AM #
There is a promising ecmascript implementation based on DLR on code.remobjects.com. It's by the Delphi Prism guy. Solid stuff.