liveBook · Manning

I/O

I/O is the transfer of data between a program and an external source or destination, such as a file, device, service, or network.

How 4 Manning books explain it

Python Concurrency with asyncio

An I/O operation transfers data between a program and an external resource such as a file, device, or network endpoint.

How it is used
Frames I/O as the main source of application blocking and motivates concurrency for responsive programs.
How deep it goes
Explains blocking, concurrency, and GIL release during I/O, but stops short of detailed system-call mechanics.
Examples
Uses keyboards, hard drives, network cards, web APIs, and repeated example.com status-code requests.
What you can do after
Apply concurrency with asyncio or threads to overlap waiting web requests and improve responsiveness.

Read how Python Concurrency with asyncio explains I/O →

F# in Action: A Revised Edition of Get Programming with F#

External I/O is input or output involving a resource outside the program, such as a network service or database.

How it is used
Uses I/O to organize interactions with HTTP, databases, files, consoles, and other external resources.
How deep it goes
Explains boundary placement and asynchronous use cases, but stops short of implementation details or type-level enforcement.
Examples
Uses HTTP requests, database calls, console interaction, file systems, JSON validation, SQL commands, and HTTP responses.
What you can do after
Apply it via boundary-oriented design that keeps business logic pure and makes asynchronous external work explicit.

Read how F# in Action: A Revised Edition of Get Programming with F# explains I/O →

The Quick Python Book, Fourth Edition

I/O is the transfer of data into and out of a program through streams, files, devices, or other interfaces.

How it is used
Handles interactive input, terminal streams, file redirection, text and binary files, and persistent Python data.
How deep it goes
Explains input conversion, stream methods, redirection and restoration, then points to specialized persistence and binary-format tools.
Examples
Demonstrates input(), integer conversion, sys.stdin.readline(), stdout redirection, print(file=f), and captured file contents.
What you can do after
Apply Python’s input, stream, file, path, binary-format, and persistence interfaces to move or save program data.

Read how The Quick Python Book, Fourth Edition explains I/O →

Code Like a Pro in Rust

I/O is the exchange of data between a program and an external source or destination such as a file, device, or network.

How it is used
Frames I/O as a stateful operation requiring error handling, testing, and an execution model suited to waiting time.
How deep it goes
Explains blocking and nonblocking behavior, waiting-time interleaving, and testing implications without detailing specific APIs.
Examples
Uses filesystem access, sockets, timers, hash computation, and a blocking-versus-nonblocking timing figure.
What you can do after
Evaluate whether synchronous blocking or asynchronous nonblocking I/O better fits waiting-heavy workloads and test I/O paths appropriately.

Read how Code Like a Pro in Rust explains I/O →

Related concepts

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.