Code BEAM America 2024

2024

List of videos

Keynote: Beautiful and Right - Hidden Features and Abstractions that Make Languages Work -Bruce Tate

✨This keynote talk was recorded at Code BEAM America 2024, a conference by Code Sync https://codebeamamerica.com ✨ Elixir embraces a fascinating mix of types, features, and libraries to build a surprising breadth of concurrent libraries and services with stunning reliability and concurrency. This talk allows a peek under the hood at how Nerves, LiveView, NX, LiveBook, and more push Elixir and yet provide a natural, coherent development experience. Behaviours in OTP establish contracts for inversion of control. Phoenix and LiveView take advantage of the same behaviours and also use macros to provide a uniform, concise usage model and adds macros to hide ceremony while surfacing beautiful user experience that remains correct under pressure, from templates to infrastructure Come find out how Elixir's most loved frameworks and tools got that way, and the Elixir tools that make those frameworks both beautiful and right.

Watch
Keynote: 30 Years On and In the Beam: Mastering Concurrency - Erik Stenman | Code BEAM America 2024

✨This keynote talk was recorded at Code BEAM America 2024, a conference by Code Sync https://codebeamamerica.com ✨ Abstract: This presentation charts the evolution of the BEAM virtual machine over 30 years, focusing on its concurrency model and its role in fostering robust, fault-tolerant systems. It will cover the progression from Erlang's implementation in Prolog to the creation of JAM and the subsequent development of the BEAM. The talk will include technical experiences from Klarna, highlighting how BEAM’s architecture supports efficient and reliable concurrent programming. It will give you insight into how to think when developing concurrent programs. Let's stay in touch! Follow us on: 💥 Twitter: https://twitter.com/CodeBEAMio 💥 Facebook: https://www.facebook.com/CodeSyncGlobal 💥 Linkedin: https://www.linkedin.com/company/code-sync 💥 Mastodon: https://genserver.social/codesync

Watch
Dmytro Lytovchenko: see you at Code BEAM!

Demystify legacy code with Dmytro Lytovchenko 🙌 In his talk, Dmytro will show you multiple approaches to investigating, learning the structure of, testing and transforming the existing legacy into workable pieces of code. Book tickets: https://codebeamamerica.com You can also join his training: BEAM VM Under the Hood, about how the BEAM works, the variety of tools and controls allowing to fine-tune it and optimise its settings for throughput and memory use. https://codebeamamerica.com/trainings/beam-vm-under-the-hood

Watch
Working with Legacy Code - Dmytro Lytovchenko | Code BEAM America 2024

✨Join Dmytro's training in Berlin in October https://codebeameurope.com/trainings/working-with-legacy-code/ ✨ The talk presents origins of legacy code: the messy tangle of untested code you might have as today's legacy, once was perfectly documented and tested, reviewed by the team's seniors and merged. The talk shows multiple approaches to investigating, learning the structure of, testing and transforming the existing legacy into workable pieces of code. ✨This talk was recorded at Code BEAM America 2024. If you're curious about our upcoming event, check https://codebebeamamerica.com ✨ 💥 Twitter: https://twitter.com/CodeBEAMio 💥 Facebook: https://www.facebook.com/CodeSyncGlobal 💥 Linkedin: https://www.linkedin.com/company/code-sync 💥 Mastodon: https://genserver.social/codesync

Watch
A word from Programme Committee

A word from our Programme Committee: see what Lorena Mireles thinks about submissions for Code BEAM America 2024! Book your spot now and join us in March in San Francisco or online for 2 days of talks focused on Erlang and Elixir: https://codebeamamerica.com

Watch
Cory ODaniel at Code BEAM America 2024

Designing infrastructure-as-code modules that are maintainable and extensible 🙌 Don't miss it, book your ticket now 👉 https://codebeamamerica.com In his talk Cory ODaniel will cover important topics like: 🔹all module registries are a dumpster fire 🔹handling different lifecycles between related resources 🔹managing env parity when scale differs 🔹use-case-specific modules 🔹designing inputs, outputs, and locals to minimize developer overhead and maximize encapsulating expertise Book your spot now and join us in March in San Francisco or online for 2 days of talks focused on Erlang and Elixir: https://codebeamamerica.com

Watch
Join Benjamin Philip at Code BEAM America 2024

Our youngest speaker at Code BEAM America 2024 🔥 A 16 year old student who started contributing to the Livebook, Hexpm and Nx projects at 14! See Benjamin Philip at Code BEAM stage in March 👉 book your ticket: https://codebeamamerica.com

Watch
Contributing to the Erlang Ecosystem: My Journey - Benjamin Philip | Code BEAM America 2024

✨This talk was recorded at Code BEAM America 2024, a conference by Code Sync https://codebeamamerica.com ✨ Contributing to the Erlang Ecosystem: My Journey from Individual Contributor to Maintainer Lately the Erlang Ecosystem has grown to address many new domains. But is its community growing enough to support it? My experience as a new contributor may shed light on this. I'm a 16 year old student who started contributing to the Livebook, Hexpm and Nx projects at 14. Since then I've grown from being a raw newbie to receiving funding from The EEF to work on packages that will support Erlang's telemetry implementation. Join me as I talk about my challenging transition and see how I: - overcame my fear of the opensource community - learned to work with other members - found more meaningful ways to contribute - learned to balance my contributions with my other priorities If you're new to the community, you'll learn how to get started and grow in the community - even if you have as little experience as i did. Maintainers will see how the community helped me to make valuable contributions, how it got in my way, and how my experiences can help their projects. Let's stay in touch! Follow us on: 💥 Twitter: https://twitter.com/CodeBEAMio 💥 Facebook: https://www.facebook.com/CodeSyncGlobal 💥 Linkedin: https://www.linkedin.com/company/code-sync 💥 Mastodon: https://genserver.social/codesync

Watch
RPC in WhatsApp - Zeyu Zhang | Code BEAM America 2024

✨This talk was recorded at Code BEAM America 2024. Learn about our next event here https://codebeamamerica.com ✨ In this talk, we will cover multiple areas in WhtasApp's infrastructure related to the lifecycle of a request flowing between our Erlang services. It incudes how to overcome the limitation and scale our cluster to more than 40 thousand nodes using Erlang Distribution, the service discovery and routing mechanism, the job dispatching and queueing model, as well as the bottlenecks and overload protections. We welcome you to come and learn on how to build Erlang infrastructure at scale. Let's stay in touch! Follow us on: 💥 Twitter: https://twitter.com/CodeBEAMio 💥 Facebook: https://www.facebook.com/CodeSyncGlobal 💥 Linkedin: https://www.linkedin.com/company/code-sync 💥 Mastodon: https://genserver.social/codesync

Watch
Getting to know Actors in Gleam - Raúl Chouza | Code BEAM America 2024

✨This talk was recorded at Code BEAM America 2024, a conference by Code Sync ✨ https://codebeamamerica.com Gleam is a programming language that makes the case for type safety in the BEAM. Give it a try and you will soon discover that the straightforward syntax and great error messages give you the power to start building your domain logic behind a lovely typed foundation. It is a great choice for simple finite programs that will not break, but the BEAM offers much more than that... Its process primitive gives us the means to model asynchronous and concurrent work. Gleam offers a way to represent processes and messages within the type system and uses that to rebuild one of the fundamental abstractions of OTP an Actor. In this talk we’re going to disassemble what makes an Actor and what it takes Gleam to make it work along its type system. Let's stay in touch! Follow us on: 💥 Twitter: https://twitter.com/CodeBEAMio 💥 Facebook: https://www.facebook.com/CodeSyncGlobal 💥 Linkedin: https://www.linkedin.com/company/code-sync 💥 Mastodon: https://genserver.social/codesync

Watch
High throughput data conversion for database virtualization - G. Mitra, M. Pope | Code BEAM America

✨This talk was recorded at Code BEAM America 2024. Check out our next event: https://codebeamamerica.com ✨ Hyper-Q is a database virtualization application written in Erlang. It emulates the syntax and semantics of a guest database over a host database, which involves cross-compiling SQL from one dialect to another. Additionally, it emulates functionalities that are not offered by the host database. Tuning Hyper-Q for new SQL workloads involves identifying bottlenecks in the cross-compilation process. This presentation will provide an overview of the diagnosis process for identifying bottlenecks through profiling and will also focus on some architectural changes made to address them. The main objective of this initiative was to reduce memory consumption during processing, thereby improving the throughput of queries that can be processed through Hyper-Q. This, in turn, assists customers in transitioning from legacy data warehouses to cloud databases with minimum need for application rewrites saving time and effort. Let's stay in touch! Follow us on: 💥 Twitter: https://twitter.com/CodeBEAMio 💥 Facebook: https://www.facebook.com/CodeSyncGlobal 💥 Linkedin: https://www.linkedin.com/company/code-sync 💥 Mastodon: https://genserver.social/codesync

Watch
The BEAM in Homes across the US: Deploying Nerves at Scale - Frank Hunleth | Code BEAM America 2024

✨This talk was recorded at Code BEAM America 2024, a conference by Code Sync. Check out info about our upcoming event: https://codebeamamerica.com ✨ This talk is about lessons, unexpected benefits, and areas for improvement from deploying Elixir and Erlang/OTP on custom hardware running Nerves at SmartRent. SmartRent provides smart home features to rental properties and uses Nerves in smart thermostats and IoT gateways. While we create our own custom hardware and use many Nerves features, this talk is less about that and more about how we’ve ended up using the BEAM. In many ways, it’s a reflection on why we chose the platform in the first place. The talk starts with describing the types of devices we build and constraints we have with our embedded processors and our deployment environment. OTP comes to the rescue with solutions, and as countless others have, we’ve had a journey of discovery of functionality that we had in the beginning. Even if you’re not an embedded developer, my hope is that you’ll gain appreciation and insights into developing applications on the BEAM based on our experiences at SmartRent. Let's stay in touch! Follow us on: 💥 Twitter: https://twitter.com/CodeBEAMio 💥 Facebook: https://www.facebook.com/CodeSyncGlobal 💥 Linkedin: https://www.linkedin.com/company/code-sync 💥 Mastodon: https://genserver.social/codesync

Watch
Using LLMs and AI Agents to super power your Phoenix apps - Byron Saltysiak | Code BEAM America 2024

✨This talk was recorded at Code BEAM America 2024. Check our next edition: https://codebeamamerica.com ✨ AI and LLM powered applications are poised to become the next big thing in software. All of the incredible advancements in the last few years have created the foundational layers of AI. In this talk, we will take a hands-on approach to using these foundations directly in our Elixir/Phoenix based applications. Let's stay in touch! Follow us on: 💥 Twitter: https://twitter.com/CodeBEAMio 💥 Facebook: https://www.facebook.com/CodeSyncGlobal 💥 Linkedin: https://www.linkedin.com/company/code-sync 💥 Mastodon: https://genserver.social/codesync

Watch
Unlock the Power of OpenID Connect on the BEAM - Jonatan Männchen | Code BEAM America 2024

✨This talk was recorded at Code BEAM America 2024. If you're curious about our upcoming event, check https://codebebeamamerica.com ✨ In an increasingly interconnected digital world, ensuring robust security and seamless user experiences is paramount. OpenID Connect, a proven authentication framework, stands at the forefront of this challenge. This conference talk delves deep into the realm of OpenID Connect, shedding light on its myriad benefits and showcasing practical techniques to effortlessly integrate it into your Erlang and Elixir web applications and APIs. Discover the foundational concepts that make OpenID Connect a compelling choice for identity authentication. Explore how it simplifies the process of verifying user identities while enhancing security. We'll explore the benefits of Single Sign-On (SSO), identity federation, and secure user data exchange, all facilitated by OpenID Connect. Let's keep in touch! Follow us on: 💥 Twitter: https://twitter.com/CodeBEAMio 💥 Facebook: https://www.facebook.com/CodeSyncGlobal 💥 Linkedin: https://www.linkedin.com/company/code-sync 💥 Mastodon: https://genserver.social/codesync

Watch
RAFT for database consensus at scale - Henry Sun | Code BEAM America 2024

✨This talk was recorded at Code BEAM America 2024. If you're curious about our upcoming event, check https://codebeamamerica.com ✨ One of the most difficult problems in distributed computing is consensus, getting participants to a distributed computation to agree. RAFT is a distributed consensus algorithm built around the simple property that no group can simultaneously have two simple majorities. Join me in learning about RAFT, how it can be used to build databases, and the decision decisions we made when scaling WARaft, WhatsApp's implementation of RAFT in Erlang, to support a message database for 2B+ users. Let's keep in touch! Follow us on: 💥 Twitter: https://twitter.com/CodeBEAMio 💥 Facebook: https://www.facebook.com/CodeSyncGlobal 💥 Linkedin: https://www.linkedin.com/company/code-sync 💥 Mastodon: https://genserver.social/codesync

Watch
SwErl: a library for phones, watches, and headsets - L. Barney, S. Deal | Code BEAM America 2024

✨This talk was recorded at Code BEAM America 2024, if you're curious about our next event visit https://codebeamamerica.com ✨ It is estimated that there are over 1 billion current users of the iPhone. That doesn't even count the number of watch, Mac, and headset users. SwErl is an easy-to-use open source library that enables these 1 billion plus devices to be nodes in Erlang systems....and it mimics Erlang programming patterns and syntax in Swift. Let's keep in touch! Follow us on: 💥 Twitter: https://twitter.com/CodeBEAMio 💥 Facebook: https://www.facebook.com/CodeSyncGlobal 💥 LinkedIn: https://www.linkedin.com/company/code-sync 💥 Mastodon: https://genserver.social/codesync

Watch
Elixir Update - José Valim | Code BEAM America 2024

✨This talk was recorded at Code BEAM America 2024. If you're curious about our upcoming event, check https://codebebeamamerica.com ✨ José will give updates on what the Elixir team has done in the last few months, what projects they’re working on, what’s going on on the research side, and what features will be in the next release. Let's keep in touch! Follow us on: 💥 Twitter: https://twitter.com/CodeBEAMio 💥 Facebook: https://www.facebook.com/CodeSyncGlobal 💥 Linkedin: https://www.linkedin.com/company/code-sync 💥 Mastodon: https://genserver.social/codesync

Watch
Ruby as a Node - Artur Sulej | Code BEAM America 2024

✨This talk was recorded at Code BEAM America 2024, check out our next event: https://codebeamamerica.com ✨ BEAM comes with its own tools like EPMD and :rpc that enable seamless communication between nodes. When it comes to making different technologies talk to each other, there are lots of options like gRPC. In this presentation, we'll explore how to connect Elixir and Ruby apps using these BEAM-specific mechanisms. Let's stay in touch! Follow us on: 💥 Twitter: https://twitter.com/CodeBEAMio 💥 Facebook: https://www.facebook.com/CodeSyncGlobal 💥 Linkedin: https://www.linkedin.com/company/code-sync 💥 Mastodon: https://genserver.social/codesync

Watch
This Too Shall Parse. - Adam Lancaster | Code BEAM America 2024

✨This talk was recorded at Code BEAM America 2024. If you're curious about our upcoming event, check https://codebebeamamerica.com ✨ XML is still a widely used data format and parsing it quickly and efficiently is crucial in certain domains. This is a wild ride through a project my team undertook to improve XML parsing in Elixir for large payloads by 10x. The approach taken marries a few different ideas but also introduces a parsing approach that slims down the amount of parsing that needs to happen by ignoring data that has not been previously specified as expected. This has good consequences for security as well as performance as I will outline. Afterwards I extend the idea to JSON parsing with interesting consequences. Let's keep in touch! Follow us on: 💥 Twitter: https://twitter.com/CodeBEAMio 💥 Facebook: https://www.facebook.com/CodeSyncGlobal 💥 Linkedin: https://www.linkedin.com/company/code-sync 💥 Mastodon: https://genserver.social/codesync

Watch
Against the Grain - Saša Jurić | Code BEAM America 2024

✨This talk was recorded at Code BEAM America 2024. Check out our next event: https://codebeamamerica.com ✨ This talk tells the story of developing a bespoke Kafka client. None of the existing libraries in the BEAM ecosystem fulfilled the needs of the team, and it was estimated that contributing new changes to those projects would be very difficult. At the same time, writing and maintaining a client from scratch would require a lot of time, much more than the team could afford.

Watch
Accelerating machine learning hardware development with Elixir- I. Yonemoto | Code BEAM America 2024

✨This talk was recorded at Code BEAM America 2024. If you're curious about our upcoming event, check https://codebeamamerica.com ✨ I'll talk about how we used Elixir at Positron to accelerate the process of developing machine learning hardware. The BEAM VM offers some incredible advantages in servicing ML workloads and I'll be talking about these advantages as I see them. Especially as the current state of the art tends to use python, I'll make some specific comparisons there.

Watch
Designing maintainable infrastructure-as-code - Cory ODaniel | Code BEAM America 2024

✨This talk was recorded at Code BEAM America 2024. If you're curious about our upcoming event, check https://codebeamamerica.com ✨ This talk will focus on designing infrastructure-as-code modules that are maintainable and extensible. We'll cover important topics like: * all module registries are a dumpster fire * handling different lifecycles between related resources * managing env parity when scale differs * use-case-specific modules * designing inputs, outputs, and locals to minimize developer overhead and maximize encapsulating expertise The talk will use OpenTofu/Terraform to illustrate but applies to other IaC tools like Pulumi and Crossplane. Let's keep in touch! Follow us on: 💥 Twitter: https://twitter.com/CodeBEAMio 💥 Facebook: https://www.facebook.com/CodeSyncGlobal 💥 Linkedin: https://www.linkedin.com/company/code-sync 💥 Mastodon: https://genserver.social/codesync

Watch
Erlang and SQL - Why is this so hard? - Marc Sugiyama | Code BEAM America 2024

✨This talk was recorded at Code BEAM America 2024. If you're curious about our upcoming event, check https://codebeamamerica.com ✨ Relational databases are powerful tools for managing data. Erlang is great at moving data around. Why is it so hard to mesh the two of them together? Many projects use relational databases in only the simplest way, through simple templating libraries, or custom code, forgoing the power of the relational database. Is there a better way? We'll survey some of the technology pieces such as ODBC, dispel some misconceptions, and explore the awkward impedance mismatch between Erlang and relational databases.

Watch