Elektrine
Log in Register
Paige Chat Timeline Gallery Friends Email Drive DNS Private DNS Domains VPN Kairo Nerve
Remote

Now at @surma@mastodon.social

@surma@toot.cafe
mastodon 4.7.3
  • Open on toot.cafe

DX at Shopify. Web Platform Advocate.
Craving simplicity, finding it nowhere.
Internetrovert 🏳️‍🌈 He/him.

Keybase verification toot: @surma@toot.cafe

2513 Followers
167 Following
12 Posts
Joined April 06, 2017
GitHub:
https://github.com/surma
Website:
https://surma.dev
Twitter:
https://twitter.com/dassurma
Keybase:
https://keybase.io/surma
Open post
Now at @surma@mastodon.social @surma@toot.cafe
· 33mo ago

When will GitHub do something about code review responses being shown without the preceding thread of comments.

I look like a fucking idiot.

31
1
4
0
Open post
Now at @surma@mastodon.social @surma@toot.cafe
· 37mo ago

TIL: “Blob” stands for “Binary Large Object”.

Which means I am now a member of the “People who say PIN Number” group by having frequently used “binary blob”…

https://en.wikipedia.org/wiki/Binary_large_object

en.wikipedia.org
37
17
8
0
Open post
Now at @surma@mastodon.social @surma@toot.cafe
· 33mo ago

Sadly, Bevy’s ECS (`bevy_ecs`) is not `no_std` (altho I think it could be!). So to use it on the GameBoy Advance, I had to write my own. Taught me a lot about Rust’s type system, and now I have a tiny ecs running on a GBA :D

(Shoutout to the `agb` crate)

27
1
1
0
Open post
Now at @surma@mastodon.social @surma@toot.cafe
· 33mo ago

Me two weeks ago:
“Oh I know, I’ll quickly add an API endpoint that accepts tar files. That’s a simple file format.”

Me now, using reverse engineering tooling to debug why the off-the-shelf tar library truncates file names:
“What the fuck.”

26
2
3
0
Open post
Now at @surma@mastodon.social @surma@toot.cafe
· 44mo ago

👀 WebAssembly GC is behind a flag in V8.

Wasm can now handle structs and arrays as native types and the host will provide the garbage collection.

Curious to see if languages like Grain or TinyGo can adopt this.

Demo gist:
https://gist.github.com/surma/f4e7097dcbd635415215201969dd3c3b

Wasm GC
Gist

Wasm GC

Wasm GC. GitHub Gist: instantly share code, notes, and snippets.

40
4
23
0
Open post
Now at @surma@mastodon.social @surma@toot.cafe
· 33mo ago

This may come as a surprise, but there’s a new episode of Off The Main Thread less than a month after the last one.

In this one, @jaffathecake@mastodon.social and I talk about whether build tools are good or bad and we talk a bit about the build tool Bazel.

🎧 👇
https://offthemainthread.tech/episode/big-build-bool-bonanza/

offthemainthread.tech
24
2
13
0
Open post
Now at @surma@mastodon.social @surma@toot.cafe
· 33mo ago

Spent last night moving boids to the GPU (cc @chrisbiscardi@hachyderm.io). Bevy’s ECS/dep injection gives you easy access to the wgpu device to create your own WebGPU compute pipeline.

Best part is that it straight up runs on the web via Wasm, too.

Not sure what’s wrong with the bottom left tho 😂

22
1
4
0
Open post
Now at @surma@mastodon.social @surma@toot.cafe
· 32mo ago

🔥 Brand-new episode of
🧵 Off The Main Thread!

In this one, about the Entity Component System (ECS) architecture (and Bevy), and whether ECS are useful for the web.

@jaffathecake@mastodon.social is doing a round-up of the new @TC39’s stage 3 proposals.

https://offthemainthread.tech/episode/tc39-roundup-and-ecs/

offthemainthread.tech
14
1
6
0
Open post
Now at @surma@mastodon.social @surma@toot.cafe
· 33mo ago

Implementing Boids is one of those things that’s so mesmerizing to look at where you can’t stop playing around...

(Used Boids as a means to play with Bevy. Really fun.)

10
2
3
0
Open post
Now at @surma@mastodon.social @surma@toot.cafe
· 33mo ago

New Year’s break well spent!

(Alt: 100% finished Talos Principle II. It’s a great sequel that I actually think is better than the first game.)

7
2
0
0
Open post
Now at @surma@mastodon.social @surma@toot.cafe
· 33mo ago

Little Bevy engine trick discovery of the evening:

Since we do not have `try` blocks yet and I wanted to use `?` to handle `Option` in my systems, I found out about the `pipe()` function that let me convert the system’s return type to make `App` happy.

4
1
0
0
Open post
Now at @surma@mastodon.social @surma@toot.cafe
· 33mo ago

Let's put the spec aside for sec.

Is import.meta is fair game? It feels like it has become a namespace for tools (and even runtimes!) to expose non-standard information and functionality.

Should this get embraced? Or will import attributes supersede for most of the use-cases?

1
5
0
0
Back
313k7r1n3
Elektrine

Tor hidden service

elekhj7afj4qnrr4yd3bkzslsyo5jgfxw3orgjkhlcxifueodybyiiad.onion

I2P eepsite

j6b6cyk6gjmepjih7jjadxgxvvf3lzzujljuu2v4biemzpg3naya.b32.i2p

Platform

  • Email
  • Chat
  • Timeline
  • VPN
  • DNS

Company

  • About
  • Contact
  • FAQ
  • Lite (no JS)

Legal

  • Terms of Service
  • Privacy Policy
  • Transparency Report
  • Report Abuse
  • Warrant Canary
  • VPN Policy

Support

  • support@elektrine.com
  • Report Security Issue
Mail client setup IMAP mail.elektrine.com:993 POP3 mail.elektrine.com:995 SMTP mail.elektrine.com:465
© 2026 Elektrine. All rights reserved. Server: 11:26:40 UTC