node.js-like C++ Async Readable Streams - Sane C++ Libraries [ep.28]
Автор: Stefano Cristiano
Загружено: 2024-10-25
Просмотров: 185
Showcase how to start implementing a Stream abstraction similar to the one provided by node.js (https://nodejs.org/api/stream.html)
Code has been cleaned up and committed but it includes also the Readable Async part that will be shown in the next (already recorded) video.
https://github.com/Pagghiu/SaneCppLib...
I've been trying to improve the audio, so please let me know in the comment if you find it better :)
/ discord
/ pagghiu_
https://pagghiu.bsky.social
https://mastodon.gamedev.place/@pagghiu
00:00 Intro
01:00 node.js streams
09:33 Constraints
12:03 Design Decisions
16:22 State Machine
20:14 Setup AsyncStreams
23:36 Event
35:56 AsyncBufferView
37:36 AsyncBufferPool
45:28 CircularBuffer
58:33 AsyncReadableStream
1:14:03 Readable stream test
1:36:10 Debug test
1:46:21 Conclusion
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: