Best of Erlang2024

  1. 1
    Article
    Avatar of hnHacker News·2y

    algora-io/tv: Open source Twitch for developers

    Algora TV is an open-source, interactive livestreaming and video-sharing service tailored for developers. It supports in-video ads through its Live Billboards feature, helping developers monetize their streams. Setting up Algora TV locally requires Elixir, Erlang, PostgreSQL, FFmpeg, and OBS Studio. Documentation includes steps for cloning the repository, setting up the database, and configuring GitHub OAuth and Tigris for media storage and delivery. The platform relies on several external services, but users can skip those they don't need.

  2. 2
    Article
    Avatar of gleamGleam·2y

    Welcome Lambda! – Gleam

    Lambda, a diverse tech company involved in machine learning, crypto infrastructure, video games, and animation, has become the primary sponsor of Gleam, a type-safe and scalable language for Erlang VM and JavaScript runtimes. Lambda utilizes various BEAM languages and has an extensive open-source portfolio, including their latest mobile game, Champions of Mirra. They plan to use Gleam for future backend iterations, underscoring their commitment to the Gleam ecosystem.

  3. 3
    Video
    Avatar of fireshipFireship·2y

    Erlang in 100 Seconds

    Erlang is a fault-tolerant, functional programming language and runtime. It is used in the telecommunications industry to handle millions of phone calls in parallel. Erlang's process isolation and message passing features make it highly scalable and reliable.

  4. 4
    Article
    Avatar of hnHacker News·2y

    Gleam: A Basic Introduction

    Gleam is a statically-typed functional programming language designed for building scalable and maintainable software. Inspired by Elm and Rust, it compiles to Erlang, making it suitable for concurrent and distributed systems. This tutorial covers setting up the development environment, writing a simple 'Hello, World!' program, and demonstrating basic features like variables, types, arithmetic operations, functions, and case expressions.

  5. 5
    Article
    Avatar of gleamGleam·2y

    Gleam version v1.1 – Gleam

    Gleam v1.1 has been released with improvements to the language server, support for Bun runtime, Rebar support, formatter improvements, and more.

  6. 6
    Video
    Avatar of t3dotggTheo - t3․gg·2y

    The Secret Language Scaling WhatsApp and Discord

    Many high-scaling applications like WhatsApp and Discord leverage the Erlang virtual machine (BEAM) for its fault tolerance, concurrency, and distribution capabilities. Erlang, developed in the 1980s for telecommunications, supports lightweight processes and message passing, making it ideal for modern real-time applications. Elixir builds on Erlang's strengths with more developer-friendly syntax, offering powerful tools for scalability and fault tolerance. Companies have successfully used these technologies to handle millions of concurrent users with minimal resources, demonstrating their effectiveness in building reliable, scalable apps.

  7. 7
    Article
    Avatar of hnHacker News·2y

    ergo-services/ergo: An actor-based Framework with network transparency for creating event-driven architecture in Golang. Inspired by Erlang. Zero dependencies.

    The Ergo Framework brings Erlang-inspired ideas and design patterns to Golang, offering a robust solution for creating scalable, distributed, and fault-tolerant systems. Key features include the actor model for isolated actor interaction through message passing, network transparency for location-independent actor interaction, and observability for streamlined service discovery and route management. The framework also provides ready-to-use components for ease of development, built-in support for clustered systems, and robust fault tolerance with supervisor trees. New tools and a separate Erlang network stack module enhance its capabilities, backed by comprehensive documentation and examples.

  8. 8
    Article
    Avatar of newstackThe New Stack·2y

    Introduction to Gleam, a New Functional Programming Language

    Gleam is a new type-safe functional programming language designed for building scalable concurrent systems. It compiles to Erlang and JavaScript, making it compatible with other BEAM languages like Erlang and Elixir. The language focuses on immutability, has no exceptions, and emphasizes type safety. Key features include a straightforward syntax, the absence of `null`, algebraic data types, and built-in package management. It offers an approachable way for developers unfamiliar with functional programming to learn and appreciate its advantages.

  9. 9
    Video
    Avatar of communityCommunity Picks·2y

    The Secret Language Scaling WhatsApp and Discord

    Big companies like WhatsApp and Discord have managed to scale their real-time applications to handle hundreds of millions of users using Erlang and its modern counterpart, Elixir. Erlang, designed in the 1980s for telecommunications, offers amazing features like fault tolerance, scalability, and distribution capabilities that are ideal for real-time apps. Elixir builds on Erlang's strengths with more modern syntax. These technologies allow for efficient concurrency, hot code swapping, and seamless inter-node communication, making them powerful tools for small teams to achieve robust, scalable applications.

  10. 10
    Article
    Avatar of gleamGleam·2y

    Convenient code actions – Gleam

    Gleam v1.5.0 introduces several developer experience and productivity improvements. Notable changes include context-aware exhaustiveness errors, silent compilation options, the ability to run dependency modules without compiling the main code, and prettier error messages for runtime crashes. There are also enhancements in code actions, such as automatically adding missing patterns, autocompletion for variables and arguments, and useful suggestions for missing imports. Additionally, the update includes more readable documentation and inferred minimum Gleam version requirements in projects.

  11. 11
    Video
    Avatar of awelixAwesome Elixir·2y

    The Secret Language Scaling WhatsApp and Discord

    Big companies like WhatsApp and Discord use Erlang and its modern counterpart, Elixir, for scaling real-time applications. Erlang's virtual machine (BEAM) and its focus on lightweight processes, message passing, and fault tolerance make it ideal for handling massive concurrency and high availability. Elixir builds on Erlang's strengths with a more modern syntax, making it easier to develop scalable, reliable apps. These companies leverage Erlang and Elixir to manage millions of users and ensure minimal downtime, showcasing the power and efficiency of these technologies.

  12. 12
    Article
    Avatar of elixirstatusElixirStatus·2y

    Leading Companies Using Elixir: 7 Use Cases

    The post highlights seven well-established companies utilizing Elixir to build highly available and scalable applications. Notable use cases include Discord, leveraging Elixir for its real-time system handling millions of events, and Spotify, optimizing high-traffic systems with Phoenix LiveView. Other examples include Toyota Connected using Elixir for vehicle data analytics, Pinterest reducing server costs, and PepsiCo enhancing marketing intelligence with Elixir apps. Additionally, Square Enix and Sketch use Elixir to handle high concurrency and real-time collaboration, respectively.

  13. 13
    Article
    Avatar of gleamGleam·2y

    Supercharged labels – Gleam

    Gleam v1.4.0 introduces several new features, including a shorthand syntax for labels, improved error handling, and language server enhancements. Notable updates include code actions for label shorthand conversion, automated label addition, and case conversion. Improvements in fault tolerance, document symbols, and constant concatenation have also been made. The release aims to enhance developer experience and code maintainability.

  14. 14
    Article
    Avatar of collectionsCollections·2y

    Elixir v1.17.0: New Features and Improvements

    Elixir v1.17.0 introduces set-theoretic types, calendar durations, and Erlang/OTP 27 support. It also includes various improvements and enhancements.

  15. 15
    Article
    Avatar of hnHacker News·2y

    Dr-Nekoma/lyceum: An MMO game written in Erlang (+ PostgreSQL) + Zig (+ Raylib)

    Lyceum is an MMO game with its server developed in Erlang and the client in Zig, enhanced with raylib and Zerl. The project utilizes Nix for development and deployment, including PostgreSQL initialization and server-client setup. Comprehensive instructions are provided for local development, database management, and building server images. The game's narrative features a blend of mythic lore and strategic challenges, urging players to restore balance in a world plagued by internal decay and external threats.

  16. 16
    Article
    Avatar of gleamGleam·2y

    Auto-imports and tolerant expressions – Gleam

    Gleam v1.3.0 includes several new features aimed at improving the efficiency and productivity of developers. Key updates include auto-imports for modules, fault-tolerant expressions that work even with code errors, improved completions, and import cycle diagnostics. Additionally, there are updates for hidden field details in patterns, redundant tuple code-actions, and enhanced command-line commands for adding and removing dependencies. Syntax warnings and errors have been improved, supporting new Erlang/OTP 27 keywords, and addressing JavaScript byte alignment errors and arithmetic guards. The release aims to streamline the development workflow and enhance the coding experience.

  17. 17
    Article
    Avatar of elixirstatusElixirStatus·2y

    ElixirDrops

    ElixirDrops provides insights into automating CI/CD for Elixir applications, installing Erlang, Elixir, PostgreSQL, and Phoenix with a single command, managing AppSignal revisions, and freeing up storage on development machines.