Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

That's the problem with C. It cannot have a sane cargo like system. The language is not built for writing libraries. There is a reason why everyone keeps reinventing the wheel when it comes to datastructures in C. Where is STL for C?


The closest is GLib and it's absolutely not fun to work with.


you could use the Zig build system as your C build system. See https://zig.news/kristoff/make-zig-your-c-c-build-system-28g...


Cargo is just half the story. The other half is rust itself. It is an excellent language for writing abstractions.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: