HNHacker News
TopNewBestAskShowJobs

kevinlawler

18 karma · joined August 27, 2010

submissionscomments
kevinlawler··on 2 is a code smell
K handles the general case:

    1 1 1 + 2 2 2
  3 3 3
  
    (1 1 1; 2 2 2; 3 3 3) + (4 4 4; 5 5 5; 6 6 6)
  (5 5 5
   7 7 7
   9 9 9)
kevinlawler··on Kona, an open-source implementation of the K language
I can confirm this isn't an IOCCC entry. It looks like obscurantism, but it isn't. It's C code written as terse as possible, not as confusingly as possible. It takes a while to get used to. It's worth it.

There is significant overhead involved in learning to write C like this. There are also significant gains. It's similar to learning to use vim.

Last I counted the source was something like 250K bytes and still very manageable. If it had been written in a traditional style it would be many times that size and much harder to work with.

kevinlawler··on Kona released: Open source K3.2 [screencast]
K is a great opportunity for anyone looking to work in finance and technology. The programmers are in exceptionally high demand. This project will make it easier to become proficient in K. Anyone looking to branch into this area now has an interpreter and the corresponding source, which wasn't available before.