Migrating Our Messages API to Rust

(anthropic.com)

30 points | by WalterSobchak a day ago ago

13 comments

  • dzonga a day ago 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 18 hours ago 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 8 hours ago 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 19 hours ago ago

      [dead]

    • curt15 a day ago 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 18 hours ago ago

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

      • flemhans a day ago ago

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

        • 21 hours ago ago
          [deleted]
  • 1homsi 8 hours ago ago

    [dead]

  • pier25 a day ago ago

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

    • pohl 21 hours ago ago

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

      • iknowstuff 17 hours ago ago

        They just hinted at a native rewrite on twitter

    • derwiki 18 hours ago ago

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