Rootconf Mini 2024 (on 22nd & 23rd Nov)

Geeking out on systems and security since 2012

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') }}

Hosted by

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

Supported by

Platinum Sponsor

Nutanix is a global leader in cloud software, offering organizations a single platform for running apps and data across clouds.

Platinum Sponsor

PhonePe was founded in December 2015 and has emerged as India’s largest payments app, enabling digital inclusion for consumers and merchants alike.

Silver Sponsor

The next-gen analytics engine for heavy workloads.

Sponsor

Community sponsor

Peak XV Partners (formerly Sequoia Capital India & SEA) is a leading venture capital firm investing across India, Southeast Asia and beyond.

Venue host - Rootconf workshops

Thoughtworks is a pioneering global technology consultancy, leading the charge in custom software development and technology innovation.

Community Partner

FOSS United is a non-profit foundation that aims at promoting and strengthening the Free and Open Source Software (FOSS) ecosystem in India. more

Community Partner

A community of Rust language contributors and end-users from Bangalore. We have presence on the following telegram channels https://t.me/RustIndia https://t.me/fpncr LinkedIn: https://www.linkedin.com/company/rust-india/ Twitter (not updated frequently): https://twitter.com/rustlangin more