cmark
nimler
Our great sponsors
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
cmark
-
Using Rust with Elixir for code reuse and performance
I wonder if they looked into using https://github.com/asaaki/cmark.ex which is an already made Markdown Elixir NIF written in C. No glue code needed since the package already exists.
Back when I was writing Elixir, it's what I used to process Markdown and it was also substantially faster than the native Elixir Markdown library (Earmark).
nimler
-
Using Rust with Elixir for code reuse and performance
It's one reason I prefer lighter languages for NIF's. My personal preference is to use Nim and Nimler [1]. It generally compiles quicker than Rust while providing most of the same benefits. To be fair compiling a small Rust library doesn't take too much time. Especially compared to the performance numbers from those Rust NIFs!
1: https://github.com/wltsmrz/nimler
What are some alternatives?
earmark - Markdown parser for Elixir
cmark - CommonMark parsing and rendering library and program in C
Markdown - A simple Elixir Markdown to HTML conversion library
pulldown-cmark - An efficient, reliable parser for CommonMark, a standard dialect of Markdown
discount
nitter - Alternative Twitter front-end
md4c - C Markdown parser. Fast. SAX-like interface. Compliant to CommonMark specification.
efuse_filter - Erlang NIF for Binary Fuse Filter. Fast and Smaller Than Xor Filters.
Pandex - Lightweight Elixir wrapper for Pandoc. Convert Markdown, CommonMark, HTML, Latex... to HTML, HTML5, opendocument, rtf, texttile, asciidoc, markdown, json and others
Rustler - Safe Rust bridge for creating Erlang NIF functions
cmark-gfm - Haskell bindings to libcmark-gfm GitHub Flavored Markdown parser
Nim - Nim is a statically typed compiled systems programming language. It combines successful concepts from mature languages like Python, Ada and Modula. Its design focuses on efficiency, expressiveness, and elegance (in that order of priority).