Comment

Comment by arohner

It is a tall order, but but it's doable. The most important thing is to reduce the surface area of your application. Our business logic is almost entirely pure. The 'procs' have no side effects, except for things that happen on the other side of a clojure protocol (java interface). That means all side effects can be stubbed out during tests.

Our "user" code has no access to threading libraries. Threading happens in "kernel" code.

Watch https://www.youtube.com/watch?v=4fFDFbi3toc for a good example of how this has already been done in practice.

parent arohner 3 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton