News for hackers. Stuff that matters.
Re:Ask HN: Have you ever migrated a large/old project to a d... by mattpallissard on Tuesday September 13, 2022 @06:40PM (#32831090)
While a complete re-write can be fun, in my experience it's usually not the best course of action. In decreasing order of most bang for your buck (your mileage may vary)

    * Profile the code, clean up the hot paths in the native language.
    * If it makes sense, implement as a c-extension
    * Restructure your application to handle concurrency/parallelism.  Lots of options to try here; thread pools, external task queues, break your application into multiple services.
    * Re-write one of the smaller services you spun out in the language of your choice.
Edit: formatting
Re:Ask HN: Have you ever migrated a large/old project to a d... by xwowsersx on Tuesday September 13, 2022 @06:42PM (#32831124)
This makes sense. I totally get the starry-eyed, romantic appeal of rewriting in your new favorite language, but I know that maturity would counsel for a good dose of conservatism when it comes to this.