Posts

This profile is from a federated server and may be incomplete. Browse more on the original instance.

surma, to random
@surma@mastodon.social avatar

I really wanted to know which libraries are bloating my WebAssembly binaries, so I wrote a visualizer.

Throw in a .wasm file with DWARF debug symbols, and wasmphobia will generate a flame graph for you, breaking down the module by source file.

https://wasmphobia.surma.technology/

image/png

surma, to random
@surma@mastodon.social avatar

ICYMI: In the most recent OTMT podcast episode, @jaffathecake and I talk about putting React in the browser.

While that’s good clickbait, the episode is about about past and present platform proposals that aim to help frameworks with managing the DOM.

https://offthemainthread.tech/episode/putting-react-in-the-browser/

nosherwan,
@nosherwan@fosstodon.org avatar

@surma @jaffathecake @rauschma the signals proposal is very encouraging even though half baked. It looks as if though it is meant for frameworks. I feel it should be a trivial api via which browsers allow state manipulation so that gradually we can wean off frameworks.

surma, to random
@surma@mastodon.social avatar

Just found a great show-case of AbortController. I don’t think I could make this code as concise without aEL’s support for AC signals.

Note that I need to:

  • access controller from within the listener,
  • access this in start()
  • remove the listener in cancel()
voxpelli,
@voxpelli@mastodon.social avatar

@surma And great to abstract it into a wrapper, because it’s concise but also a bit hurting on the brain with all its layers, but that’s okay if one keeps it in the internals of a wrapper

Not a pattern people should mimic in all their react components 😅

surma, to random
@surma@mastodon.social avatar

🧵 New episode of the Off The Main Thread Podcast!

In this one, @jaffathecake and I talk about canvas-based web apps like Figma or Flutter apps and what you gain, what you lose, and whether it is worth it!

https://offthemainthread.tech/episode/canvas-based-webapps/

surma, to random
@surma@mastodon.social avatar

I'm surprised, but also very happy to learn that the Blue Oak OSS license is now OSI approved.

Blue Oak is a OSS license written in relatively simple English — which is why for the longest time people thought it can't be legally sound. Maybe that has now been properly evaluated?

https://opensource.org/license/blue-oak-model-license/

voxpelli,
@voxpelli@mastodon.social avatar

@surma You should lift your packages by the way and join me, @ljharb, @JoshuaKGoldberg in Tidelift’s Slack together with @luis_in_brief. See eg: https://tidelift.com/lifter/search/npm/@surma%2Frollup-plugin-off-main-thread

voxpelli,
@voxpelli@mastodon.social avatar
  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • thenastyranch
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • ngwrru68w68
  • provamag3
  • magazineikmin
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • anitta
  • Leos
  • tester
  • JUstTest
  • All magazines