Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
rational_indian
· 2y ago · 0 comments
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?
Comments
[–]
Ragnarork
2y ago
The closest is GLib and it's absolutely not fun to work with.
[–]
simon_void
2y ago
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...
[–]
rational_indian
OP
2y ago
Cargo is just half the story. The other half is rust itself. It is an excellent language for writing abstractions.