Top 1,000 Features Creators Events Podcasts Extensions Blog Explorer CSV Download


< >

K is a programming language created in 1993 by Arthur Whitney.

#315on PLDB 31Years Old

K is a proprietary array processing language developed by Arthur Whitney and commercialized by Kx Systems. Since then, an open-source implementation known as Kona has also been developed. The language serves as the foundation for kdb+, an in-memory, column-based database, and other related financial products. Read more on Wikipedia...

Example from hello-world:
"Hello World\n"
/ Hello world in K "Hello world!"

Language features

Feature Supported Token Example
Binary Literals
/ [01]+b
/ [0-9]+[ihtuv]
/ ([0-9]*[.]?[0-9]+|[0-9]+[.]?[0-9]*)[eE][+-]?[0-9]+[ef]?
/ [0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}
Line Comments /
/ A comment
Semantic Indentation X

View source

- Build the next great programming language · About · Resources · Acknowledgements · Part of the World Wide Scroll