3 ms·
> There's a lot of low-hanging performance fruit in programming language design. Indeed but there is also huge scope for applying known techniques to existing
by noir_lord 11y ago
> There's a lot of low-hanging performance fruit in programming language design.
Indeed but there is also huge scope for applying known techniques to existing languages, PHP7 for example is twice as fast as 5.6 (in the real world, I've seen this) with about half the memory usage.
The interesting thing is that anyone using PHP who goes to 7 gets that performance upgrade at essentially zero-cost.
- tempodox 11y agoThat surely looks like a no-brainer for PHP users. I know folks who have hard-coded dependencies on PHP 5.3(!) you wouldn't dare to have nightmares about.
- noir_lord 11y agoIndeed, if you have a modern codebase on 5.6 then moving to 7 is very straightforward. In anything I'd written in the last 2 years I didn't have to change any code at all, just upgrade, run unit tests, do some sanity checks and deploy. Performance increases was immediately noticeable on both response times and server loads. One of the easiest wins I've ever had :).