David Barsky retweeted
very excited to see this out of A\
this is our thesis at @erscio ! But we are building a git compatibility layer: ersc.io/blog/what-comes-afte…
enterprise adoption of new source control is a big ask, so making a smooth bridge from the past to the future is a big part of our offer
Anthropic@AnthropicAIOct 13United States
United StatesConnected via WebAccount-level information, not a live location or per-post device.
New on our Engineering blog: Creating in-house source control.
In May, we merged around 2,500 code changes per day. In September, we merged more than 30,000 per day. As a result, we became bottlenecked by developer infrastructure built for human (rather than agent) scale.
Here, we share how we built a new version control system—and fully migrated our monorepo from git—in five months: anthropic.com/engineering/re…
holy moly @superlogical's rex is *so darn good*. just oozes with polish, style, and care.
a tip for friends new to Rust: Geekbench's single-core CPU benchmarks are an unreasonably helpful proxy for how snappy Rust compilation feels on a warm development loop.
Replying to @LParreaux
i mean, miri isn’t really community-enforced scrutiny, it’s a project-endorsed tool that provides mechanisms to verify whether unsafe code is sound. it’s certainly more advanced than anything i’m aware of that touches the JNI!
Replying to @endsofthreads @LParreaux
and i’m curious: how would you feel if unsafe was a nightly-only/stdlib-only feature? because that’s not too dissimilar to the situation you’ve got on the JVM.
Replying to @LParreaux
agree to disagree, but to move the conversation a few steps back: you can’t simply remove sun.misc.unsafe and expect your program to work. you still have the JNI and the runtime itself. how is the runtime speaking to the os?
Replying to @endsofthreads @LParreaux
and yes, a runtime like the JVM or WASM help reduce the impact of soundness issues in Java or Scala, but a lot of places are using Rust where a runtime can't work (I include a lot of latency-sensitive developer tools in this!) or the alternative is *definitely* unsound.
Replying to @LParreaux
rust does have a complicated type system—no argument from me—but nobody's found a fundamental soundness flaw within the overall design. people tried! i know that's not the same thing as a positive proof, but given it's been ~10 years, i know how I'm willing to bet.
Replying to @endsofthreads @LParreaux
put differently, there are a lot of mechanisms to surface unsound code + the community has developed extremely strong norms against using unsafe code. if unsafe code is used, it's generally heavily quarantined.
Replying to @endsofthreads @LParreaux
sorry, i wrote too many exclamation marks. what i'm trying to say: it's easier to audit for unsafe and me running miri during development/CI surfaces potential issues in the libraries that i'm depending on. a potential issue was surfaced for me yesterday!
Replying to @endsofthreads @LParreaux
like, a big part of what was problematic about the actix-web situation was the larger community's reaction, but part of that reaction was the development of norms and tools to avoid unnecessary usage of unsafe! a lot of libraries now have miri running in CI!
Replying to @LParreaux
there might be confusion between and @tigregalis; they never said "usage is pretty judicious".
my source of data is being in the review loop for people importing libraries into facebook's monorepo and facebook + maintaining some pretty popular libraries in the rust ecosystem.
Replying to @endsofthreads @LParreaux
anyways, i got annoyed by the wikipedia article and proposed a bunch of edits: en.wikipedia.org/wiki/Talk:M…
Replying to @endsofthreads @LParreaux
as for that CVE crate: it's not really used and it's a soundness hole that'll be fixed: github.com/rust-lang/rust/is…. nobody's writing that code in the wild.
as for unsafe: i think usage is pretty judicious and the data i've seen tells that it's not a cause for concern.
Replying to @endsofthreads @LParreaux
anyways, i get it if you're done with this conversation—I would be too!—but i'd be very careful about expanding the definition of memory safety to include "does not leak memory" because that'd mean java et. al. are not unsafe!
Replying to @LParreaux
i don't think that the wikipedia article is correct, partly because the ISRG (memorysafety.org/docs/memory…) disagrees, partly because because the CWE referenced by the article points to a deprecated definition (that has been superceded by cwe.mitre.org/data/definitio….
Replying to @endsofthreads @LParreaux
this isn’t to say memory leaks are desirable: i just don’t think the memory leaks i’ve written in java (because i forgot to use a try-with-resources statement) means that java is memory unsafe! it’s memory-safe even under data races, which is a remarkable achievement!

