38 ms·
I can launch gdb and attach it to the current process in 5 lines, hardly worth pulling a library dependency for.
by mgaunard 4y ago
I can launch gdb and attach it to the current process in 5 lines, hardly worth pulling a library dependency for.
- anewhnaccount2 4y agoCosmopolitan is a replacement standard library. It's not so much "pulling-in" a library as replacing e.g. glibc. The point of the blog post is that it's a libc but also a batteries included C development environment. On the one hand, it's nothing magic, on the other hand, it does have some nice concordances which are worth showing off.
- tom_ 4y agoThis is exactly the sort of drudgery from which computers were supposed to liberate us.
- mgaunard 4y agoDepending on any third-party software is a huge liability for any professional software development. Dependencies must be chosen and managed carefully. I'm not going to depend on something for something that's trivial; the time it takes for me to write it is less than it takes to do a license review and integrate it into my build system.
- tom_ 4y agoImagine if liberating one from drudgery were merely table stakes, and that it would be ridiculous to imagine that you would have to go to any effort to have the debugger pop up when shit fucks up.