Chapter 5: Input/Output Operations
This chapter will expand upon the CLI application started in the last chapter with a focus on input/output (IO) operations. It will cover the following topics:
- Supporting terminal-based IO such as STDIN/STDOUT/STDERR
- Supporting additional IO
- Performance testing
- Explaining IO behavior
By the end of this chapter, you should have a working understanding of IO operations, including how to use them and how they behave. With these concepts, you will be able to build interactive, efficient stream-based algorithms that could be used in a variety of applications. Knowing how IO behaves will also set you up for understanding more advanced concepts that will be covered in future chapters, such as Chapter 6, Concurrency ...
Get Crystal Programming now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.