Slashdot Mirror


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."'"

81 of 409 comments (clear)

  1. Um, my browser doesn't support Ruby by Anonymous Coward · · Score: 5, Insightful

    Does yours?

    1. Re:Um, my browser doesn't support Ruby by Reverend528 · · Score: 4, Funny

      Last week they embraced ruby. Now they are extending it. I can't wait to see what they'll do next!

    2. Re:Um, my browser doesn't support Ruby by stoolpigeon · · Score: 5, Insightful

      Not only that - my platform doesn't support silverlight.

      --
      It's hard to believe that's how Micronians are made. Why don't we see it right now by having you both kiss one another?
    3. Re:Um, my browser doesn't support Ruby by bsDaemon · · Score: 5, Interesting

      If they extinguished it, who would notice? Seriously -- I'm not trying to troll. WTF is Ruby and what is so great about it? It just seems like Java for people who hate Java from what little research I've done on it, but it also seems to be very popular (of course, hating Java is popular, too).

      Can someone please tell me?

    4. Re:Um, my browser doesn't support Ruby by SatanicPuppy · · Score: 4, Funny

      I'm not seeing a problem.

      --
      ad logicam Claiming a proposition is false because it was presented as the conclusion of a fallacious argument.
    5. Re:Um, my browser doesn't support Ruby by hansamurai · · Score: 5, Informative

      It's a scripting language that was under the radar until Ruby on Rails came around. Rails is a well done framework for Ruby that opened up the language to the masses.

      And because you brought up Java too, there's also JRuby, a Java implementation of Ruby.

    6. Re:Um, my browser doesn't support Ruby by SatanicPuppy · · Score: 2, Interesting

      It's like java, but not as fast, secure, or scalable.

      It's syntax is "intuitive" which would mean good things if you were someone off the street, but for the rest of us who've spent decades working with languages that are basically C syntax, it's a p.i.t.a, and the syntax doesn't really add anything.

      Rails is a cool new idea, but the implementation is horrorshow; Django got a later start and is already ahead in performance.

      --
      ad logicam Claiming a proposition is false because it was presented as the conclusion of a fallacious argument.
    7. Re:Um, my browser doesn't support Ruby by catmistake · · Score: 4, Insightful

      Agreed.
      Ajax (Asynchronous Javascript and XMLhttpRequest) was given a name because it was a growing trend; many decided to use it independently, and naming it something made sense. ARAX, or whatever, is just an idea a few people have. I see no trend.

    8. Re:Um, my browser doesn't support Ruby by happyemoticon · · Score: 5, Insightful

      It's more similar to Python in my mind. It's a post-Perl interpreted language that attempts to have better object-orientation while not being overly restrictive. It inherits a lot more from Perl than Python does, so you can accomplish most tasks in a variety of ways. Neither is anywhere near as rigid as Java - you don't have to catch or throw every exception, you don't have to make ten subclasses and an interface to write Hello World, etc.

      I get into these kinds of discussions with my boss all the time. He looks at Java as the ultimate golden hammer, and I tend to use a variety of languages. There are a bunch of little syntactic things I love about Ruby, but in the end it's mostly a question of style, politics and library support.

    9. Re:Um, my browser doesn't support Ruby by nuttycom · · Score: 5, Interesting

      Its syntax isn't like C? Cry me a river. Sure, the syntax could have been made more c-like (braces instead of do/end - and you can use braces if you like anyway) but the syntax isn't where you get the benefit of ruby.

      The most important thing that Ruby has done, in my mind, is to make blocks, closures, and runtime metaprogramming mainstream. So while the syntax may not add much, the language features add a hell of a lot. After writing code in C and Java for a number of years, switching over to Ruby took me all of a week.

      That being said, the supposed productivity gains are mostly hype, because you end up spending the time you gained in writing the code to begin with having to write a lot more integration tests to ensure correctness for things that the compiler deals with in a typesafe language.

      Rails has been pretty important insofar as it's given a kick in the ass to a bunch of other languages. I agree though that the implementation is a bit of a nightmare, and the lack of built-in dependency injection is a hassle.

    10. Re:Um, my browser doesn't support Ruby by an.echte.trilingue · · Score: 5, Insightful

      Microsoft knows that web applications will soon threaten their client-side sales model. They also know that places like Google have enough of a head start in the AJAX world that they will never catch up (tried google apps lately? It is really getting there, especially if you do a lot of collaborative work). This is why IE's javascript standards compliancy still sucks balls even though its CSS support isn't bad: they want to make life hard for people trying to develop in AJAX.

      Now they are trying to develop proprietary technologies to compete: Silverlight and this new ARAX bull will replace Flash and AJAX. They will release some shit-hot developer tools that make it really easy to build shiny websites on the Silverlight/ARAX stack so that before long half the web is written in it. Then, ARAX and Silverlight will get proprietary extensions (new functionality! woot!) and break on non-IE browsers (got to assure that OS monopoly). They will also add some undocumented APIs so that the (subscription-based) Microsoft Apps runs faster than anything anybody else comes ups with, and boom!

      Profit.

      --
      weirdest thing I ever saw: scientology advertising on slashdot.
    11. Re:Um, my browser doesn't support Ruby by ShieldW0lf · · Score: 2, Interesting

      Rails isn't cool. It's a poor concept from the word go. They make the thing so damned weighty in their blind adherence to the flawed premise that just because MVC is a good model for desktop applications, it's a good model for everything, and that single premise is an insurmountable barrier to good performance.

      Fact of the matter is, MVC is a piss poor model for stateless client-server applications, but it's not till you've wasted your time building a solution in this fashion and watching it fail to scale that you realize that.

      --
      -1 Uncomfortable Truth
    12. Re:Um, my browser doesn't support Ruby by moderatorrater · · Score: 2, Funny

      but in the end it's mostly a question of style, politics and library support. Yeah, I see Obama as a Ruby man myself, whereas McCain is a C or C++ man. Ruby's cool, trendy, and somewhat revolutionary, but it's unproven and may have problems scaling beyond small to medium sized bases. The ideas all seem to be right, but nobody knows if they'll work in the real world.

      C and C++, on the other hand, have been around forever, they're old and stodgy, yet you know where they stand and how things are going to work out. You're not going to get anything revolutionary out of them, and you're not going to be able to get a story on Slashdot and other news sites about this awesome new thing that you couldn't do the same way in another language.
    13. Re:Um, my browser doesn't support Ruby by sm62704 · · Score: 2, Interesting

      Rails is a well done framework for Ruby that opened up the language to the masses.

      Am I the only one who sees something bad about that?

      Does a plumber do electrical work? No? Then why does anyone but a programmer do programming in a professional environment?

      It must be this nasty cold I've contracted, I can't seem to understand anything today.

      --
      mcgrew's razor: Never attribute to stupidity that which can be explained by greedy self-interest
    14. Re:Um, my browser doesn't support Ruby by Jugalator · · Score: 3, Informative

      Does yours? Who cares about that. It runs in Silverlight. It's whether your browser supports the Silverlight plugin that matters. IE does, Firefox on Windows (2, not yet 3) does, Opera does inofficially (to be official in the future), Safari on OS X does. Firefox on Linux is WIP and a Mono project.
      --
      Beware: In C++, your friends can see your privates!
    15. Re:Um, my browser doesn't support Ruby by mythras · · Score: 3, Funny

      Does this mean my new ARAX sites will be as reliable as Twitter? If so, I'm gonna need to extend the minutes on my on-call cellphone plan.

    16. Re:Um, my browser doesn't support Ruby by Reverend528 · · Score: 4, Funny

      Every language is for people who hate perl. Everyone hates perl. Especially perl developers.

    17. Re:Um, my browser doesn't support Ruby by srussell · · Score: 2, Informative

      It's like java, but not as fast, secure, or scalable.

      It's like Java, only without hacks like "primitives". Unlike Java, it is a pure OO language, where everything is an object, and it provides a few significant OO features that are missing from Java, such as mix-ins and closures.

      --- SER

    18. Re:Um, my browser doesn't support Ruby by encoderer · · Score: 4, Interesting

      Ok, I'll bite. What makes MVC a "piss poor model" for web applications?

      The only thing you mentioned was scalability.

      Personally, I find the MVC pattern applies to web apps wonderfully. Being able to "plug and play" views is far more helpful in the web universe than it is in rich client programming.

      I can create a default view, lately that's been a standard XHTML interface with Ajax, usually leveraging the ext.js library.

      And I also create a simplified HTML-only view for graceful degredation on clients that are not using JavaScript.

      And a view for mobile interfaces.

      On "data grid pages" I can plug-in a view that outputs the data in XML or Excel format.

      For reporting I can create a view for an on-screen HTML based report, or I can plug in a view that displays it as a PDF or, again, XML or Excel.

      Meanwhile, I only create the data models and controllers once.

      This is FAR easier and faster to create and maintain.

      And in todays world, unless you're a top-1% web destination it's a FAR wiser move to optimize for development time and cost than it is to optimize for the machine.

      Adding a server is much cheaper than adding a developer.

      Believe it or not, I'm not a fan of Rails. I'm especially not a fan of ActiveRecord. In ruby, DataMapper is a much better Db layer than is ActiveRecord.

      But to denounce Rails because it's MVC? I'd love to hear why you feel that way.

    19. Re:Um, my browser doesn't support Ruby by gertam · · Score: 2, Funny

      Nah, McCain is a Fortran 4 man.

    20. Re:Um, my browser doesn't support Ruby by Kingrames · · Score: 2, Funny

      President Bush has already announced plans to liberate it.

      --
      If you can read this, I forgot to post anonymously.
    21. Re:Um, my browser doesn't support Ruby by DragonWriter · · Score: 2, Informative

      It just seems like Java for people who hate Java from what little research I've done on it


      Its nothing like Java.

      Now, if you said it sounds like "Python for people who hate Python", that would be more reasonable. Or, say, "Perl for people who can't read Perl". But those, though better than "Java for people who hate Java", still miss the point.

      Its a dynamic scripting language whose strongest initial influences were, IIRC, Smalltalk and Perl; it was more OO from the start than Python, though I think that's less of a gap now. It seems to have stronger influences from functional programming than Python, and its design follows more of Perl's "There's more than one way to do it" philosophy than Python's more "There's one way to do it" approach. It has good support for metaprogramming and internal DSLs. Its frequently criticized for the fact that the main current (1.8.x) implementation is slow, even among dynamic scripting languages, though faster implementations (the new, but less stable, 1.9 implementation, and the alternative, Java-based, 1.8-compatible JRuby implementations) exist.

    22. Re:Um, my browser doesn't support Ruby by morgan_greywolf · · Score: 3, Funny

      It's like java, but not as fast, secure, or scalable.
      No. Ruby is what would happen if you put Java, Python, Perl and Common Lisp in a blender.

    23. Re:Um, my browser doesn't support Ruby by stoolpigeon · · Score: 2, Interesting

      They say Silverlight works with Firefox on Linux- I say that is an overstatement. I went to a technet event where they tried to demo silverlight with firefox on windows and it wouldn't work.
       
      Silverlight on linux, is in my opinion, broken.

      --
      It's hard to believe that's how Micronians are made. Why don't we see it right now by having you both kiss one another?
    24. Re:Um, my browser doesn't support Ruby by gbjbaanb · · Score: 2, Informative

      I thought the web was a MVC model. The browser is your View and the server side is your controller (and you have model data from somewhere, DB or static files or whatever).

      I think he's referring to interactivity, ie in a thick client MVC system, you can interact with the GUI and changes are seen immediately, but the problem here isn't one of MVC being poor, its the relatively slow network that's the problem.

      I suppose you could download a lot of data to the view and only show part of it as the user selects things, but that involves moving the controller to the client. I guess some people would think that's breaking the paradigm, but that's how a MFC app works - data tends to be all in the client.

      So.. maybe he sees Rails as poor because it is always making roundtrips to the server.

      Either way, who cares. The decoupling of presentation from logic is one of the best paradigms you can use for any application.

    25. Re:Um, my browser doesn't support Ruby by an.echte.trilingue · · Score: 3, Interesting

      NEVER You almost had a good argument until you used a superlative. Google Apps for domains is clearly superior to Outlook/Exchange* for small businesses, for example. SugarCRM and other web-based application customer management systems such as pyrameed are at at least as good as solutions such as SAP for up to medium sized businesses. Web based apps offer:
      • easier administration for both systems as a whole and the client machines
      • world wide access
      • real-time collaboration
      Our business runs entirely on web-based applications except for MS word, and like I said, google docs is getting there. The net is only getting faster and I can't image a single advantage of client-side software for business administration. Applications like photoshop and autocad will probably remain local for years to come, but that is a pretty small niche in the overall scheme of things.

      *: somebody always counters this with "but you don't control the server!!!1!" Look, no small business has its own mail server. Google's is just as secure as Joe Blows ISP.
      --
      weirdest thing I ever saw: scientology advertising on slashdot.
    26. Re:Um, my browser doesn't support Ruby by Trails · · Score: 2, Insightful

      The masses = programmers building business software.

      The masses tend to use established languages with established frameworks, because their bosses say so.

      Their bosses say so because they(the bosses) don't want to pay for re-inventing and then maintain the proverbial wheel.

      Hence, no matter how hotshit/elegant/orgasm-inducing/LISP-ish/un-PERL-ish/whatever a language is, if doesn't have a viable persistence model and/or mvc, etc... corporate folk won't use it.

    27. Re:Um, my browser doesn't support Ruby by ShieldW0lf · · Score: 3, Informative
      --
      -1 Uncomfortable Truth
    28. Re:Um, my browser doesn't support Ruby by PietjeJantje · · Score: 2, Insightful

      Ok, I'll bite. What makes MVC a "piss poor model" for web applications? Because the web, like he said, is stateless. A request comes in, the server compiles and constructs this whole MVC structure from the scripting language, with 1 page object, 1 database object, etc. etc., generates 1 page, and then.. well then it throws everything away. Well, joy. Compare this to desktop apps where stuff is in memory and real processes take place between objects. So for the web, it degenerates both object oriented programming and MVC into mere ways to organize your code, more likely than not in a much too complex and time-consuming way.
    29. Re:Um, my browser doesn't support Ruby by jeremy_fsu · · Score: 2, Insightful
      I've been using C since 1991 and I love Ruby. Does Ruby replace C? Absolutely not. Is Ruby syntax like C? No again. Why do I like Ruby? Simple, it's very easy to write, and you can do alot with only a little code. Think of it as a domain specific language. Here's how I organize my toolbox (skillset):

      Ruby: When I need a quick script on Linux and need MySQL or RegEx or simple File I/O and don't want a hassle, performance doesn't matter, or I'm playing with Rails

      C: Performance matters, but it' not complex enough for an OO lang.

      C++: Performance matters, and it's complex enough to warrant an OO lang.

      C#: My client insists on using MS products

      Javascript: I need to do something client side like AJAX or manipulating the DOM.

      These Ruby vs C or (insert favorite lang here) are silly and a waste of time. When you take time to learn multiple languages both interpreted and compiled, you learn that each one has it's place.

      Now Ruby vs Perl vs Python debates make a little sense because they are all interpreted. So my two cents on that debate is: Ruby is very readable and looks pretty when I write it. Not so for Python and Perl. So it's a personal preference really.

      So ARAX? Sounds like a decent application of Ruby to me. But Javascript is already widely deployed so you won't see me messing with it until the majority out there have it in their browsers.

      --
      "I fly, I sail, I throw caution to the wind" -Jimmy Buffet
    30. Re:Um, my browser doesn't support Ruby by encoderer · · Score: 4, Informative

      "So for the web, it degenerates both object oriented programming and MVC into mere ways to organize your code"

      That's nonsense.

      If for no other reason than the fact that displaying a page often involves some real work. Some real heavy-lifting. Often far more than just a couple database queries being fed into a grid or report.

      OOP brings order, structure, reuse and quality control to large, complex systems (and website/webapps can certainly be very large and very complex) That's true no matter what context it's being used in, web, rich client, whatever.

      Yes, there is overhead involved in creating objects. But even in your worst-case scenario where there is no shared state, the overhead is hardly a deal breaker: It's far better to optimize for the developer than it is to optimize for the machine. Unless you're working on a website in the 99th percentile of traffic, you probably don't have a lot to worry about.

      Further, your scenario IS worst-case.

      For example, we have an in-house framework. It's not all that different than the ones you've seen. Take, for example, a simple web form:

      You instantiate the data model (need to pre-populate the form), you instantiate a webform object, which is view-tier and is just a widget that binds to a data model and presents an HTML form.

      When that form is rendered in HTML, the webform object and the data model it binds to are serialized and stored in the session.

      When the user submits the form the front-controller will look at the formkey submitted with the form and unserialize the form and model objects. It pulls the values from the HTTP Post into the data model and they're validated and saved.

      This is nothing revolutionary. It's not even complicated. And it's just one of a dozen ways to overcome the no-shared-state problem.

      The idea that OOD is "degenerated" in a web environment is ludicrous. Procedural development is a thing of the past. The idea of 1 page : 1 script that runs from line 1 to line n is just not adequate for MOST modern web apps.

      Todays systems are not your mothers web applications. We're doing far too much on the web. Applications the size of the web applications that are written today would collapse under their own weight if done procedurally.

    31. Re:Um, my browser doesn't support Ruby by nuzak · · Score: 4, Insightful

      MVC in web apps has about as much to do with Smalltalk's old MVC as unix signals have to do with the physical control lines they used to correspond to (gimme a break I couldn't find a car analogy). MVC is nothing more than three-tier, with the middle tier itself adding some extra separation between processing requests (controller) and generating output (view).

      HTTP is stateless. So is UDP. Does that make every online game that uses it stateless? The web is not a protocol.

      --
      Done with slashdot, done with nerds, getting a life.
    32. Re:Um, my browser doesn't support Ruby by an.echte.trilingue · · Score: 3, Insightful

      First, IE 7's javascript engine is vastly fixed over what they offered before. I am afraid I am going to have to call shill on this one. I am sure that you remember that acid3 tests ECMAScript compliance.
      • Trident (ie7): 13
      • Trident (ie6): 6
      • Gecko: 75
      Opera and Safari are of course, disqualified as they hacked together 100 scores.

      I tinker with JS a bit, and things like attaching event listeners, getting first children, getting attributes, getting values, getting the URL, basically everything DOM related has to be treated differently in IE.

      Worse, XMLHttpRequest, the very core of AJAX, is broken in IE7, but not IE6.

      I am sorry, but you are wrong on that count. I guess if you call horrible to slightly less horrible an improvement, this is a good thing.

      Visual Studio 2008 works extremely well for creating AJAX enabled content that works cross-browser, without rolling all your own client code. Oh, it becomes clear. Microsoft wants to make it impossible to implement your own JS solution so that you have to buy into their development tools to build a site that works. What a surprise.

      Third, Silverlight is not an IE/Windows only platform. It is, however, a Windows only platform. Moonlight is still vaporware, last I heard.

      And if you really think they're going to try that bait and switch tactic again, you're nuts. MS is not that stupid. They actually want Silverlight to be valid and compete with Flash. What makes you say that?

      But why am I arguing? I should be asking for examples of where MS is doing as you suggest they will. I cannot give examples of events that have yet to transpire. The company's history is well known.
      --
      weirdest thing I ever saw: scientology advertising on slashdot.
    33. Re:Um, my browser doesn't support Ruby by DragonWriter · · Score: 2, Insightful

      Stunning insight. A language "for people who hate Java" is nothing like Java? Wow.


      GP did not characterize it as merely a language "for people who hate Java", but as "Java for people who hate Java". Which might be a fair description of, say, C#, which is similar in role in many big-picture ways to Java, but addresses numerous points which make people who hate Java do so. It is not a useful description of Ruby, which is nothing like Java except insofar as both are Turing-complete programming languages.

    34. Re:Um, my browser doesn't support Ruby by profplump · · Score: 2, Insightful

      Actually a lot of plumbers do electrical work. And HVAC work. Haven't you ever seen a van for "AAA Heating, Plumbing and Electrical"?

    35. Re:Um, my browser doesn't support Ruby by jhoger · · Score: 2, Informative

      Somehow I recall closures, blocks, metaprogramming commonly used and usable in Perl before I ever heard of Ruby.

      I'm sticking with Perl and CPAN, thanks.

  2. Look at ol' MS by flanksteak · · Score: 3, Interesting

    Doing a little something for developer mindshare. But then this is really just a way to push .NET.

    Questions:

    1. Anybody see Firefox adding support for other scripting languages as a result of this?
    2. Does this bode well for things like Moonlight and Mono?
    1. Re:Look at ol' MS by Bryansix · · Score: 3, Informative

      But AJAX works great in .NET already and it does everything you want it to do and you don't need to know javascript to make it work. All you need to do is set the right attributes in the controls you call and presto you have AJAX. The server takes care of generating all the javascript for it to work. Why they would move to this is totally beyond me besides malicious intentions.

    2. Re:Look at ol' MS by flanksteak · · Score: 2, Interesting

      What's malicious about it? They're not going to be able to kill Ruby by adding it to Silverlight.

      I have no doubt that AJAX works just fine in .NET, but nothing gets developers more excited than a surplus of options. Even if the options don't add anything other than choice.

      It will be interesting to see how much traction IronPython and IronRuby are able to get with non-MS devs. I have no experience with Ruby and only a little with .Net and Python, but I keep hearing about these integrations in places I least expect.

    3. Re:Look at ol' MS by orasio · · Score: 2, Interesting

      But AJAX works great in .NET already and it does everything you want it to do and you don't need to know javascript to make it work. I code .NET for a living, and that is just not true.

      Ajaxcontroltoolkit is nice, but far from complete.
      Lots of things I have to do with JScript/JavaScript
      There are other frameworks that help with Ajax, but at the end of the day, you need to work with JS.
  3. Not only... by ncannasse · · Score: 3, Informative

    There's already Java (with GWT) and haXe

  4. Re:Somebody update NoScript. by moderatorrater · · Score: 3, Insightful

    Not only that, but they're not adding a language that's significantly different. They're not adding Java (which Google might appreciate) or C/C++, they're adding Ruby, which is a language very similar to javascript (certainly more similar than JS or Ruby are to Java and their ilk). Port a language with better scalability and modularity, not more of the same.

  5. Re:Move over ARAX by ShieldW0lf · · Score: 4, Funny

    Hey Balmer!

    I've put together a language and framework.

    I call them Diamond and Diamond-On-Wings.

    They're not very good... rather cumbersome and don't scale very well, but they give you something flashy with only 3 lines of code, and I've got a ton of amateur developers who haven't learned well enough not to use it yet on board.

    Can I have a blowjob too?

    Come on... Developers, Developers, Developers!!! and all that jazz...

    On your knees, fat man!

    --
    -1 Uncomfortable Truth
  6. Do we really need this? by _bug_ · · Score: 2, Insightful

    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).

    1. Re:Do we really need this? by urcreepyneighbor · · Score: 4, Funny

      Silverlight is going to allow .NET code, not just Ruby. Sweet jesus. It's ActiveX 2.
      --
      "The fight for freedom has only just begun." - Geert Wilders
    2. Re:Do we really need this? by Jesus_666 · · Score: 2, Insightful

      Even worse, it's VBScript 2.

      --
      USE HOT GRITS WITH STATUE OF NATALIE PORTMAN (NAKED AND PETRIFIED)
  7. Re:Somebody update NoScript. by hostyle · · Score: 2, Interesting

    Note that Ruby scripting is being integrated into Silverlight - which is similar to Flash - not Internet Explorer. While it offers more than Flash does (you can write full applications ala XUL with Silverlight) it also does similar embedded rich apps ala Flash, but its not a browser (yet).

    --
    Caesar si viveret, ad remum dareris.
  8. Re:Somebody update NoScript. by Simon+(S2) · · Score: 5, Interesting

    Weak security because of dynamic typing? You really have to elaborate on this, because like this it just makes no sense. How is a strong typed languare more secure than a dynamic typed one?

    --
    I just don't trust anything that bleeds for five days and doesn't die.
  9. look more closely at TFA... by Fallen+Andy · · Score: 4, Informative
    It's IronRuby in other words Ruby compiled to MSIL. So in principle it should inherit all the (in)security of that environment (winks).

    Really this isn't a suprise as SilverLight was supposed to be the first outing of the Dynamic CLR (support for IronPython, IronRuby etc.). MS has been quite enthusiastic about dynamic languages ever since Jim Hugenin (former JPython author) started working for them.

    Andy

    1. Re:look more closely at TFA... by recoiledsnake · · Score: 4, Insightful

      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.
  10. Re:Somebody update NoScript. by x_MeRLiN_x · · Score: 2, Insightful

    Why exactly would they be adding (managed) C++ support when they have already done so?

    I can see 75% of Slashdot talking out of their ass on this one.

  11. Re:This time by drinkypoo · · Score: 5, Insightful

    Everybody thinks that javascript just doesn't cut it for current Web Apps, and it was never meant to work like we make it work today.

    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.'"
  12. Re:This time by poetmatt · · Score: 3, Insightful

    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?

  13. Hmmm... by Mr+Z · · Score: 4, Funny

    Maybe we need an infrastructure for this. An infrastructure that would be common among multiple languages. And then you could run any language that can target this common language infrastructure. And if you manage it properly it could be secure....

    See, that's sharp isn't it? Of course, it might seem like I'm parroting a bunch of buzzwords in this monologue, but I really have a message... I'm not just making small talk. I think that's enough pearls of wisdom in one post.

    --Joe
  14. Re:This time by JasterBobaMereel · · Score: 2, Insightful

    Microsoft did something not cool and not useful

    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 ... and Silverlight was allegedly cross-platform ... this cuts it down to .... windows only again ...

    --
    Puteulanus fenestra mortis
  15. Re:Somebody update NoScript. by bob.appleyard · · Score: 5, Informative

    Strong and weak are often confused with dynamic and static. They're orthogonal concepts.

    An example of a weakly statically typed language would be C. You have to declare the all the types, so you know what type you're dealing with compile time, but a boolean can be treated like an integer or a pointer. An example of a strongly dynamically typed language would be Lisp. You don't have type declarations (well in Common Lisp they're optional), and you don't know the type of a variable at compile time, but a list cannot be treated like a number.

    You do get dynamically weakly typed languages, like PHP. You also get statically strongly typed languages, like Haskell. Assuming that strong and static are the same thing, or that weak and dynamic is the same thing, is a big mistake.

    --
    How dare you be so modest!! You conceited bastard!!
  16. Re:Somebody update NoScript. by Lobster+Quadrille · · Score: 4, Interesting

    http://www.google.com/search?q=%22Type+conversion+error%22+attack

    Dynamic type conversions are a pretty common way to exploit SQL injection holes and circumvent input validation.

    --
    "The cup is in turn designed for holding hot or cold liquids, and has an open rim and closed base." --US Patent #5425497
  17. Scalability? by weston · · Score: 2, Insightful

    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!

  18. RJS by boldi · · Score: 2, Funny

    And when Microsoft sues You...
    Ruby in Jails ?

  19. Uruk-Hai by Anonymous Coward · · Score: 2, Funny

    this reminds me of the scene in the lord of the rings where Saruman proclaims he has successfully bred Orcs and Goblins and that crazy thing hatches out of a slimey membrane.

  20. Use arax, raggy! by 192939495969798999 · · Score: 5, Funny

    ruby ruby roo!

    --
    stuff |
    1. Re:Use arax, raggy! by hanshotfirst · · Score: 3, Funny

      Fred: So let's see whose really behind the phantom's plot to drive everyone off the Internet...

      Daphne: It's old man Gates from the haunted software company!

      Velma: We figured it out after unraveling the clue - Mr. Ballmer was responsible for the ghostly floating chairs!

      Bill: And we'd've gotten away with it too! If it weren't for you meddling script kiddies!

      --
      Why, oh why, didn't I take the Blue Pill?
  21. Re:Uh... by ThatDamnMurphyGuy · · Score: 2, Insightful

    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

  22. Re:Somebody update NoScript. by Blnky · · Score: 2, Interesting

    Not only that, but they're not adding a language that's significantly different. They're not adding Java (which Google might appreciate) or C/C++, they're adding Ruby, which is a language very similar to javascript (certainly more similar than JS or Ruby are to Java and their ilk). Port a language with better scalability and modularity, not more of the same. Unlike Javascript, C++, Java, and Ruby all support encapsulation, built in inheritance, and explicit class declaration. Unlike Javascript, Java and Ruby are strongly typed. Even though Ruby supports duck typing, it still uses the explicate conversion similar to what is required in Java whereas Javascript uses implicit conversion. The closure in Ruby is one of its major strengths. Javascript can at most use anonymous functions. Having extensively used all of the languages you mention, Javascript really appears to be the outlier to me. Would you please explain why you think that Ruby is more like Javascript than Java or C++? Additionally, what well known scripting languages are you referring to when you request more scalability and modularity? Or are you assuming that a compiled or non well known language would be better?
  23. Re:This time by Foofoobar · · Score: 2, Insightful

    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.
  24. And ARAX isn't as good as AJAX by einhverfr · · Score: 5, Funny

    Ajax has always been second-best to Achilles, the greatest hero of the Trojan war. In other words, the only thing better than Ajax would be Achilles (maybe Asynchronous C or Haskall In Lisp List Extensible Style).

    Who was this Arax fellow? What wars did he fight in?

    --

    LedgerSMB: Open source Accounting/ERP
  25. Embedded Python on the web? by ZephyrXero · · Score: 2, Interesting

    This does bring up an old question of mine... how come no one has made a Python plugin for web browsers, like Java has?

    Just think how much more awesome projects like TurboGears/Pylons could be if you could run Python on both the client side as well as the backend.

    Where's APAX when we need it?

    --
    "A truly wise man realizes he knows nothing."
  26. Why only people like us come here by sm62704 · · Score: 4, Funny

    Ruby
    rails
    Ruby on rails
    Soap
    Ajax
    Ajax soap
    Python
    Perl
    Java

    Is it any wonder normal people think we're strange? (Ignore the rest of this comment, as it presently has too few characters per line (currently 8.5) but thankfully I can paste slashdot's retarded "error" message in the comment to correct this travesty)

    --
    mcgrew's razor: Never attribute to stupidity that which can be explained by greedy self-interest
  27. ARAX? by Microsift · · Score: 3, Funny

    Ruh Roh!

    --
    My other sig is extremely clever...
  28. Re:Simply the most snore worthy post of the day. by Jesus_666 · · Score: 2, Funny

    Who needs Lisp? PROLOG! APAX is the wave of the future!

    Or we define the web as a meta-processor and write wasm (web assembler) to interpret assembly code for this processor. Then we can have AAAX!

    --
    USE HOT GRITS WITH STATUE OF NATALIE PORTMAN (NAKED AND PETRIFIED)
  29. Re:This time by asc99c · · Score: 4, Insightful

    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.

  30. Re:Somebody update NoScript. by Mctittles · · Score: 3, Interesting

    While it offers more than Flash does I don't know where people keep getting their ideas on "more" than flash does, but I'm suspecting it is from some dirty marketing campain from microsoft. You know if you search for silverlight you will find at the top of a google search are blogs about silverlight vs flash, but after reading a couple paragraphs you realize that it is no more than a commercial for silverlight...they even sound like a scripted commercial...and they compare flash from 15 years ago to silverlight instead of flash from today. Then after more digging I've found the comments for sites that write about silverlight are scripted half the time too. I've even found comment sections on articles written by microsoft staff in defense on their product so you know they are spending many hours searching the net to try and make sure anything within the first few pages of a search is biased.....it's annoying because it seems to be working, although very little people have actually used both silverlight and flash extensively, hearing a random person say "it is better" leads them to believe it. (END RANT)
  31. Re:Sh@tload of buzzwords stuffed into a paragraph by Jesus_666 · · Score: 2, Interesting

    Actually, AJAX is good for very large (have the manpower to deal with its complexitied) and very small (won't encounter its complexities) projects.

    I occasionally use it in a very rudimentary way - I use the AJ part and forget about the AX. What I mean with that is that I simply reload part of a page, whatever it may contain. It's a simple GET, no bells and whistles. The XMLHttpRequest part and the connection handling are abstracted away in a drop-in function that handles everything for me. It's not very flexible but usually it's enough.

    Of course it does get more complex once you want to do anything that goes past putting the reply to a GET into a <div>, especially if you use JSON to pass around tuples and don't trust the server to send clean code...

    --
    USE HOT GRITS WITH STATUE OF NATALIE PORTMAN (NAKED AND PETRIFIED)
  32. Re:This time by Tweenk · · Score: 3, Interesting

    Under 1000 lines for drag & drop support? This looks like a moderate amount of code, taking into account that you only get raw mouse coordinates from the browser in JS, and that it supports IE.

    People dislike Javascript, but in fact it's very powerful. Its Achilles' heel seems to be that no one cares to really learn Javascript like a regular programming language. Rather, people doing Web development look at it as a hacky tool to add bling to their website. They learn small bits of it whenever they want some new effect they saw on the other guy's site, but never stop to learn how to use the vast array of built-in functions effectively, how to create objects, how closures and functional primitives work. Javascript is very much a "real" programming language, but its niche causes most to overlook its powerful and one-of-a-kind features and instead view it through the multitude of browser quirks one has to deal with when using Javascript in Ajax.

    --
    Those who would give up liberty to obtain working drivers, deserve neither liberty nor working drivers.
  33. Learn JavaScript? by KermodeBear · · Score: 3, Interesting

    [...] 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.
    They never DID have to go through something like RJS. They could just, you know, learn JavaScript. It isn't very difficult.
    --
    Love sees no species.
  34. Puh-lease... Ruby Is Redundant.(tm) by AnomaliesAndrew · · Score: 3, Interesting

    So far everything I've seen that was at all "special" about Ruby is available in just about every other language via helper classes (like Integer for ints in Java) and perhaps slightly less graceful structures like callbacks (just look at jQuery, for example.)

    Usually the reason I've picked a language to do a job has had nothing to do about syntax. The three biggest factors have always been: what do I already know, what has the best performance, and what can be developed quickest? It's always a balance of those 3.

    I'll never use Ruby until it's supported widely enough, matured enough, and provides me with some reason to bother learning its API.

    Considering I'm already intimately familiar with C, Java, PHP, and SQL, I think hell freezing over is a safer bet. In my limited observation, most of the people who tout Ruby as the future have never extensively programmed in another language (except maybe a handful of people who coded in the much older languages similar to Ruby.)

    I especially love it when somebody claims to write a web server in 10 lines of Ruby... and all it took was using a 10,000 line library and a however-large interpreter. I'd like to see that stand up to a slash-dotting. Puh-lease...

    --
    Move all sig!
  35. Why Ruby? by qazwart · · Score: 4, Interesting

    Because Ruby on Rails developers will not have to switch to JavaScript in order to do AJAX like stuff.

    One of the problems in Web Development is using one language for the back end (whether Java, Ruby, or PHP) and then when you need some asynchronous action on the client side, you have to switch your syntax to JavaScript. It can be a bit of a pain. It's not that you may not know both JavaScript and Ruby, but that you have to keep switching between the two and that can make brain hurt.

    I take it that Silverlight will be doing the "ARAX" side of things. It's actually a neat idea. You can use a single language for both the Client and Server side, but where JavaScript is built from the ground up to live inside a webpage, Ruby isn't. I guess that's why there's IronRuby which will be a bit more "JavaScript" like.

    The big problem is that the Ruby interpreter will be Silverlight. Where as JavaScript is built into WebKit, an open source project, Silverlight is proprietary. If you create a new web browser, you can easily adopt WebKit and get a standardized JavaScript implementation. With ARAX, you're either going have to role your own or depend upon Microsoft to create a Silverlight interpreter.

    The whole thing is to push not .NET, but Silverlight in order to take over the Flash market. The funny thing is that Flash is probably peeking in popularity. The problem is one of the shear diversity of web browsing platforms that will be coming out soon. The iPhone is just the first such device, and already sites are removing flash from their webpages in order to make them iPhone compatible. Yes, Adobe is going to release flash for the iPhone, but what happens when Android comes out? Is Adobe really going to build flash for each and every version of an Android handset? They simply don't have the resources. Microsoft will find the same situation with Silverlight. They simply won't be able to support all the platforms that people want to use.

    In the old days, this was okay because it brought people into the Windows world. But, as people move from the desktop, Windows isn't the end all/be all platform it use to be. People like their iPhones and iPods. People will start buying Android based stuff. Symbian and RIM both are larger platforms. Windows Mobile is a distant fourth in sales this year. Measured in licenses, Windows Mobile is still more popular than the iPhone, but that doesn't include all the devices laying in some drawer gathering dust. Assuming a 2 year average product lifespan, Windows is fourth behind the iPhone which hasn't been out for a year yet. Can Microsoft (or is Microsoft even willing) to put Silverlight on all the various platforms out there? If not, developers just won't use ARAX.

  36. 1995 called, they want their article back! by ChunderDownunder · · Score: 2, Insightful
    Sun Microsystems launched this idea around 13 years ago... Java applets.

    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.

  37. oh boy... by 93+Escort+Wagon · · Score: 2, Insightful

    Another non-standard scripting implementation that only works with one particular browser. Didn't anyone learn from vbscript?

    --
    #DeleteChrome
  38. ramble much? by OrangeTide · · Score: 2, Funny

    I hope you don't program Ruby like you post

    --
    “Common sense is not so common.” — Voltaire
  39. Sorry, not impressed... by drew · · Score: 2, Interesting

    The problem with JavaScript has nothing to do with the language itself, the problem is that no two browser implement it quite the same way. Adding another language that's only supported in a proprietary and still not very widespread plugin isn't going to help that one bit.

    Browser compatibility aside, JavaScript is actually very solid and is a great language to program in for people who actually bother to learn it (unless you are really stuck up about static typing or class based OO, in which case, sorry...) Why so many people work so hard in trying to convert Ruby or Java into JavaScript (e.g. RJS or GWT) or make JavaScript look like a language that it isn't (e.g. ASP.NET AJAX) rather than just learning the damn language I will never figure out.

    This of course brings me to JavaScript's second biggest problem - it's users. Why is it that JavaScript, apparently alone among languages, can attract so many programmers that have absolutely no desire to even try to learn the language? I've heard people who programmed professionally in JavaScript for years claim that it doesn't support inheritance. In any other OO language that would be the sort of thing that a new programmer would learn in the first week. Most experienced programmers when learning a new language would sit down with a book or a quickstart guide or tutorial of some sort and learn at least the basics of the language before they tried to take on a meaningful project, but apparently with JavaScript it's OK to just jump in and learn as little as you have to as you go along.

    --
    If I don't put anything here, will anyone recognize me anymore?