K4

From The K Language Wiki
K4
Developer KX Systems
Released 2000

Temporal types yes
Table support no
Prototypes none

Implemented in C
Platforms x86, ARM
Operating Systems Windows, Linux, OSX
License proprietary

Website https://kx.com
Documentation Online Docs

Influenced K5
Influenced By K3

K4 is the major dialect behind the primary implementation provided by KX Systems [1]. K4 is usually bundled with its accompanying query language Q to form the data processing product kdb+.

Documentation[edit]

Documentation for K4 is available online at KX Systems. [2]

History[edit]

K4 is the longest surviving dialect of K due to 20 years of support by KX systems.

In 2018[3], KX Systems released Fusion[4], an open source language integration project that was added alongside their existing IPC and C/C++ interfaces.

Changes from K3[edit]

Many changes can be seen from K3 to K4.

Primitive changes:

  • % from reciprocal to square root
  • ^ from shape/power to except/fill
  • monadic @ from atom? to type

The system values (prefixed with an underscore) from K3 are no longer present in K4, which uses predefined names for system functions. Some other functions are prefixed with a ..

References[edit]