Hacker News new | ask | show | jobs
by Xeoncross 1384 days ago
I enjoyed PHP at one point. I wrote frameworks, ORM's, NLP, template engines, etc..

Then I discovered Go which is like a grown-up version of PHP. Really simple to get started, solid standard library (PHP relies a lot on extensions), and fixes all the little things like formatting/styling, testing, error handling, benchmarking, modules, and parallel code execution.

It does all this in much less memory and is much faster.

Go is an excellent replacement for PHP when you start hitting the limits of little Laravel apps.

1 comments

After reading this article about Go vs Rust, I don't think I can use Go anymore. It's simply not well designed.

[0] https://news.ycombinator.com/item?id=25616593

Oh sure, but getting developers to jump from PHP to Rust is a lot harder. Conversely, it's easier to get PHP developers to jump to Node.js despite all it's issues as well.

I mean, Go is still miles above scripting land. 75% of all the cloud computing projects are in Go and if you deal with micro services you'll find a lot of the tooling and systems are written in Go.

If you're using PHP, then Go or Java is much easier upgrade path than Rust.