3 ms·
“ Imagine interoperability nightmare when we cannot rely on everything being just bytes being streamed.” As I’ve noted above, the problem isn’t transmittabilit
by hhas01 7y ago
“ Imagine interoperability nightmare when we cannot rely on everything being just bytes being streamed.”
As I’ve noted above, the problem isn’t transmittability; the problem is never knowing what the bytes being transmitted represent.
I mean, C is hardly renowned for the robustness or expressivity of its “type” system, but untagged untyped byte streams are tantamount to declaring all data as void*. That is a ridiculously shaky foundation to build on, yet could have been entirely avoided by simple addition of one more piece of metadata and an ftype() API.
K&R were brilliant, but also kinda dumb. I certainly wouldn’t want to eat chicken cooked by either one.