Skip to main content
  • 858 Accesses

Abstract

In which we learn that when you are code you are never alone. That the universe evolves in time and software execution requires temporal interaction between many parts.

Code executes in time. The universe evolves through time. We might not understand what that means, but the implications for the nature of code we write are strong. In particular, a pure function is timeless and an interactive program has irreversible side effects. Once the paper is printed, it can’t be unprinted.

Edsger Dijkstra refers to it as the problem of the mosquito and the elephant. If you start with two tiny programs and let them interact you can find you have an enormous and complex beast on your hands.

But this is the nature of any program that must interact with the universe, and there are many nice solutions to various problems that involve multiple programs running at the same time.

The technicalities of the distinction between multi-programming, multithreading, parallel programming, multi-tasking, and other similar terms and concepts are not the issue here. The question is simply, what happens when two programs interact? Or a program interacts with the outside universe?

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Rights and permissions

Reprints and permissions

Copyright information

© 2006 Springer-Verlag London Limited

About this chapter

Cite this chapter

(2006). Temporal Interaction. In: Theoretical Introduction to Programming. Springer, London. https://doi.org/10.1007/1-84628-263-2_8

Download citation

  • DOI: https://doi.org/10.1007/1-84628-263-2_8

  • Publisher Name: Springer, London

  • Print ISBN: 978-1-84628-021-4

  • Online ISBN: 978-1-84628-263-8

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics