Migrating Our Messages API to Rust

(anthropic.com)

36 points | by WalterSobchak 3 days ago ago

13 comments

  • dzonga 3 days ago

    the era of 'productivity gains' using dynamic languages is over.

    now it's simply a matter of having agents write as close to the metal as they can for performance, the wider ecosystem of libraries (which can also be ported over) to more performant languages.

    if humans are not reading the code does readability matter ?

    • nextaccountic 2 days ago

      Readability makes agents waste less reasoning tokens to understand the code. Not caring about this is exactly the same mistake devs made when using slow languages, partially undoing the gains in performance in the underlying hardware

      • another_twist 2 days ago

        "is exactly" ? Hmm, was this written by an AI. Overconfident claims without numbers seems to be a thing with the chat session based AIs.

    • atorni 3 days ago

      [dead]

    • curt15 3 days ago

      If humans are not reading the code, what are they doing besides pulling a lever? How long until whatever minimal monitoring they still perform is also automated by "supervisor agents"?

      • derwiki 2 days ago

        Humans should be reviewing the verification that the code is doing what it’s intended to do.

      • flemhans 3 days ago

        For us, that lever is already often : agree with your recommendations, continue

        • 3 days ago
          [deleted]
  • 1homsi 2 days ago

    [dead]

  • pier25 3 days ago

    Makes you wonder why they even use Bun at this point. Claude Code could be 100% Rust.

    • pohl 3 days ago

      Meanwhile, ChatGPT.app was written in rust, but it’ll be end-of-lifed in January, replaced with Codex, an Electron app.

      • iknowstuff 2 days ago

        They just hinted at a native rewrite on twitter

    • derwiki 2 days ago

      Will would it be more or less than 10 GB if they rewrote in Rust?