alice
If Ruby has really slow performance how come Elixir is fast?
Hey,
I’ve listened to a couple tech talks explaining how Ruby was super slow prior to Rails and I am wondering, if Elixir’s syntax is partially inspired from Ruby, how come Elixir is fast? Thanks.
Most Liked
kokolegorille
Don’t look too much at the syntax, they are completely different…
-
Ruby is interpreted, Object oriented
-
Elixir is compiled, Functional language.
If You want speed with Ruby syntax, You might look at Crystal
hauleth
Languages do not have “speed”, never. Implementations of interpreters/compilers have “speed”. And syntax is part of the language, which mean that this do not affect the performance in any way.
jeremyjh
Elixir is what you get if Erlang, Ruby and Clojure had a baby and it wasn’t a mistake.
To be more specific in Elixir we have Erlang semantics, Ruby syntax and Clojure’s macros and protocols.







