Hacker News new | ask | show | jobs
by pests 1046 days ago
A lot of these single-file LLM scripts like the original llama.cpp and the llama2.cpp posted here a bit ago are both self-contained.
1 comments

I think that with C++ projects the only goal there is to keep the build simple since building C++ sucks. This is also the reason why there's many header-only libraries.

StackOverflow| Benefits of header-only libraries: https://stackoverflow.com/questions/12671383/benefits-of-hea...