WebAssembly: Docker without containers

Docker volumes on MacOS are slow and how to fix it

Data-driven performance optimization with Rust and Miri

Issue #313

12/22/2022

{{PreviewText}} 

Yo-yo-yo
This is the last issue of this year! Mine was decent and hopefully so was yours (at least). Happy holidays everyone and see you in 2023.
PS. please check your spam box for any issues of the newsletter and move them to your primary inbox if you find any. For some reason the number of the spam complaints I've been having has shot up the past month.

====================================================================

Today's Sponsor: Could be you!

Are you or your company interested in sponsoring the newsletter? Feel free to reach out to me by replying to this email or clicking the link above.

====================================================================

WebAssembly: Docker without containers

Published: 21 December 2022
Tags: docker, php, web assembly


Asen Alexandrov gives an overview of Web Assembly (wasm) and offers a hands-on example on building a wasm container, comparing it to native binaries, and then comparing it to traditional containers.
Some highlights:

  • Wasm is a new standard that allows for portable binaries that can run on a variety of environments
  • Wasm has its origins in the web and is supported by all major browsers
  • Wasm can handle interpreted languages (in addition to compiled languages) by compiling the interpreters to wasm


====================================================================

Docker volumes on MacOS are slow and how to fix it

Published: 4 December 2022
Tags: containers, docker, macos


I've been hearing about performance issues when running Docker on the new M(1/2) macs, so thought I'd feature this deep-dive on the topic. Paolo Mainardi covers the fundamentals of how docker works on macs, then goes into how to fix performance issues. There are also a bunch of links to other good resources for specific topics.
Some highlights:

  • Docker is a tool used to run containers, which are self-contained systems, on different environments
  • Docker containers are still Linux processes and need a Virtual Machine (VM) to run on other operating systems
  • Having to use a VM complicates things regarding storage for docker containers


====================================================================

Data-driven performance optimization with Rust and Miri

Published: 8 December 2022
Tags: rust, unix, compiler, linux


Keaton Brandt walks us through optimizing Rust code for one of the Advent of Code challenges.
Some highlights:

  • Profilers are tools that analyze how well a piece of software is performing
  • Perf-based libraries like flamegraph work by sampling the stack trace of your software on a regular interval
  • Miri is a project owned by the rust team with the aim of running rust code in an interpreter, primarily to help with debugging


-

How did I do?

* Amazing
* Articles not relevant to me
* Articles were relevant, but badly written
* Summaries told me everything I wanted to know
* I like turtles

Want to help?

Thank you for reading! If you enjoy the newsletter, I would really appreciate you helping me spread the word by forwarding this to your friends and colleagues or sharing it on social media! Get cool stuff for your referrals using your link https://abyteofcoding.com.

Your referrals:


If you want to discuss or comment on this issue, head on over to this page at A Byte of Coding. You can also subscribe there if you're new!

Have comments or feedback? Just reply to this email or hit me up on Twitter @AByteOfCoding.

Email landed in your promotions tab? Please move it over to primary so you don't miss the latest issues in the future.
Thanks for your Support! 

Big thanks to all of the Patreon supports and company sponsors. If you want to support the newsletter you can checkout the Patreon page. It's not necessary, but it lets me know that I'm doing a good job and that you're finding value in the content.


Stats (updated daily)

Sent: 2995

Opens: 1456

Clicks: 322

Link Clicks Clicks % Unique Clicks Unique Clicks %
WebAssembly: Docker without containers 117 42.86% 118 41.84
Docker volumes on MacOS are slow and how to fix it 83 30.40% 86 30.50
Data-driven performance optimization with Rust and Miri 73 26.74% 78 27.66

Previous

Back to Issues

Next