2019 43
October 25, 2019

Weekend long read suggestions 2019/43

Elixir

  • How to build a machine learning project in Elixir

    Grigory and Oleg shows you can use TensorFlow based model within your Elixir application. They are not trying to recreate everything in Elixir. Rather to use existing tools, so training is done in Python (as you would expect). Interaction with model is achieved via Tensorflex which provides bindings over TensorFlow C library. Article also shows use of NIF for computation heavy (image resizing in this case).

  • Dave Lucia on Rustler – Elixir Internals

    Speaking of NIFs – very nice episode of Elixir Internals podcast with Dave Lucia of SimpleBet. They have quite nice ecosystem of Elixir offloading some of the heavy computing to Rust based NIFs via Rustler.

  • The Virtue of Busy Waiting

    Article arguing that you should never use Process.sleep/1 (or :timer.sleep/1) in your tests.

Rust

  • How to not RiiR

    An excellent write up on how to wrap existing C library with Rust to avoid unnecessary rewrites. While still getting a lot of Rust benefits. BTW if you need to do something similar with Python, you should check Building a Python C Extension Module.

Just interesting stuff


Subscribe to weekend long-read suggestions

You can access archive of all suggestions at /long-reads.

You can unsubscribe at any time by clicking the link in the footer of our emails. For information about our privacy practices, please check Privacy Policy (hosted by iubenda).

We use Mailchimp as our marketing platform. By clicking below to subscribe, you acknowledge that your information will be transferred to Mailchimp for processing. Learn more about Mailchimp's privacy practices here.