Live data from Hacker News

Goro – An implementation of PHP written in Go

github.com

1–10 of 135 posts

Re: Goro – An implementation of PHP written in Go

#2
"Better caching of compiled code by allowing sharing of compiled or live objects (classes, objects, etc) between running PHP scripts"

I'm a little confused on this piece, as PHP does have a cross process opcache. People also use things like apcu to share userspace things across processes (uses mmap).

Re: Goro – An implementation of PHP written in Go

#4
post #2

"Better caching of compiled code by allowing sharing of compiled or live objects (classes, objects, etc) between running PHP scripts" I'm a little confused on this piece, as PHP does have a cross process opcache. People also use things like apcu to share userspace things across processes (uses mmap).

I think the idea is for example creating an object in 1 PHP process, and modify it in the second.

The point is there is no shared state in the running problem

Re: Goro – An implementation of PHP written in Go

#6

> PHP is having trouble keeping up with modern language which are these modern languages and which are the cases where it is not keeping up? IMO PHP is one of the languages where development is really quick and the ecosystem is flourishing.

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...

Re: Goro – An implementation of PHP written in Go

#8

> PHP is having trouble keeping up with modern language which are these modern languages and which are the cases where it is not keeping up? IMO PHP is one of the languages where development is really quick and the ecosystem is flourishing.

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...

I'm not sure that's a great way to evaluate things.

Add in "Laravel" and things look pretty different: https://trends.google.com/trends/explore?date=all&geo=US&q=p...

I know I personally steer any newbie away from Googling up "php tutorial" - most of them are horrible, full of bad coding practices and vulnerabilities. I steer them to a good framework and suggest they peruse its docs.

Post reply on HN