Rootconf Mini 2024

Geeking out on systems and security since 2012

Tickets

Loading…

Abhishek Tripathi

@twistingtwists

Parser Combinators - Embedding Zig language in Elixir

Submitted Sep 21, 2024

Elixir is a high level language known for fault tolerance. What if you need to write some parts of your project in a low-level language like Rust or Zig?

Zigler is a project which allows you to inline the Zig code and run it as a first class citizen on the beam-VM. The interesting bit of the project is propagating errors across languages which help with fault-tolerance for programs written in zig.

This talk aims at higlighting the benefits of embedding a low level language in high-level one - thus enjoying benefits of both.

Interesting use cases arising from embedding low-level langugage in high level one?

  1. Fault tolerance across hardware failures - https://x.com/DNAutics/status/1823449370609545502
  2. < What can you think of? >

Takeaways:

  1. Learn about Parser Combinators -> what are they, why to use them, when to use.
  2. Insights into what Zig does differently to become first class citizen of the beam VM.

Which audience segment is your talk/session going to beneficial for?

  1. Systems Programmers: Who want to understand what does it take to parse an entire language (Zig), into another one (elixir).
  2. Technically Curious getting to know regex and explore further on lexers and parsers

Comments

{{ gettext('Login to leave a comment') }}

{{ gettext('Post a comment…') }}
{{ gettext('New comment') }}
{{ formTitle }}

{{ errorMsg }}

{{ gettext('No comments posted yet') }}

Hybrid Access Ticket

Hosted by

We care about site reliability, cloud costs, security and data privacy