3 ms·
It's really hard for me to imagine a world being _less_ useful where a program like ls not only specifies the structure of its output in a way I can automatical
by binary132 3y ago
It's really hard for me to imagine a world being _less_ useful where a program like ls not only specifies the structure of its output in a way I can automatically read fields of without hand-parsing it, but also can be used by linking instead of having to run it in a subprocess whose input and output I have to manage, buffer, and so on and so forth.
- Kamq 3y ago> useful where a program like ls not only specifies the structure of its output in a way I can automatically read fields of without hand-parsing it I don't think C ABI gets you this. Passing structs across ABI boundaries is kinda iffy, especially if you're using a different compiler than the program was originally compiled with. And lord knows what non-C programs would try to do.
- binary132 3y agoI get it but all I can hear over and over is “arbitrary strings are better than a sound typesystem” and we all know that’s just not true.