A defining feature of Rust is its concept of aliasing ⊕ mutability . This rule governs that at any time a value may either have multiple immutable shared references, or a single mutable unique reference, and never both. While this greatly helps in producing fast, efficient and correct code, it can be limiting. To this end, Rust also features types that bend these rules, like Mutex , RwLock , Cell…
The Elixir language's actor programming model and the Phoenix web framework are particularly well-suited to implement long-running streaming HTTP connections, such as used in Server-Sent Events (SSE) . For example, this blog post on Server-Sent Events with Elixir by Krister Viirsaar succinctly demonstrates how an SSE endpoint can be implemented in Phoenix without using any external libraries.…
I use Emacs and EXWM as my window manager. For this setup, running an Emacs daemon as a systemd-user unit allows me to attach multiple clients to this process (for instance, to work in the same session through an SSH connection on my iPad), and have the daemon survive restarts of my graphical session. However, all subprocesses started from within Emacs—which are virtually all applications & shells…