Microsoft agentically ports Copilot runtime to Rust for $120K

(theregister.com)

17 points | by pjmlp 1 hour ago

5 comments

  • tecoholic 25 minutes ago

        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.
    • Rexxar 6 minutes ago
      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).

    • wayvey 18 minutes ago
      I recently saw a ~60k lines / 3mb .cpp file in one vibe coded project (and yes I was a bit horrified) Surprised it works at all but it apparently does. Not really for a human though and even for an LLM it would be more beneficial for it to be split up.
      • NewsaHackO 9 minutes ago
        This has to be 1) early LLM vibe coding or 2) “hand” vibe codingwhere the user asked the LLM to code sections and stitches them together manually, and the programmer is a novice. The second part I speak from experience; got to ~2k before realizing this is out of the script range and started to break it up. Regardless, it would be almost impossible to get an SOTA LLM agent to ever do this.
    • formerly_proven 19 minutes ago
      > Which human being is working on it

      If you've ever used that tool you wouldn't ask this question, since it's obviously fully vibecoded.

    • smitty1e 23 minutes ago
      Was the documentation for each function a full-on essay?
  • Rexxar 22 minutes ago
    They don't have to tell us they are vibe coding everything.

    - there are now ridiculous vibe coded localisation in VS2026

    - task manager started to not report cpu usage correctly recently (the number becomes stalled)

    - file explorer display the "loading" icon infinitely on some directories

    - and many other things!

  • amelius 13 minutes ago
    Still hoping for a company to agentically port the python ecosystem to GIL-free python.
    • andrewstuart 11 minutes ago
      I did a lot of benchmarking of Gil free python.

      Greenlets were much faster.

      Gil free python gets stuck on all sorts of python locks. It’s slow.

  • perching_aix 3 minutes ago
    [delayed]
  • andrewstuart 9 minutes ago
    Can we not say “agentically” please?