Earlier quoted context omitted.
Which was the ultimate failure of Rust, because as Pony benchmarks have shown, you get safety and speed by proper security and architecture. Rust just survived by lying about the its safeties. What kills performance are not memory copies, but locks. Parallel nonblocking IO and a non POSIX stdlib will bring you far away from C++ or Rust performance.
> What kills performance are not memory copies, but locks. I'm pretty sure if every thread executing an LLM model had to have its own copy that that would murder performance more than any lock does, and it won't even be close. It's cheaper to copy than to lock when the data is small , but that does not scale and it also ignores things like reader/writer locks where the data is primarily read-only, at least during the…
Exactly this.