Home

Awesome

Quickstart

memento-mori is hosted at Github. You can download it there if it's not available on quicklisp yet.


CL-USER> (ql:quickload 'memento-mori)
To load "memento-mori":
  Load 1 ASDF system:
    memento-mori
; Loading "memento-mori"

(MEMENTO-MORI)
CL-USER> (defparameter *scheduler* (mori:make-threaded-scheduler 6))
*SCHEDULER*
CL-USER> *scheduler*
#<THREADED-SCHEDULER [6 threads] #x302000E02CFD>
CL-USER> (mori:send (mori:spawn #'print :scheduler *scheduler*) "Hello, world!")
"Hello, world!"
"Hello, world!"
CL-USER>

Introduction

Remember you must die

memento-mori is a library for writing robust, actor-based systems in Common Lisp. It draws inspiration from Erlang/OTP, particularly its crash-first approach to high-availability systems, as well as Akka. memento-mori works under the assumption that whatever you do, you will eventually crash, and thus the best way to keep a system running is to try to limit the damage and recover.