Live data from Hacker News

K: War on Raze

gist.github.com

21–23 of 23 posts

Re: K: War on Raze

#21
post #20
post #19

Earlier quoted context omitted.

Yeah, I've not used lisps much myself but it's definitely similar. See https://kparc.com/lisp.txt . The quote by Alan Perlis, 'It is better to have 100 functions operate on one data structure than 10 functions on 10 data structures.' is also relevant to both lisp dialects and array languages.

Oh, of course. Lisp is maybe a more natural analogue. I guess Clojure takes things a step further. It goes from "everything is a list" to something slightly broader with Vectors/Maps/Sets/etc. - all through language primitives. (the algorithmic layer is cleverly done through the sequence abstraction) Coming from C++, in effect having your STL containers/algos baked into the language is a breath of fresh air :)

Good maps + sets + other data structures is definitely something that I miss occasionally in array languages. I should look into Clojure more, I've heard lots of good things about it.

Re: K: War on Raze

#22
post #15
post #7

Earlier quoted context omitted.

What industry do you work in? Is it a common stack there?

Main industry for kdb+/q is finance, specifically sell-side or very large buy-side firms. I wouldn't call it "common", but it's pretty well known. kdb+/q devs certainly have good job security, heh.

Correct. I'm in trad-fi (traditional finance). The job security is fantastic and the offers are plentiful. The community and support groups are quite small, but very supportive. It just requires a lot more research and effort (compared to JavaScript, Python, Rust, etc.) to find solutions to your problems.

Re: K: War on Raze

#23
post #12

Is there an ngn k equivalent of "hcount" (-7!x)?

Size of a file in bytes? Nothing built in (afaik) but pretty easy to define yourself. hcount:#1::

Why did Arthur make this a builtin.

The beauty of ngn k is I can compile it on NetBSD and with musl on Linux.

Post reply on HN