liveBook · Manning

Evaluation

The process by which a programming language determines the value and effects of an expression or other executable construct.

How 2 Manning books explain it

Modern C, Third Edition

An evaluation is the execution of a C expression or other construct to determine its value and associated effects.

How it is used
Frames program behavior as changes to abstract state and provides ordering tools for reasoning about concurrent execution.
How deep it goes
Defines effects and relates evaluations through sequencing, synchronization, and atomic modification order without detailing hardware execution.
Examples
Uses `(void)0`, atomic increments and assignments, and a two-thread modification-order diagram.
What you can do after
Evaluate effects and reason about correctness or performance using sequencing, synchronization, and atomic modification order.

Read how Modern C, Third Edition explains evaluation →

Type-Driven Development with Idris

The process of computing the value of an expression by executing its semantics.

How it is used
Separates pure computation from runtime interaction and lets type checking compare expressions after reduction.
How deep it goes
Works through type-level reductions and explains where pattern matching cannot proceed with an unknown argument.
Examples
Compares Vect 4 with Vect (2 + 2), and contrasts 1 + k with k + 1.
What you can do after
Understand how Idris reduces type expressions and when an equality proof is needed to reconcile their forms.

Read how Type-Driven Development with Idris explains evaluation →

Also covered in

What to know first

Related concepts

Questions about evaluation

What is evaluation?

The process by which a programming language determines the value and effects of an expression or other executable construct.

Which Manning books explain evaluation?

Modern C, Third Edition and Type-Driven Development with Idris.

What should I know before learning evaluation?

Manning books that teach evaluation usually introduce programming language first.

What is the difference between evaluation and code execution?

The process by which a programming language determines the value and effects of an expression or other executable construct. Code execution is the process by which a computing system runs program instructions to produce results or effects.

What kinds of evaluation are there?

Kinds of evaluation include argument evaluation.

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.