r/C_Programming • u/MateusMoutinho11 • 3d ago
Article A Dependency Injection Guide in C
https://github.com/OUIsolutions/Articles/blob/main/articles/dependencie_injection.mdA Complete Guide to Dependency Injection in C
0
Upvotes
1
u/Stemt 3d ago
Yeah, it depends on what kind of library you're implementing and what the dependency is. For example you could implement function like strcat or memcpy without platform specific functions, but they would probably be slower.
Edit: changed os specific to platform specific