From 1b031029f86471dd8d67737a95a195b24aba55f0 Mon Sep 17 00:00:00 2001 From: Jan-Erik Rediger Date: Mon, 12 Feb 2018 12:11:12 +0100 Subject: [PATCH] new post: Things I read, Week 7 --- _posts/2018-02-12-things-i-read-week-7.md | 24 +++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 _posts/2018-02-12-things-i-read-week-7.md diff --git a/_posts/2018-02-12-things-i-read-week-7.md b/_posts/2018-02-12-things-i-read-week-7.md new file mode 100644 index 0000000..0be1d65 --- /dev/null +++ b/_posts/2018-02-12-things-i-read-week-7.md @@ -0,0 +1,24 @@ +permalink: "/{{ year }}/{{ month }}/{{ day }}/things-i-read-week-7" +title: "Things I read, Week 7" +published_date: "2018-02-12 12:00:00 +0100" +layout: post.liquid +data: + route: blog +--- + +This post is part of a [new experiment this year](/2018/01/08/things-i-read-week-2/index.html): +Trying to briefly collect articles/posts/code/documentation I read in the past week and add some comments for things I consider important. + +### Blog post: [A Wee Allocator for WebAssembly](http://fitzgeraldnick.com/2018/02/09/wee-alloc.html) + +Nick Fitzgerald wrote [wee_alloc](https://github.com/fitzgen/wee_alloc), a new minimal memory allocator for use with WebAssembly. +The current implementation in use for Rust, a [port of dlmalloc](https://github.com/alexcrichton/dlmalloc-rs) clocked in at several kilobytes in the final wasm module. +This is a bit too much if you want to have small modules. +Nick tackled this issue by writing a new allocator and thoroughly explaining its implementation. + +### Blog post: [Why I don’t use the Go formatter](https://pote.io/blog/why-i-dont-use-go-fmt) + +Pote argues for not using `gofmt` for projects with small teams. +He wants the developers to make the right decisions on formatting instead of being forced to a sometimes suboptimal formatting by a tool. +I'm not sure yet if I agree with his conclusion. +Then again I'm not an active user of [rustfmt](https://github.com/rust-lang-nursery/rustfmt) either, because of the - in my opinion - sometimes suboptimal formatting at the moment.