| |
| ▲ | littlestymaar 5 days ago | parent [-] | | Because the other teams members (IIRC brson and pcwalton) wanted Rust to be as performant as C++, which means you must have a way to have shared memory. | | |
| ▲ | rurban 4 days ago | parent [-] | | 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. | | |
| ▲ | kllrnohj 4 days ago | parent | next [-] | | > 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 concurrent stage. Or where the work can be safely chunked up such that writes don't ever overlap which is very common in graphics | | | |
| ▲ | littlestymaar 4 days ago | parent | prev | next [-] | | Oh yeah, the “ultimate failure of Rust”, and tell me how industrially successful Pony has been compared to Rust? (Don't get me wrong, I liked the idea behind Pony for backend code, it's much saner than Go for the same target space. But it failed to capture that market, because Go was already there. And it was never a competitor to Rust because this model is only viable for web back end tasks, not for general computing). | | |
| ▲ | rurban 4 days ago | parent [-] | | It isn't it a shame that the industry always falls for the liars? The pony model was also better for compute tasks, not just IO. Because it provided safe concurrency, 10x faster than go. | | |
| ▲ | littlestymaar 4 days ago | parent [-] | | No, the pony model isn't better for compute tasks… Think for instance about how you'd do efficient matrix multiplication of two matrices with a million row and column, in Pony, versus how it works in languages with shared memory. You'd spend a gigantic amount of time copying data for no good reason… | | |
| ▲ | rurban 4 days ago | parent [-] | | Of course pony can do shared memory. How about clevering up? | | |
| ▲ | littlestymaar 2 days ago | parent [-] | | Ditching the pony model to defend it is a very strange version of the mote and bailey fallacy. |
|
|
|
| |
| ▲ | kobebrookskC3 4 days ago | parent | prev [-] | | > Rust just survived by lying about the its safeties. strong claim. care to back it up? |
|
|
|