Hacker News new | past | comments | ask | show | jobs | submit login

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




>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.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: