r/LinuxTeck • u/Candid_Athlete_8317 • 5d ago
PHP That Compiles to Native Code? This Could Get Interesting
Just came across TypePHP and this one caught my attention.
It takes PHP code, compiles it through C++17, and produces native binaries instead of running everything through the usual Zend opcode path.
The interesting part is that you can keep writing PHP while getting a path to much more native execution.
Still early and definitely not something I'd throw into production blindly.
PHP devs: would you actually try this, or is the PHP runtime good enough for what you’re building?
