logoalt Hacker News

Common Lisp SDK for the Datastar Hypermedia Framework

70 pointsby fsmunozyesterday at 3:47 PM8 commentsview on HN

Comments

fsmunozyesterday at 3:51 PM

This is my attempted at something that makes using Common Lisp with Datastar easier. To test the SDK I made this demo that shows the simulation of the Cassini-Huygens mission using the NASA SPICE toolkit and JPL Horizons API: https://dataspice.interlaye.red/

The Datastar API itself is very simple, 3 functions or so, I ended up wasting a lot more time on stuff like leeping the SSE stream open, compression support (zstd only atm), and trying to use CLOS in a way that would fit both Hunchentoot and Clack (not always easy).

show 1 reply
kscarletyesterday at 4:32 PM

> Each SSE connection blocks one worker for its entire duration.

Have you tried wookie? Such extreme case of blocking the event loop... negates any benefit of async processing.

show 1 reply
rybosomeyesterday at 4:47 PM

Thanks for sharing. I’m curious why the example SPICE application uses Fortran to parse the SPICE data?

show 1 reply