Re:Arthur Whitney releases an open-source K with MIT license
by BeefWellington on Saturday June 01, 2024 @08:57AM
(#40545354)
When writing code in this manner, lines of code is kind of a meaningless metric. You could put the entire Linux kernel in one very long line of C.
Re:Arthur Whitney releases an open-source K with MIT license
by papercrane on Saturday June 01, 2024 @09:20AM
(#40545522)
It was meant just as an indicator of the code density. The actual line lengths are ~80 chars.
For example, he wrote an early J interpreter this way in 1989. There's also a buddy allocator he wrote at Morgan Stanley that's only about 10 lines of C code.
https://code.jsoftware.com/wiki/Essays/Incunabulum
https://github.com/tavmem/buddy/blob/master/a/b.c