elixir-meet-rust
elixir-meet-rust copied to clipboard
my slides and demo for beijing elixir meetup 05/16/2020
Elixir Meet Rust
This is my talk for Beijing elixir meetup 5/16. To run the slides, you need to have marp-cli installed. Then just run:
make
Or you could directly visit it from github: slides/elixir-meet-rust.md.
Demo 1: rmark
Markdown parser using rustler and comrak. Compared with earmark, it is 20x-30x faster. This is a demo project to show how to use rustler to boost elixir/erlang projects.
See rmark readme.
Demo 2: BTreeMap (Sorted Map) for rust
In Rust, there're lots of beautiful, high-performance data structures. Elixir has built in support for Map, but it doesn't support ordered map (or sorted map). Don't worry, we could leverage BTreeMap of rust!
see rbtree readme.