8 ms·
I find it amusing how hyper-specific he gets in the comments defending PHPs speed, saying comparing it to even Python is unfair because it bytecode compiles to
by runevault 16y ago
I find it amusing how hyper-specific he gets in the comments defending PHPs speed, saying comparing it to even Python is unfair because it bytecode compiles to save time.
To me, that sounds more like a flaw in PHP that it doesn't save bytecode and reuse that if the underlying source has not changed, not a defensible reason to claim it is faster than other "similar" languages.
- nuclear_eclipse 16y agoIf you want PHP to save the compiled code between sessions, the APC extension does that perfectly well, and has a dramatic impact on server performance. Yes, it's weird that something that useful isn't part of the core language though.
- eropple 16y agoIt will be in PHP6.
- pbiggar 16y agoParsing time is irrelevant. When you bytecode-cache PHP, it is still about 3x slower than Python. And Python is slow compared to Lua, and dog-slow compared to any JITted implementations of scripting language (LuaJIT2, Spidermonkey, V8, etc).