3 ms·
Redshift: What Ruby and a nice API can do in the browser
- sant0sk1 18y agoI watched the demo over the weekend and was pretty impressed with what they're doing. Being able to write client-side and server-side code without switching contexts should yield a nice productivity boost.
- jimbokun 18y agoThe resolution of the screen cast was not high enough for me to read the text he was typing. As for usefulness, "my favorite language -> Javascript" compilers are cute, but I am skeptical of adding another leaky abstraction layer. Javascript is a pretty feature-ful, modern language with closures, first class function, collection literals, and some pretty good APIs. Not sure if bridging to other languages will give much of a productivity boost over just learning Javascript well, and you will probably need to learn Javascript well, anyways, whenever the translation from your favorite language to Javascript inevitably leaks.
- justindz 18y agoYeah, I sort of feel like this is safest at a relatively simple scale where the efficiency gains also stand to be the smallest. Although I heart Ruby, personally, I'd be more interested to see someone nail the deep javascript stack with quality. Something like Rhino on Rails on the server, javascript/AJAX client/server, CouchDB w/ javascript views for the DB and AIR for javascript/AJAX desktop apps and widgets. Seems like with JSON around, that could be elegant and efficient at larger scales, rather than generating code from one language to another for some pieces.
- mdolon 18y agoYou can actually watch the video in HD on the Vimeo site. Just click the Vimeo icon on the corner of the player.
- jimbokun 18y agoThanks for the tip.
- msie 18y agoI feel like I have to work harder with Javascript than with other languages to understand what is going on. One example is the definition of classes. I have to execute each line of code in my head in order to see the big picture. Classes seem to be more succinctly expressed in other languages.
- orib 18y agoMy personal pet peeve is that a language for the browser was standardized, instead of a simple generic bytecode format. But then I have a whole lots of pet peeves about the browser as a development platform.
- juliend2 18y agoRuby has a more elegant syntax than Javascript with jQuery. But i don't see any real advantage of doing it that way.