Goro – An implementation of PHP written in Go
41–50 of 135 posts
Re: Goro – An implementation of PHP written in Go
#42A perfect example of error handling in go in the wild: https://github.com/MagicalTux/goro/blob/3cb3dfe0eef910c03e41... More php interpreters is of course nice.
I don't understand. I have a C background. What is wrong with that?
if err != nil {}
You get used to that pretty quickly in Go, but it still looks messy to a lot of people.
Re: Goro – An implementation of PHP written in Go
#43Re: Goro – An implementation of PHP written in Go
#44Earlier quoted context omitted.
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.
I don't see what it fixes. You're just replacing an interpreter and in all likelihood bundling a web server. 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.
Re: Goro – An implementation of PHP written in Go
#45> 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…
A majority of the web runs on one of a handful of programs that use php...WordPress, Magento...
Facebook, Yahoo, Wikipedia, even Google.
Re: Goro – An implementation of PHP written in Go
#46Earlier 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.
This makes hosting php a rather pleasant experience for me: https://uwsgi-docs.readthedocs.io/en/latest/PHP.html
Re: Goro – An implementation of PHP written in Go
#47Earlier 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.
Re: Goro – An implementation of PHP written in Go
#48Earlier quoted context omitted.
A majority of the web runs on one of a handful of programs that use php...WordPress, Magento...
While true, there is still a tremendous amount of the web that is powered by php and not using WordPress or Magento. Facebook, Yahoo, Wikipedia, even Google.
Yahoo is yahoo.
Wikipedia wouldn't have the resources to change anything.
Google has a wiki page for their developers telling them to never ever use PHP for any google project.