K4: Difference between revisions

From The K Language Wiki
Content added Content deleted
(add ref)
No edit summary
Line 14: Line 14:
| docs = [https://code.kx.com/home/ Online Documentation]
| docs = [https://code.kx.com/home/ Online Documentation]
}}
}}

''This page is incomplete.''


K4 is the major dialect behind the primary implementation provided by [[KX Systems]]<ref>https://kx.com</ref>. The K4 spec is generally paired with kdb+, and Q, its accompanying query language.
K4 is the major dialect behind the primary implementation provided by [[KX Systems]]<ref>https://kx.com</ref>. The K4 spec is generally paired with kdb+, and Q, its accompanying query language.
Line 21: Line 19:


== History ==
== History ==
K4 is the longest surviving dialect of K, due to Kx Systems' support of it for more than 20 years as of current date.

In 2018<ref>https://www.anaconda.com/blog/anaconda-and-kx-systems-partner-to-deliver-kdb-database-system-and-related-machine-learning-libraries</ref>, KX Systems released Fusion<ref>https://code.kx.com/q/interfaces/fusion/</ref>, an open source language integration project that was added alongside their existing IPC and C/C++ interfaces.


== Changes from K3 ==
== Changes from K3 ==

Revision as of 11:20, 26 February 2022

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 Documentation

K4 is the major dialect behind the primary implementation provided by KX Systems[1]. The K4 spec is generally paired with kdb+, and Q, its accompanying query language.


History

K4 is the longest surviving dialect of K, due to Kx Systems' support of it for more than 20 years as of current date.

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

Changes from K3

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