Move Over AJAX, Make Room for ARAX
sasserstyl writes "eWeek reports that Microsoft's Silverlight platform will support Ruby client-side scripting, enabling ARAX — or Asynchronous Ruby and XML. Would be cool to have the option to script client-side in something other than Javascript. 'In essence, using ARAX, Ruby developers would not have to go through the machinations of using something like the RJS (Ruby JavaScript) utility, where they write Ruby code and RJS generates JavaScript code to run on the client, Lam said. "Sure, you could do it that way, but then at some point you might have to add some JavaScript code that adds some custom functionality on the client yourself," he said. "So there's always that sense of, 'Now I'm in another world. And wouldn't it be nice if I have this utility class I wrote in Ruby...' Today if I want to use it in the browser I have to port it to JavaScript. Now I can just run it in the browser."'"
Does yours?
Huh. I guess javascript was too fast, to secure, and too well understood for Microsoft's new toy. Or maybe Active X's massive exploitable bugs have been brought under control?
.Net and then they decide they're going to hitch their new flashy webthingy to Ruby...
I'm seriously having trouble seeing a use for this. If I can't do it in Javascript, why wouldn't I do it in Java or C#? Instead of throwing another interpreted language on the browser, I'd much rather load an applet created with a static/strongly typed language. Sure, there are all kinds of security issues, but at least they're existing, understood issues. With weakly typed Ruby, you have injection issues coupled with the features that javascript rightly cut out for security reasons.
Obviously it's a big deal for Ruby, but I can't help but think that it's a boneheaded move for Microsoft. They've spent all this time pushing
ad logicam Claiming a proposition is false because it was presented as the conclusion of a fallacious argument.
Silverlight is going to allow .NET code, not just Ruby. Do we really need this? Do we really need to introduce multiple client-side languages like this? We're just creating more avenues to exploit clients. Adobe has had years to get Flash right and we're still finding exploits that can be used to install malware in the background.
Couple that with injection attacks being discovered on popular web sites and the growing use of Deep Packet Inspection and, honestly, we might as well just allow everyone in the world root access to all of our machines.
This is not a step forwards, it's a major step backwards. We can't be blinded by the prospect of client-side Ruby. We have to look past that and see that there are some very real security risks involved. It's less a cause for celebration and more a cause for caution towards installing Silverlight (or Flash, or any other type of embedded object that allows for client scripting).
Are you a troll (perhaps even a shill) or just a schmuck? There's nothing seriously wrong with Javascript as a language, only with specific implementations, some of which are actually quite good these days.
I'm guessing you are just a troll, but I don't want anyone to think you're right or anything and I have a little time on my hands :P
"You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
Why?
Why is this good to run Silverlight?
Running silverlight on anything non-windows is like shoving legal issues up someone's ass and waiting for them to cough out the settlement.
Ruby on rails also seemed to work just fine without siverlight...and as comments show, more languages in the mix is not a good thing.
So yes, people are trashing MS because there is something wrong with this. If MS did anything right, we wouldnt' trash MS, we'd praise them. In this case, as usual, they haven't done anything right. I'd be glad to praise MS if they actually did something that wasn't underhanded, but when was the last time you can recall them doing that?
Microsoft did something not cool and not useful
...
... and Silverlight was allegedly cross-platform ... this cuts it down to .... windows only again ...
Not cool as in hijack something cool and do something that ties it to their latest thing...
Not useful as in only works in the next version of their system, if you have their modified version of Ruby and IIS and use Internet Explorer
So this is another way to break all the other systems
Puteulanus fenestra mortis
Port a language with better scalability
Ah, yes. Scalability in a client-side scripting environment. For the times when a browser has to be able to handle requests from thousands of users at once!
Tweet, tweet.
I just don't trust anything that bleeds for five days and doesn't die.
Security has nothing to do with strong/weak typing. Strong typing is simply the first stage of testing code and validating input.
http://mindview.net/WebLog/log-0025
Microsoft has built alot of great tools and products but I fail to see how hitching their failing Silverlight product to an overly hyped language whose golden days are now over is such a great idea. Al the CEO's and developers who jumped on the Ruby bandwagon are quickly abandoning it and Silverlight has gailed to even make a dent in Flash's market share. How are either of these going to help each other? Why would the consumer want to be forced to download both of these things?
This is my sig. There are many like it but this one is mine.
Probably shouldn't feed the troll, but ...
His argument was against your assertion that 'everybody thinks javascript just doesn't cut it for current web apps'.
This plainly isn't true as lots of people are actually very impressed by the javascript language, and just a bit frustrated that IE6 / IE7 / IE on Safari work so differently to everything else. For internal work I just ignore IE, and target Firefox only.
Even Joel has praise for javascript - take a look at his 'Can Your Programming Language Do This?' article at
http://www.joelonsoftware.com/items/2006/08/01.html
A better option than Javascript would be great, but Ruby hardly looks like the best option. A much better use of time for Microsoft would be making their Javscript engine for IE more standards compliant.
What's so insecure about the MSIL(by which I presume you mean .NET) compared to any other environment(Java, Rails, PHP, etc)? I am really curious to know. I know this is Slashdot but please try not to reply with 'Everyone knows it is'.
This space for rent.
Though Java-centric in nature, the JVM provides a secure sandboxed environment to host numerous languages including Ruby, Python, Lisp and even JavaScript. Throw in Groovy and Scala for home-grown alternatives.
Thanks to the efforts of IcedTea (principally funded by RedHat) and others, Java 6 will be fully GPL by the end of the year.
Another non-standard scripting implementation that only works with one particular browser. Didn't anyone learn from vbscript?
#DeleteChrome