logoalt Hacker News

Show HN: Katharos Functional programming and CSP-style concurrency for Python

33 pointsby kamalftoday at 10:45 AM8 commentsview on HN

Comments

h2aichattoday at 6:36 PM

Would it help if I tell you could start with the big-picture of what it does and what problem solves and then jump the details? Just an idea!

kamalftoday at 10:45 AM

I've been working on Katharos, a functional programming and concurrency library for Python 3.13+. The idea behind it is simple: absence, errors, effects, and concurrent communication should be explicit, composable values instead of hidden control flow.

show 2 replies
whattheheckhecktoday at 4:30 PM

Can you focus on mlops and data pipelines at scale as well as locally. I want to incorporate this into PySpark or Ray to be able to have better composition. Also include plugins or something for arbitrary "registers" or extra logging of things like events for observability outside of normal instrumentation like dyantrace

almosttoday at 4:21 PM

It's probably worth being up front about what your do syntax actually does. A generator is not as general as "do", Python doesn't have call/cc or anything like that. I checked and you (or Claude I guess) do it by rerunning the whole thing each time for things like the list monad which is not something I think anyone would want for anything more than a toy.

show 1 reply