4 ms·
One of the common comments in this thread is "can't we just make standard interfaces in std?" "well, no, sync+send is hard" I can't help but wonder if there ar
by eximius 3y ago
One of the common comments in this thread is "can't we just make standard interfaces in std?" "well, no, sync+send is hard"
I can't help but wonder if there are two sets of interfaces necessary? a set of standard single-threaded traits and a set of multi-threaded traits? would that be sufficient?
As an aside, what workloads require true multithreaded reactors as opposed to a runtime which uses multiple singlethreaded reactors?
- yencabulator 3y ago> As an aside, what workloads require true multithreaded reactors as opposed to a runtime which uses multiple singlethreaded reactors? For example, DataFusion spreads query processing over multiple cores by having the data flow be a "streaming DAG of record batches" (or something like that), as in futures::Stream. https://docs.rs/datafusion/latest/datafusion/ https://docs.rs/datafusion/latest/datafusion/ https://docs.rs/datafusion/latest/datafusion/execution/trait.RecordBatchStream.html https://docs.rs/datafusion/latest/datafusion/execution/trait...