3 ms·
PHP is interpreted and Elixir is compiled. Comparing them to Ruby and Python make no sense as they are interpreted as well. The fact that Elixir, a compiled la
by DoesntMatter22 3y ago
PHP is interpreted and Elixir is compiled. Comparing them to Ruby and Python make no sense as they are interpreted as well.
The fact that Elixir, a compiled language, known for speed, is slower than PHP is surprising. As far as "Most PHP libs are wrappers over C code". That's just not true. Most PHP libs are in PHP
- coldtea 3y ago>PHP is interpreted and Elixir is compiled. Comparing them to Ruby and Python make no sense as they are interpreted as well. The metric is speed. Compiled vs interpreted is an implementation concern. You can be compiled and slower than interpreted (and vice versa). >The fact that Elixir, a compiled language, known for speed Elixir is not compiled into binary. It's compiled to bytecode for the BEAM vm. And Elixir was never known for speed, nor was Erlang. They are known for parallelism, availability, fault tolerance, smart schedulling, etc.