‹ 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. Zanfa · · focus · HN ↗
      Behold the View.java[0] at 34k lines of human code. IIRC it’s slimmed down a bit these days and used to be more.

      [0] <a href="https:&#x2F;&#x2F;android.googlesource.com&#x2F;platform&#x2F;frameworks&#x2F;base&#x2F;+&#x2F;master&#x2F;core&#x2F;java&#x2F;android&#x2F;view&#x2F;View.java" rel="nofollow">https:&#x2F;&#x2F;android.googlesource.com&#x2F;platform&#x2F;frameworks&#x2F;base&#x2F;+&#x2F;...

      1. tecoholic · · focus · HN ↗
        Wow. Somehow I feel my software creds just went by a notch by the mere existence of these files.
Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.