Learning Koka 2022-08-04

By Max Woerner Chase

I'd mentioned yesterday that I want to think about more concrete problems before I mess with trying to do structured concurrency in Koka.

As to the specific thing I'm choosing, it's not a good fit, I don't think, but I'm interested in at least laying out why it's not. And what is it?

Okay, so, I never used CGI scripts directly. I used to see other people use them all over the place, but by the time I was working on web server stuff for work, I was doing things that used the WSGI. I don't know why, but I just decided, let's see how any of this actually worked.

So, I've got RFC 3875, and I'm looking over it and comparing what it wants to what's possible in Koka (assuming I don't write extensions).

Here's what I've concluded from what I've looked at so far:

So, Koka, which is, keep in mind, experimental and under development, appears to not be ready for the entirety of a use case that it's not explicitly meant to support. I think that's fine for now, and I'd like to mess with the areas that it can support. If it works well, maybe I'll end up with a little static site generator. I don't see such a thing replacing Pelican for me, but it could be neat.

Anyway, I didn't exactly use my time super well today, so I'm not going to go much further for now. I'll try to break things down in a little more detail later.

Good night.