←back to thread

133 points avan1 | 1 comments | | HN request time: 0.203s | source
Show context
colesantiago ◴[] No.45077666[source]
I bit the bullet rewriting my app from PHP to Go and it paid off for my company, we're talking 20K lines of PHP code, reduced to 4K lines of Go and with the added efficiency gains with it.

I think some orgs just need to take the jump and plan a rewrite, add tests (easier with Go) and just do this if they are a PHP shop, I would say it's worth it.

Instead of blending Rust/PHP or Go together and having an unmaintainable mess of a codebase.

replies(6): >>45077715 #>>45077882 #>>45077891 #>>45078407 #>>45080182 #>>45081315 #
1. avan1 ◴[] No.45081315[source]
i don't recommend rewrite in anycase (had done 2 successful rewrite before but still i don't choose that my self) and new php run times can may be really fast. you can checkout benchmarks. swoole for instance if used with all the functionalities like its specific caches may be so fast (in some cases as fast as Go)