Hasty Briefsbeta

Gleam OTP – Fault Tolerant Multicore Programs with Actors

a day ago
  • #OTP
  • #Gleam
  • #Actor Framework
  • Gleam's actor system is built with goals including full type safety, compatibility with Erlang's OTP, fault tolerance, and equivalent performance.
  • The library provides different types of actors: processes (low-level), actors (commonly used, similar to Erlang's gen_server), and supervisors for hierarchical process structures.
  • Supervisors enhance fault tolerance by restarting crashed processes and terminating them during application shutdown, forming supervision trees.
  • Not all Erlang/OTP functionality is included due to type safety constraints or being in development, such as further process supervision strategies.
  • Actors currently do not support all OTP system messages, affecting some debugging APIs, with unsupported messages being discarded.