These are chat archives for opal/opal

27th
Jul 2015
Keith Salisbury
@globalkeith
Jul 27 2015 06:35
@bbatsov being english, I fully agree with you regarding the american abuse of the word "awesome" however, if we consider trying to encourage people to discover the joys of Opal, turning our noses up at a free and seemingly popular marketing channel, would be foolish, no? The point is more about having a curated repository with links to everything available in the opal world. Perhaps "everything-opal" would be a more suitable name?
btw, did anyone here go to Brighton Ruby?
Forrest Chang
@fkchang
Jul 27 2015 07:07
I did some playing around w/crystal, pretty impressed that the cases I was playing around were faster than golang, w/smaller binaries (I'll blog about it shortly to include benchmarks). I think a crystal backend makes for a good pairing w/opal, ruby end to end, and rocket fast w/good memory utilization
Bozhidar Batsov
@bbatsov
Jul 27 2015 16:26
the way things are going in 5 years nobody will be using MRI :-)
Forrest Chang
@fkchang
Jul 27 2015 16:28
@bbatsov there's some truth to that, looking at the ideas I have for rubyconf proposals, that is an implication, though until the other ruby derivatives have comparable amounts of gems, I think MRI still has longevity
Bozhidar Batsov
@bbatsov
Jul 27 2015 16:33
sure, that’s why I said 5 years :-)
it’s interesting why there’s so little interested in Opal so far
only around 80k downloads
and 2.7k stars
in Clojure-world, ClojureScript seems to be as popular as Clojure
and probably will become more popular than Clojure pretty soon
one would imagine people would be pretty happy to drop CoffeeScript for Ruby
George Plymale II
@ylluminarious
Jul 27 2015 16:38
@bbatsov i think that some people are actually attached to javascript and prefer CS over plain ruby because of its similarity to js. it's very strange, but it just seems like some people like javascript (which really just seems like masochism to me :P)
Torsten Rüger
@rubydesign
Jul 27 2015 16:48
@bbatsov another reason why opal is not adopted may also be that the ruby community is rails heavy, and rails is server. The drive to client side app left the community and started ember. Not surprisingly because dhh is on record for a document based approach. And for small things coffee really is quite fine, you know where you’re at (no runtime, very stable..)
George Plymale II
@ylluminarious
Jul 27 2015 16:50
@dancinglightning i concur
Torsten Rüger
@rubydesign
Jul 27 2015 16:57
and opal is great, a bit like ruby before rails. It needs it’s killer app, and on the app framework side there has been more dabbling, only now with volt is there is serious contendent.
Bozhidar Batsov
@bbatsov
Jul 27 2015 17:15
yep, guess that’s right
Volt lead me to Opal
Forrest Chang
@fkchang
Jul 27 2015 18:04
@bbatsov as someone who's been evangelizing for a few years, I'm pretty surprised at the lack of uptake from the Ruby community. I suppose it's because people either think it's a toy (not mature enough, or not enough documentation/examples) and/or they are happy w/whatever JS based investment they already have. I read DHH's response to @AstonJ 's queries as "happy w/coffescript, and not on list of things to learn at this point". Opal has to be much more compelling to get people in that camp to switch, IMO. I think the route to popularity is to make it such a no brainer for Rails, that all those people w/substantial investment in Rails will start to adopt
Elia Schito
@elia
Jul 27 2015 20:21
@fkchang :+1:
also agree with @dancinglightning, I see many many people that are rails programmers and wouldn't touch frontend with a ten-foot pole, no matter the language, to the point that I had a colleague (very skilled rubyist) that preferred to use backticks and plain JS
Ryan Stout
@ryanstout
Jul 27 2015 20:26
anyone know why doing: Time.now.usec displays: "Microseconds are not supported" I can't find where that is in the opal code.
Elia Schito
@elia
Jul 27 2015 20:26
stdlib/time i think
Ryan Stout
@ryanstout
Jul 27 2015 20:29
@elia I'm really confused on this one: http://opalrb.org/try/?code:puts%20Time.now.usec
ok, nevermind, found where it was: opal/opal@d4a3f94
Ryan Stout
@ryanstout
Jul 27 2015 20:32
thanks!