Live data from Hacker News

Goro – An implementation of PHP written in Go

github.com

21–30 of 135 posts

Re: Goro – An implementation of PHP written in Go

#21

Interesting. This is a repo from Mark Karpeles, the former MtGox CEO

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.

He did spend some time in jail

Re: Goro – An implementation of PHP written in Go

#23
post #9

Can I run WordPress on it today?

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

#24

Interesting. This is a repo from Mark Karpeles, the former MtGox CEO

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.

He is currently CTO at London Trust Media (owners of Private Internet Access VPN): https://londontrustmedia.com/about/ - (under "Holdings Executive Management")

Re: Goro – An implementation of PHP written in Go

#25
post #8

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

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.

This is a more fair comparison: https://trends.google.com/trends/explore?date=all&geo=US&q=p...

You can't just compare searches for tutorials on one platform against an entire other platform itself like that.

The vast, vast majority of PHP out there does not use Laravel.

Re: Goro – An implementation of PHP written in Go

#28

Any chance someone wants to do a benchmark to compare the performance of this to other PHP implementations?

I'd rather see a simple web app made with this benchmarked against one made with Phalcon. I know that's comparing apples to oranges given that this is an implementation and Phalcon is a framework, but it would be interesting to see if this approach is any faster than writing a framework from extensions in a faster language

Re: Goro – An implementation of PHP written in Go

#29

Interesting. This is a repo from Mark Karpeles, the former MtGox CEO

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

#30
post #13

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/

> Today, PHP is used by more than 80% of all the websites _whose server-side programming language we know_

I find it pretty annoying that they don't post stats on the websites that they couldn't classify. I think it's likely that their survey suffers from some level of survivorship bias: only websites that loudly announce their tech stack get counted.

So, how do they know which programming language is being used by a server? From https://w3techs.com/faq, they look at:

- HTML elements of web pages

- Specific HTML tags, for example the generator meta tag

- The URL structure of a site

- HTTP headers, for example cookies

- HTTP responses to specific requests, for example compression

I typically run Python / Django sites, and the only way, that you would know I'm running Python is a few Django-specific security/auth cookies. _Maybe_ that stuff gets picked up by their crawler. If I was running another Python web framework, like Flask, then you'd have no idea what kind of app server was sitting behind NGINX.

Post reply on HN