3 ms·
> pure functions applied to immutable objects (or objects held in a transition) can be applied in parallel I have been writing code like this every day using S
by threeseed 4y ago
> pure functions applied to immutable objects (or objects held in a transition) can be applied in parallel
I have been writing code like this every day using Scala for years.
With frameworks like ZIO (zio.dev) making this trivial to do.
None of which is faster than if I had wrote that code imperatively using say Java. It is definitely easier and safer to write. But performance is about far more than just optimised threading constructs on top of immutable data structures.