carray(1) is a tiny but flexible Sortix program that turns a binary file into a C file <https://sortix.org/man/man1/carray.1.html …> <https://gitlab.com/sortix/sortix/blob/master/carray/carray.c …> $ echo foo > bar $ carray bar unsigned char bar[] = { 0x66, 0x6F, 0x6F, 0x0A, };
-
-
Can't find the thread at the moment, but it was recently discussed that huge array blows up gcc's ast but huge string avoids it. Ugly but works.
-
Does that workaround also work for line broken strings, say 80 column implicitly appended strings? But really, a compiler benchmark is needed and then an efficient representation in the compiler.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.