Get the latest tech news

What about K?


Introduction¶ k is a family of concise, fast vector-oriented languages designed by Arthur Whitney. Calling k a “family” is deliberate; there is no single definitive k, but instead a sequence of slightly incompatible versions.

Compared with APL it’s more consistent (partly a consequence of Arthur’s propensity for always starting from scratch), perhaps a smidge less mathematically pure (instead choosing to optimise for speed and pragmatism), fewer “batteries included” and with a vector-, rather than array-oriented model. Reputedly, Arthur always starts from scratch when making the next generation of k, happily and deliberately sacrificing backward compatibility in order to build something better and faster, cut fat or revert design decisions that didn’t pan out. The k language deserves a future outside the commercial implementations marketed to the financial industry, and this book will deal solely with open source k. If you’re a hedge fund jock who sees k as a way to get ahead, you’re welcome here, too, but note that we’ll not touch on either q, kdb+ or the Shakti equivalents.

Get the Android app

Or read this on Hacker News