Earlier quoted context omitted.
A great way to look into the future of languages is checking how many people is learning it now compared to the last few years, a great tool for that is google trends and things don't look good for PHP: https://trends.google.com/trends/explore?date=all&geo=US&q=p...
There is also this to consider https://haydenjames.io/80-percent-web-powered-by-php/
Goro – An implementation of PHP written in Go
31–40 of 135 posts
Re: Goro – An implementation of PHP written in Go
#32> PHP is a nice language but is having trouble keeping up with modern languages It's only "having trouble" because it can't change its API from month to month to match whatever's in vogue. A majority of the web still runs on some variant of PHP, and that guarantees that it's not dying anytime soon. More broadly, it seems the author wants to create a version of PHP that's not focussed on web requests, which is sort of…
This is true of every language used on the web. That's why it's important to start out with the right choices, which in many instances PHP did not do, and is slowly trying to recover.
Re: Goro – An implementation of PHP written in Go
#33Re: Goro – An implementation of PHP written in Go
#34> PHP is a nice language but is having trouble keeping up with modern languages It's only "having trouble" because it can't change its API from month to month to match whatever's in vogue. A majority of the web still runs on some variant of PHP, and that guarantees that it's not dying anytime soon. More broadly, it seems the author wants to create a version of PHP that's not focussed on web requests, which is sort of…
Re: Goro – An implementation of PHP written in Go
#35But... why? If you are going to write a go program to run PHP to use go specific features, why use PHP at all?
It can also be used as a common in-application scripting language.
Re: Goro – An implementation of PHP written in Go
#36A perfect example of error handling in go in the wild: https://github.com/MagicalTux/goro/blob/3cb3dfe0eef910c03e41... More php interpreters is of course nice.
Re: Goro – An implementation of PHP written in Go
#37Earlier quoted context omitted.
Hah. You can lose people hundreds of millions of dollars worth of assets and because it is magic internet money and not real money, you are coding instead of in jail.
Are you advocating for debtors prisons? If someone losses money you gave them, would you rather they were in prison, (living from your taxes) or working and repaying? Also if the bankruptcy proceeds as planned, nobody will lose real money. (Btc sale so far covers all the fiat they owe and a bit more)
Re: Goro – An implementation of PHP written in Go
#38Earlier quoted context omitted.
Hah. You can lose people hundreds of millions of dollars worth of assets and because it is magic internet money and not real money, you are coding instead of in jail.
Are you advocating for debtors prisons? If someone losses money you gave them, would you rather they were in prison, (living from your taxes) or working and repaying? Also if the bankruptcy proceeds as planned, nobody will lose real money. (Btc sale so far covers all the fiat they owe and a bit more)
Re: Goro – An implementation of PHP written in Go
#39Earlier quoted context omitted.
A great way to look into the future of languages is checking how many people is learning it now compared to the last few years, a great tool for that is google trends and things don't look good for PHP: https://trends.google.com/trends/explore?date=all&geo=US&q=p...
So you are saying that PHP is dying since 2004. That’s ridiculous. There are new languages and more alternatives today that’s it.
Re: Goro – An implementation of PHP written in Go
#40Earlier quoted context omitted.
No: https://github.com/MagicalTux/goro/blob/master/README.md#tod...
pre-alpha, bummer. Over the years I've had quite a few friends and family ask me to arrange hosting of their wordpress sites. Generally I refuse because wordpress has a long history of security problems. An alternate interpreter with sandboxed execution could solve a lot.
PHP 7 is a pretty solid language. I don't like WordPress at all, but there's so much cruft, legacy nonsense and plugin garbage that you won't win that battle.