Measures Concepts
GitHub icon

K

K - Programming language

< >

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

#431on 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
Integers ✓
/ [0-9]+[ihtuv]
Floats ✓
/ ([0-9]*[.]?[0-9]+|[0-9]+[.]?[0-9]*)[eE][+-]?[0-9]+[ef]?
Hexadecimals ✓
/ [0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}
Line Comments ✓ /
/ A comment
Comments ✓
Semantic Indentation X

View source

- Build the next great programming language · Search · Add Language · Features · Creators · Resources · About · Blog · Acknowledgements · Queries · Stats · Sponsor · Day 605 · feedback@pldb.io · Logout