How portable is q code across operating systems?

kdb is available on Windows, Linux, Solaris and Mac OS X. Like most functional languages, q is a very high level language. As long as you stick with forward slashes in your file paths, you will be rarely notice the difference between operating systems. The only significant issue we’ve come across is that multi-threading is not supported on Macs.

If you do need to distinguish different operating systems, use the variable .z.o to detect the operating system in which your code is running.


This work is licensed under a Creative Commons License.
The views and opinions expressed herein are those of the authors and do not necessarily reflect those of any other person or legal entity.
Kdb+ is the registered trademark of Kx Systems, Inc.