How to write fast Rust code, likebike.com/posts/How_To_Writ.

A collection of tips and tricks to improve Rust code performance.

Wasmer —a WebAssembly runtime— 0.13.0 released, github.com/wasmerio/wasmer/rel.

• New `wasmer_trap` function in the C API to properly error within a host function,
• Simpler logging,
• Enable by default float-to-int conversions.

More at github.com/wasmerio/wasmer/blo

Wasmex, an Elixir library for executing WebAssembly binaries, github.com/tessi/wasmex.

It is based on @wasmerio 🎉!

@elixirlang

BLAKE3 is an extremely fast, parallel cryptographic hash, infoq.com/news/2020/01/blake3-.

Almost 4.5x faster than BLAKE2b, and 6x faster than SHA-1, good job!

Wasmer 0.12 has been released before Christmas, github.com/wasmerio/wasmer/rel.

* AArch64 support in the LLVM backend,
* Select WASI version with the C API,
* Caching support for the Singlepass backend.

Have fun!

Tensorflow.js available on WebAssembly backend, yashints.dev/blog/2019/12/17/t.

From 2641ms with JS to 239ms with Wasm!

Source code of tfjs-backend-wasm, github.com/tensorflow/tfjs/tre.

With the Face Detector model, Wasm is comparable to WebGL in term of perf.

Constant propagation is now on by default in Rust nightly, blog.rust-lang.org/inside-rust.

Even if LLVM has its own constant propagation pass, this one is more generic and operates earlier. Thus improving compilation performance by 2-10%.

Wasmer, a powerful WebAssembly runtime @wasmerio, has reached 5000🌟 on Github, github.com/wasmerio/wasmer.

Thank you so much!

llvm-mctoll, github.com/microsoft/llvm-mcto.

A tool that statically, ahead-of-time, translates or raises binaries to LLVM IR.

That's fantastic!

We need to rethink how we build, linkedin.com/pulse/we-need-ret

1⃣ Straw is a local, natural & ecological material
2⃣ Lambda value: 0.056W/mK, i.e. exceptional insulation
3⃣ Fire protection w/o fire retardant: REI120 & REIef120
4⃣ Capture 10'000kg of CO₂ (-88.7kg CO₂/m²)

Dramatically reduced power usage in Firefox 70 on macOS with Core Animation, mozillagfx.wordpress.com/2019/.

Power usage's improved by 3x or more for many use cases. Computer battery life is greatly extended!

Compiling a CPU, in a cheap FPGA board, thanassis.space/myowncpu.html.

Everything is awesome. A must read.

Making the Tokio scheduler 10x faster, tokio.rs/blog/2019-10-schedule.

Tokio is an async runtime for Rust. Its internal scheduler has been improved.

Schedulers are complex (I've studied them back in University). Impacts are huge.

The article is very well written.

Show more
Fosstodon

Fosstodon is an English speaking Mastodon instance that is open to anyone who is interested in technology; particularly free & open source software.