4 ms·
Rust makes concurrency really easy, at least in comparison to C or C++. It has great cross-platform frameworks available, like Tokio which pgvecto.rs uses, and
by maximilianburke 3y ago
Rust makes concurrency really easy, at least in comparison to C or C++. It has great cross-platform frameworks available, like Tokio which pgvecto.rs uses, and makes using them safe and straightforward.
- ink_13 3y agoC also makes concurrency very easy. So easy the uncareful regularly shoot off both feet. Too easy.
- packetlost 3y agoIt's hard to get concurrency right in C
- throwawaymaths 3y agoI wonder if having that sort of "safe concurrency" causes developers to overuse concurrency and introduce coordination costs. Do we know that tokio's concurrency strategy is optimal for database access?
- fsociety 3y agoLet’s assume that this is true. Then is the solution to go back to C where it is hard to get concurrency running correctly? Seems backwards thinking.
- throwawaymaths 3y agoNo, the solution is to keep the thing that's running quite well in c unless you can prove that it's better?
- maximilianburke 3y agoStarting with a claimed 20x speedup seems like proving it's better? https://modelz.ai/blog/pgvecto-rs https://modelz.ai/blog/pgvecto-rs