Programming in K

(github.com)

23 points by tosh3 days ago

1 comments

  • chrisaycock43 minutes ago
    I first encountered q&#x2F;kdb+ at a quant job in 2007. I learned so much from the array semantics about how to concisely represent time-series logic that I can&#x27;t imagine ever using a scalar language for research.<p>Fun fact: the aj (asof join) function was my inspiration for pandas.merge_asof. I added the extra parameters (direction, tolerance, allow_exact_matches) because of the limitations I kept hitting in kdb.<p><a href="https:&#x2F;&#x2F;code.kx.com&#x2F;q&#x2F;ref&#x2F;aj&#x2F;" rel="nofollow">https:&#x2F;&#x2F;code.kx.com&#x2F;q&#x2F;ref&#x2F;aj&#x2F;</a><p><a href="https:&#x2F;&#x2F;pandas.pydata.org&#x2F;docs&#x2F;reference&#x2F;api&#x2F;pandas.merge_asof.html" rel="nofollow">https:&#x2F;&#x2F;pandas.pydata.org&#x2F;docs&#x2F;reference&#x2F;api&#x2F;pandas.merge_as...</a>
    • zX41ZdbW16 minutes ago
      Similarly, this is how it was introduced in ClickHouse in 2019: <a href="https:&#x2F;&#x2F;github.com&#x2F;ClickHouse&#x2F;ClickHouse&#x2F;pull&#x2F;4774" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;ClickHouse&#x2F;ClickHouse&#x2F;pull&#x2F;4774</a>