How(approaches) to implement implementing lazy evaluation in the C (Imperative Programming)

38 views
Skip to first unread message

Chethan U

unread,
Sep 18, 2015, 10:37:03 AM9/18/15
to Edmonton Functional Programming Users Group
Hello Sir,

How to implement implementing lazy evaluation in the C (Imperative Programming)?

Lazy evaluation is one of the key features in functional programming languages such as Haskell. This feature allows the programmers to work on infinite series quite easily.  Functional programming languages work at higher abstraction focusing on what needs to be done instead of on how it can be done.

Imperative programming languages focus more on how a goal can be achieved and hence work at a lower level of abstraction.  Therefore, it is natural to ask how such a feature can be implemented in imperative programming languages such as C.

What are the Various Approaches of implementing lazy evaluation in the C programming language.

What are the Constructs required for implementing lazy evaluation logic
 ‘C’ programming language support for the required constructs
Thanks Sir
Reply all
Reply to author
Forward
0 new messages