[Pharo-users] Lazy Streams - was: Re: Set >> collect:thenDo:

Kasper Østerbye kasper.osterbye at gmail.com
Tue Sep 10 05:30:36 EDT 2019


On 10 September 2019 at 00.56.28, Richard O'Keefe (raoknz at gmail.com) wrote:

Does that sound like a way forward?
I could convert my implementation of this interface to
Pharo if people would like me to.

Hi Richard,

It seems like what you propose (in sofar as I understand it) is already
present in at least three other libraries which have not yet made it to the
core of Pharo:

The Iterator framework Julien is working on:
https://github.com/juliendelplanque/Iterators

The XStreams framework: https://code.google.com/archive/p/xtreams/
<https://code.google.com/archive/p/xtreams/>

The transducers: https://github.com/Pharophile/Transducers
<https://github.com/Pharophile/Transducers>

I was not aware of the virtual collections from Strongtalk.

I am aware you know them (as you commented on the Iterators Julien
proposed).

I have been working with the LINQ stream/iterator framework in C#, and
found that to be a rather sound library, lazy evaluation. The streams in
Java are also nice, and are actually very good at exploiting multi cores.

It is sad there is no lazy streams in the core of Pharo, and I would find
it intersting to participate in a project to build one.

Best,

Kasper
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pharo.org/pipermail/pharo-users_lists.pharo.org/attachments/20190910/7de99197/attachment.html>


More information about the Pharo-users mailing list