OTP Process Abstractions with proc lib
summary
Shows how to build an OTP‑compliant process abstraction with proc_lib instead of wrapping gen_server, implements a small gen_lsp behavior (start_link, handle_request/notification/info) and a Credo language server that runs Credo, stores diagnostics in a cache (Agent), and publishes results to the editor. Demonstrates sys callbacks for debugging, supervision compatibility, and claims "a few lines of code" to wire it; demo reports ~482 Credo issues in Phoenix and the libraries exist as pre‑alpha working code.
AI-written summary · about
chapters (6)
- 0:0003:46 - Intro
- 3:4709:28 - What makes the BEAM special?
- 9:2911:10 - :gen_server
- 11:1126:18 - Language Server Protocol: A quick primer
- 26:1928:28 - Demo. We're doing it live!
- 28:2932:13 - QnA
related talks
36motplike – Erlang/OTP processes and behaviours for Clojure
43mConcurrency Abstractions for Application Security
18mHold My State: The Problems of Process State
23mElixir GenServer: Understanding Elixir concurrency model
32mModern Erlang Teaching from Code Refactoring to Actor System Verification
52mConcurrency Oriented Programming in a Modern World
42mProcess signals in OTP 21
40mComparison and Commentary on "Application Operating System"
