← Back to context

Comment by _ph_

24 days ago

No, we don't need the "perfect language". But we definitely need to switch to better methods - which were available for decades already - more quickly. There are plenty of memory-safe languages. They have been available for decades. And here we are, a huge amount of servers affected by a memory bug, in especially badly written C. There are probably many more fundamental design bugs in PHP.

PHP itself is "memory safe", you are criticizing that it runs on C but that's a C problem.

  • Right, this bug is purely a C problem. In general, I am very in favor of languages running on a bytecode VM as this reduces the attack surface considerably. But the implementation language of the VM should be a "safe" language. Which C is not.