I was surprised at how verbose and commented the code was. Then I read the note saying that Whitney's original code was in `ref/` and the two files in the root were annotated by other kparc members.
Whitney is an unrealized IOCCC champion.
K/simple: a tiny K interpreter for educational purposes by Arthur Whitney
31–40 of 93 posts
Re: K/simple: a tiny K interpreter for educational purposes by Arthur Whitney
#32Earlier quoted context omitted.
Whitney is an unrealized IOCCC champion.
> Whitney is an unrealized IOCCC champion. no, that'd be fabrice bellard, who is actually a "realized" ioccc champ. atw doesn't do obfuscated c. you are led astray.
He writes as most of us code-golf. Makes you wonder how good his golfing would be if he tries.
Re: K/simple: a tiny K interpreter for educational purposes by Arthur Whitney
#33I was surprised at how verbose and commented the code was. Then I read the note saying that Whitney's original code was in `ref/` and the two files in the root were annotated by other kparc members.
Whitney is an unrealized IOCCC champion.
Re: K/simple: a tiny K interpreter for educational purposes by Arthur Whitney
#34Earlier quoted context omitted.
Whitney is an unrealized IOCCC champion.
Pity that he writes in C; if he wrote in JavaScript, he wouldn't need a minifier.
Re: K/simple: a tiny K interpreter for educational purposes by Arthur Whitney
#35[flagged]
Re: K/simple: a tiny K interpreter for educational purposes by Arthur Whitney
#36This looks like a cult I would happily dive into. Does anyone care to ELI5? I tried to read the code but did not understand a single line
Arthur Whitney is showing how to build an array language using C in array language form. AW is known for kdb+ which is often used in finance due to its extreme performance properties and ability for quants to quickly explore ideas. Personally, to get a better handle on how array languages worked, I implemented KlongPy which is a python implementation of Klong, which descends from K (which AW wrote). You have to play…
Re: K/simple: a tiny K interpreter for educational purposes by Arthur Whitney
#37Earlier quoted context omitted.
Pity that he writes in C; if he wrote in JavaScript, he wouldn't need a minifier.
Sorry, you didn't get him. He does not do it for the sake of making it harder to read, nor he would entertain language like Javascript.
shakti.com has a suspiciously familiar looking snippet of javascript
was it him?
Re: K/simple: a tiny K interpreter for educational purposes by Arthur Whitney
#38Earlier quoted context omitted.
Whitney is an unrealized IOCCC champion.
> Whitney is an unrealized IOCCC champion. no, that'd be fabrice bellard, who is actually a "realized" ioccc champ. atw doesn't do obfuscated c. you are led astray.
Re: K/simple: a tiny K interpreter for educational purposes by Arthur Whitney
#39I have a longstanding fascination with K and other "modern" APL derivatives. There are a few intersecting truisms about coding that I believe: one is that people's working memory varies: some have an immense amount, some less. Humans definitely process spatially better than in time series (e.g. comparing side by side rather than turning over a page.) This implies you should prefer succinct code and languages because…
Re: K/simple: a tiny K interpreter for educational purposes by Arthur Whitney
#40I have a longstanding fascination with K and other "modern" APL derivatives. There are a few intersecting truisms about coding that I believe: one is that people's working memory varies: some have an immense amount, some less. Humans definitely process spatially better than in time series (e.g. comparing side by side rather than turning over a page.) This implies you should prefer succinct code and languages because…