Erik De Rijcke
banner
zubnix.bsky.social
Erik De Rijcke
@zubnix.bsky.social
Louder for the people in the back!
three men in suits and ties are sitting at a table talking to each other .
ALT: three men in suits and ties are sitting at a table talking to each other .
media.tenor.com
May 9, 2025 at 6:22 AM
Reposted by Erik De Rijcke
April 3, 2025 at 11:59 AM
Webp is in interesting one, you could probably use a consumer gpu discrete video asic to handle it. I expect it would be faster than a compute shader or CPU software library. There exist dedicated asics for other common image formats as well, but they're usually only present on embedded devices.
February 9, 2025 at 9:15 PM
That's not to say it's a bad idea or can't be done. You'll just have to invent a new image format that is massively parallelized when coding it.
February 7, 2025 at 9:24 PM
I experimented with this (for different reasons). The problem with decoding an image on the GPU is that most image formats use huffman encoding at some point in the chain which is inherently a single core operation, and thus badly suited for a GPU. Any performance you gain, you lose at that step.
February 7, 2025 at 9:19 PM
Example: Wasm app A needs 8gigs of me on startup, frees it immediately, then chugs along using 100mb of mem. Wasm app B needs 9gigs on startup, frees it immediately, then chugs along using 100mb of mem. Your 16GB laptop will not be able to run these 2 apps at the same time. 🤡
January 8, 2025 at 8:59 AM
What I meant to say is that a wasm app memory will be allocated up front (or grown later on), regardless if it’s ever written to or read from and will be kept allocated even after the app frees parts of it, as wasm doesn’t allow memory shrinkage. The virtual memory proposal tries to fix that a bit.
January 8, 2025 at 8:48 AM
A more interesting proposal is wasm virtual memory. It’s strange that apps needing more than 4gibibyte of memory can allocate this without the VM being able to swap it out. Need 1TB for 1 sec? Sure, you’re now stuck with it for the remainder of your apps life cycle. 🤷‍♂️
January 8, 2025 at 7:28 AM
Did he have a staff and a pointy hat?
November 26, 2024 at 6:18 AM
There is but it fell somewhat out of fashion:
November 25, 2024 at 11:58 AM
👈
November 20, 2024 at 6:17 AM