Re:A new year resolution to have Crystal reach the 1.0 miles...
by eropple on Friday December 30, 2016 @12:00PM
(#13285405)
It's not a Ruby. It doesn't even pretend to be a Ruby. I mean, to be a Ruby, this needs to work:
a = Object.new
list_of_modules.each { |mod| a.extend(mod) }
Ruby cannot be separated from its dynamism and to claim it can is misleading.
Re:A new year resolution to have Crystal reach the 1.0 miles...
by lmm on Friday December 30, 2016 @07:09AM
(#13283963)
OCaml (well, actually Scala in my case, but I can understand why people wouldn't want to have to use the JVM) is already that, as far as I can see. What is it that Crystal offers that OCaml doesn't?
Re:A new year resolution to have Crystal reach the 1.0 miles...
by coldtea on Friday December 30, 2016 @07:13AM
(#13283984)
Doesn't share the fugly OCaml syntax.
Re:A new year resolution to have Crystal reach the 1.0 miles...
by uryga on Friday December 30, 2016 @09:10AM
(#13284406)
Not a great way to convince OCaml fans to use something else.
Re:A new year resolution to have Crystal reach the 1.0 miles...
by oblio on Friday December 30, 2016 @09:15AM
(#13284438)
All 3 of them? Jokes aside, they're probably aiming for Ruby fans (or fans of other dynamic languages).
Re:A new year resolution to have Crystal reach the 1.0 miles...
by coldtea on Friday December 30, 2016 @09:49AM
(#13284600)
I doubt Crystal's marketing goals are to convince OCaml fans...
Re:A new year resolution to have Crystal reach the 1.0 miles...
by galfarragem on Friday December 30, 2016 @07:13AM
(#13283979)
A gentle learning curve for developers with a Ruby background.
Re:A new year resolution to have Crystal reach the 1.0 miles...
by pimeys on Friday December 30, 2016 @07:51AM
(#13284109)
Is this the same with Crystal, as shown in Ruby:
irb(main):001:0> "".methods.size
=> 170
irb(main):002:0> 0.methods.size
=> 133
If it is, I mean, I don't see it being so fast.
Re:A new year resolution to have Crystal reach the 1.0 miles...
by yxhuvud on Friday December 30, 2016 @08:17AM
(#13284201)
What on earth has the size of the list of methods to do with performance?
Re:A new year resolution to have Crystal reach the 1.0 miles...
by coltonv on Friday December 30, 2016 @08:21AM
(#13284218)
The number of methods in the standard library really doesn't impact performance in a compiled language since you can tree shake the stuff that isn't used. And even if you don't tree shake having lots of methods isn't really a noticable performance loss in compile to binary languages since you don't need to spin up a VM
A fast and typed Ruby, isn't it enough? ;)