5 ms·
This is awesome. I'm really curious to see if the Ruby community will ever fully embrace something like Opal. Having used ClojureScript a bunch it's pretty nic
by AlwaysBCoding 11y ago
This is awesome. I'm really curious to see if the Ruby community will ever fully embrace something like Opal.
Having used ClojureScript a bunch it's pretty nice to compile whatever backend programming language you're using to Javascript to use in your UI. Makes it really easy to share data structures between the front and back end. Would be really interesting to see more Ruby code written this way.
- seivan 11y agoI think the term is isomorphic, but I am not sure. For Ruby you can look at http://voltframework.com http://voltframework.com - uses Opal underneath.
- sgrove 11y agoI believe isomorphic has fallen out of favor (as it's being reclaimed for its original specific meaning) compared to Universal.
- abritinthebay 11y agoon HN maybe. Nowhere else.
- girvo 11y agoInterestingly, on a number of libraries and blogs I've come across recently, too. It seems to be gaining at least _some_ ground.
- abritinthebay 11y agoPerhaps but it won't help it's case that it's actually wrong. Isomorphic is correct - they share similar structures but often aren't the exact same. Universal implies a level of parity on server and client that just isn't there in almost all apps that are isomorphic. It's just plain wrong.
- 15155 11y agoTo be fair, on that front, Clojure is a dramatically more simple language. edn is a really well defined set of primitives. Ruby has an incredible amount of cruft, gotchas, and a massive stdlib.
- fkchang2000 11y agoAs someone who has been trying to spread the word on Opal for a few years (including this talk http://funkworks.blogspot.com/2014/01/opal-new-hope-for-ruby-programmers.html http://funkworks.blogspot.com/2014/01/opal-new-hope-for-ruby... for full affect, For watching the video I would start with the uncensored https://vimeo.com/82573680 https://vimeo.com/82573680 and then switch to http://www.youtube.com/watch?feature=player_detailpage&v=GH9FAfKG-qY#t=170 http://www.youtube.com/watch?feature=player_detailpage&v=GH9... when it's done), it surprises how little interest the Ruby community has taken in opal. I would in part attribute this to not enough documentation and examples, but otherwise I'm surprised. This is about as comprehensive a list of opal resources as exists ATM
- fkchang2000 11y agoThis is the resources link I forgot to post http://metaruby.com/t/opal-resources/201 http://metaruby.com/t/opal-resources/201