David Renz’s scientific contributions

What is this page?


This page lists works of an author who doesn't have a ResearchGate profile or hasn't added the works to their profile yet. It is automatically generated from public (personal) data to further our legitimate goal of comprehensive and accurate scientific recordkeeping. If you are this author and want this page removed, please let us know.

Publications (2)


Lazy Streams Code
  • Data
  • File available

April 2016

·

619 Reads

David Renz

·

Download

Figure 1.2: 
Figure 2.9: 
Figure 2.11: 
Figure 3.3: 
Implementing Lazy Streams in C++

January 2005

·

329 Reads

·

1 Citation

The Electronic Journal of Mathematics and Technology

We show that the ability of a lazy language, like Haskell, to allow procedures to lazily generate a stream of tokens can be added to ANSI C++ merely by writing code in a style which uses classes to implement function closures. Coding in this style provides an easy way to handle infinite streams in C++, results in application layer implementations that closely resemble a problem's specification, and can be applied to a wide variety of problems in computer science.

Citations (1)


... It is a non-trivial transformation and depends on how the sequence was originally constructed. Thus, we create an on-demand sequence (which is similar to the concept of lazy streams[8] ) that produces data on demand and this data matches the data that would originally have taken place in memory, thereby consuming only the memory accesses to first produce and then consume. This example illustrates the optimization of only one loop. ...

Reference:

Systematic Intermediate Sequence Removal for Reduced Memory Accesses
Implementing Lazy Streams in C++

The Electronic Journal of Mathematics and Technology