>Flatly, re-writing a several decade's old, matured codebase in today's flavor-of-the-week language is not a good idea. It's a waste of time and effort.
That's the sort of thinking we'd benefit from having less. Legacy is a terrible burden.
The reason for that is that python2=>3 fixed several fundamental problems. 5.6 => 7 is just a incremental upgrade, whatever the version numbering tells you. Most of the PHP problems are still there.
> The reason for that is that python2=>3 fixed several fundamental problems. 5.6 => 7 is just a incremental upgrade, whatever the version numbering tells you. Most of the PHP problems are still there.
too bad for py3's fundamental problem: that it broke the interface so badly, people still don't use it. PHP7 has no such problem, and gets to add boatloads of new features (which will be immediately used/adopted) while deprecating old versions of the language.
How would you fix this without breaking most PHP code out there?
How would you fix ==, > and < behaviour without breaking most PHP code out there?
How would you fix Unicode without breaking most PHP code out there?
If PHP fixed things like this, it would be a decent programming language, but it would also break a lot of things. Kinda of like what python3 did, only that it didn't have to break quite so much, since python2 was already pretty decent.
imho python3 fixed the issue in the wrong way, so it will never have a great amount of users: down the road the choice will be upgrade to python3 or choose a more modern programming language like go with immense performance boost. I think people will choose to leave python.
5 to 7 does fix some big problems, however. In particular, it is the first release with uniform syntax for variables (https://wiki.php.net/rfc/uniform_variable_syntax) and an AST-based compiler. It also replaces a lot of PHP-style errors with exceptions.
Mobile clients, persistent chat history when switching clients/devices, search, @mentions notify you when you're away from your desk, and easy integrations with lots of services.
I tried to use Dropbox but it just didn't have what I wanted it to have. So, I find it to be not only replaceable, but awfully inferior to the x+y+z-style solutions.
> But why improve performance by switching to a language that's well suited to the task at hand when you can do it by switching to a language that's hip?
php 7 is just as fast, or a teeny bit slower, than 5. Isn't that a rather interesting result, given how the php community has claimed huge performance increases in 7?
It's actually faster. My company was able to cut a lot of servers just by upgrading. And you can find a lot of testimonials around reddit and twitter. Best thing to do is not to trust me, or this horrendous benchmark suite, and test it yourself.
That's why I loathe TechEmpower's benchmark, or any similar service trying to benchmark the world. It's very misleading and error prone by nature. It's not like you're comparing two GPU cards doing the same thing.
Take PHP for example, one of the most popular frameworks is using version 4.2 (latest is 5.2, and there's also a LTS release). It was released in June, 2014 and it's before several major architecture changes and refactoring. And they'll probably say it's my fault for not contributing.