It will be done one day, or I will die trying
It will be done one day, or I will die trying
I will have officially succeeded as a team lead if I can make my team of developers re-make this music video with me
youtu.be/JvuCvGUpFpA
Photo of my laptop in standing desk mode (outdoors on a crate on top of a table, very wobbly)
Haha look at my current setup. It does wobble, but when I wobble in the rhythm of the music, itβs called dancing!
Thanks!
And I do have a warm spot reserved in my heart for e ink displays, so canβt wait to see yours and learn more :)
Uhhh i love it! I sadly missed your talk at the conf, but will watch it as soon as it is available :)
The wasm compiled elixir is called popcorn, try a live demo here: popcorn.swmansion.com
Mateusz Front is talking about compiling elixir/erlang to Wasm at #ElixirConfEU
Imagine the inception moment when we run that Wasm in elixir again using wasmex!
Thanks! And quite a lot of what I show build on your contributions, so thanks got that too π
Can't wait to see you all at @elixirconf.bsky.social - there is so many people I never saw in real life that I know are coming. It will be fun! :)
yes, that was me :) it was fun
A slide of my ElixirConfEU presentation - it shows a benchmark comparing an Elixir vs. Wasm implementation of SHA-256 calculations. Wasm is more than 2x faster. See more at github.com/tessi/wasmex-sha256-benchmark
This Friday I will talk about Wasmex at #ElixirConf EU - if you want to know what WebAssembly can bring to the table for your #ElixirLang apps, join me!
Here is a sneak peek into my slides: Speed is one of the things Wasm can give you :)
travel safe and see you there! :)
Thanks! π
Your message motivated me to post more regular updates :)
Wasmex v0.11.0 was just released #ElixirLang
It features better Wasm component integration (with way more types being translated from Elixir to Wasm and back), and enables you to precompile Wasm modules for way more efficient horizontal scaling.
hex.pm/packages/was...
Shows a bar diagram of a benchmark run. The "Elixir Native" job is roughly half as performant as WebAssembly through wasmex
I am benchmarking a CPU intensive workload in native Elixir vs. different ways to run them with WebAssembly. I can now rightfully claim that wasmex can speed up your programs :) #ElixirLang
Itβs fun!
My train from ElixirConfEU back to Berlin was just cancelled.
My trip to the conf also changed times already. I wish we could rely on trains. But as things are any appointments on travel days is doomed and you donβt even know if you arrive at your destination.
My favourite!
Looks appropriately bright :D
Some hero wrote a blog post on how to create ultra-bright HDR emojis (to burn dark mode slack users eyes on emoji reactions).
And I'm sure I WOULD NEVER DO SUCH A MISCHIEVOUS THING to my beloved corporate company slack!
sharpletters.net/2025/04/16/h...
nah, thank but I'll probs just give it a shot myself first. Good luck on the keynote preps!
yes! thanks a ton βοΈ
gives me a reason for another fun night with benchmarks (who needs sleep anyways when you can have fun instead!)
so maybe instead of having
```
Benchee.run(
[...],
inputs: %{
"input 1" => 1,
"input 2" => 2
}
)
```
something like
```
inputs: %{
"work items" => [1, 10, 20, ...],
"fn calls" => [1, 10, 20, ...],
"instances" => [1, 10, 20, ...]
}
```
then bench all points in this 3d space
I want to bench a wasmex call into a Wasm, but scaling different things:
* number of items to process per call
* call the function more often on the same Wasm instance
* scale up number of instances
And then combine these into a 3D scatter plot of sorts
@pragtob.bsky.social i'm benchmarking things with benchee! and it's fun π
github.com/tessi/wasmex...
Now, I was having shower thoughts on benchmarking on different dimensions, is this something that's possible out of the box? if not how would I do it?
@tylerayoung.com just stumbled over a text adventure programming tutorial on the orange site which can be adapted to whichever language you chose: helderman.github.io/htpataic/htp...
An Elixir module that uses Orb to define an Elixir struct with the theme, a WebAssembly global for the theme, exports functions to read the possible theme values, and a function that dynamically returns different CSS depending on the theme.
Here we use GoldenOrb.Plug to execute the WebAssembly from our Orb module and sets the resulting CSS on a Plug.Conn, which means our WebAssembly has been executed and transformed into a HTTP response.
Orb lets you write WebAssembly using an Elixir DSL.
Here we render dynamic CSS depending on a theme variable in a struct.
GoldenOrb.Plug.send_css/2 executes the WebAssembly & automatically passes in the theme then assigns the resulting CSS to a Plug HTTP Conn.
#myelixirstatus
keys -> lets
Maybe a text adventure would be a cool start - frees you from a specific languages graphics stack and keys you focus on essentials
Wasmex 0.10.0 is out and features support for Wasm Components!
github.com/tessi/wasmex...
Thanks a ton @superchris.launchscout.com for his gigantic contribution and ongoing support and improvement for the last months while we let that feature cook in pre-release mode. Thank you Chris!
#ElixirLang