r/cprogramming • • 22h ago

I wrote a compiler entirely in NASM x86-64 assembly — no LLVM, no C runtime, no external deps

Thumbnail
0 Upvotes

r/cprogramming • • 18h ago

Small CLI tool for extracting video fragments from RTSP archived streams

Thumbnail
github.com
3 Upvotes

Hello, community! I am currently learning how to manipulate buffers, bytes and strings in C and I created this tool (mostly for myself) to better understand RTSP network protocol. I know similar tools exist but this one have very few settings so should be easier to use when all you need is to exract part of the video. It would be nice if someone take a look at the code and give me some feedback regrading my coding style and the quality of code. I think I used relatively efficient way to parse bytes coming from the network but I might be wrong. Also this tool aims to be zero allocation one so if it is not please let me know.

P.S. Since this a project for self-educating, no AI tools were used during development, README is written by myself with terrible English.