Learning Zig Live - Chapter 11
Автор: INCD021
Загружено: 2025-12-14
Просмотров: 13
Описание:
Wrestling with Zig’s lazy stdin reader, buffer limits, and confusing error handling.
Poking at filesystem APIs. After creating a test file and lots of trial and error with flags, the host finally reads the file to the console.
Chapters:
00:00 - Hello again, new webcam, and recap of the stdin buffer challenge
00:02:42 - Discovering the lazy stdin reader and why the loop keeps reusing the buffer
00:04:51 - Seeing buffer overflow errors and the need for a different reader
00:07:28 - Brainstorming the next mini-project (base64? file read?) and choosing file I/O
00:08:05 - Setting up to read a file and copy-pasting the starting code
00:23:12 - Creating test.ext and experimenting with directory listing APIs
00:49:31 - Refactoring directory info naming and leaning on the editor
01:04:25 - Remembering to flush and successfully reading eight bytes from the file
01:08:34 - Wrap-up and plans to handle every possible error next time
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: