Q (programming language from Kx Systems)
| q | |
|---|---|
| Paradigms | Array, functional |
| Family | APL |
| Designed by | Arthur Whitney |
| Developer | KX Systems |
| First appeared | 2003 |
| Stable release | 4.1
/ February 13, 2024 |
| Typing discipline | dynamic, strong |
| Website | code |
| Influenced by | |
| A+, APL, Scheme, k | |
Q is a programming language for array processing, developed by Arthur Whitney. It is proprietary software, commercialized by KX Systems. Q serves as the query language for kdb+, a disk based and in-memory, column-based database. Kdb+ is based on the language k, a terse variant of the language APL. Q is a thin wrapper library around k, providing a more readable, English-like interface. One of the use cases is financial time series analysis, as one could do inexact time matches. An example is to match the a bid and the ask before that. Both timestamps slightly differ and are matched anyway.