Agner Fog's VCL library is extremely approachable. Just download it and get stuck in.
Manual
https://www.agner.org/optimize/vcl_manual.pdf
GitHub
https://github.com/vectorclass/version2
Even for trivial stuff like linebreaking input files, massive speedups are there for the taking.