‹ BackHN Continuity

Thread

Microsoft agentically ports Copilot runtime to Rust for $120K

48 points · 62 comments · pjmlp

  1. tecoholic · · focus · HN ↗

        One of the thorniest conversions was the session.ts file, which was over 30,000 lines of TypeScript that touched all aspects of the runtime.
    
    This can’t be real. Single file with 30K lines? Which human being is working on it and how much RAM does it take for a code editor to load that with full symbol tree? I am genuinely curious. Is this common? I think most files I come across stretch to maybe 2-3k lines max.
    1. Rexxar · · focus · HN ↗
      30000 is not that big in very old projects with many contributors. There are always one or two files that no one wants to take the time and responsibility to clean up. And 30000 is not a big number for RAM. The fact that you find it choking is more and of an indication of how bad our tools have become than anything else.

      For example, until recently the main file for donet runtime GC was more than 50000 lines (it has since been split).

      1. skrebbel · · focus · HN ↗
        Copilot isn’t “very old”.
        1. solarkraft · · focus · HN ↗
          I’m sure it has changed a lot since inception
Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.