3 ms·
> reference the same binary blob Is there some way to share data whose structure is actually understood and checked (statically or dynamically) by the language
by catnaroek 10y ago
> reference the same binary blob
Is there some way to share data whose structure is actually understood and checked (statically or dynamically) by the language?
> to have multiple processes read and write data to and from it.
How did you coordinate those reads and writes? A writer not having exclusive access to what it's writing to, at the time of the writing... sounds... very bad.
> sell me on why I need data parallelism.
Just to name one example: machine learning. If you're feeding real-time data to a ML algorithm, chances are you'll have to perform multiple independent calculations that use the same data as input. To speed up those calculations, you need to perform them in parallel.