« Can I simply invoke garbage collect and clear the root namespace instead of restarting the process to reinitialize my database? | Main | Given a value, how do I get the null of that value's type? »

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.

PrintView Printer Friendly Version

EmailEmail Article to Friend

Reader Comments

There are no comments for this journal entry. To create a new comment, use the form below.

PostPost a New Comment

Enter your information below to add a new comment.

My response is on my own website »
Author Email (optional):
Author URL (optional):
Post:
 
All HTML will be escaped. Textile formatting is allowed.