My TLDR is:

  • Their team was using PHP

  • Before doing a complete re-write they evaluated other languages

  • Rust ruled out due to cost/benefit, being the fastest in the list, but also the most complex

  • PHP kept as the main language because:

    • The ecosystem is mature
    • The PHP/Symfony (and Roadrunner) stack meets their high-performance needs
  • Inertia: their team “already had extensive experience” in it

  • They already integrated Go in some microservices

  • They aren’t locked to PHP, and will continue to evaluate these programming languages and others

    • Olissipo@programming.devOP
      link
      fedilink
      arrow-up
      1
      ·
      il y a 3 jours

      The point is evaluating your stack once in a while. Eventually, you may need to switch or it may be worthwhile, even if you can stick with your current stack at a disadvantage.

      For an extreme example, WordPress with crap page builders. It may not have been “that bad” when you started with it. But by now its very much worthwhile to switch. You don’t “need to”, but you should.

      Back to this post, maybe they really are at that point that slowly switching is worthwhile. At least partially, where it makes the most sense (they mention using some microservices written in Go).

    • brie@programming.dev
      link
      fedilink
      English
      arrow-up
      1
      ·
      il y a 3 jours

      Because writing web apps is boring as fuck, and evaluating switching provides a reason to stop coding in PHP, and write an article about how they still need to write PHP.

  • Olissipo@programming.devOP
    link
    fedilink
    arrow-up
    4
    ·
    il y a 4 jours

    Personally I doubt I’ll ever reach the switching point. But the trend for PHP devs seems to be switching to Go (when they do switch).

    • Rikudou_Sage@lemmings.world
      link
      fedilink
      arrow-up
      4
      ·
      il y a 4 jours

      Go is really nice! Though I prefer using both instead of a single one. Still hoping to come across a problem which could be solved by running a Go library using FFI in PHP.