4 ms·
10x faster in PHP you say? I'd love to see such a benchmark!
by seabrookmx 7y ago
10x faster in PHP you say? I'd love to see such a benchmark!
- hinkley 7y agoGP seems to be placing a high premium on developer productivity. Given salaries in the valley these days, that’s probably not wrong. PHP, though...
- seabrookmx 7y ago> the C# application is 10x faster written in PHP My interpretation of this is that the parent commenter thinks the application runtime is faster in PHP than C#.. Modern (dotnet core) C# often beats the pants off go in webserver workloads (Golang likely has the edge in compute and certainly in anything that values startup time). I really don't see a universe where idiomatic PHP beats out idiomatic C# though. > I love it when you change one line of a shared lib in C# and it takes an hour for the application to recompile Here they switch gears to developer productivity. My employer has an extremely large (LoC in the millions) C# codebase that does a from-scratch compile (including C++ dependencies) in ~30minutes. On developer environments, this is incremental and while not as fast as we'd like, it only takes a handful of seconds per iteration if you're actively developing on it. If you aren't familiar with C# tooling or really value a REPL, other stacks _will_ likely be more productive. But like you're saying, at that point why PHP? Why not reach for Ruby (is that still hip?) or node or something?