Log inSign up
Fabio Spampinato
8,212 posts
Image
user avatar
Fabio Spampinato
@fabiospampinato
Trying to write good software. @Meta @TheNotableApp @vobyjs.
fabiospampinato.com
Born November 16, 1993
Joined June 2011
141
Following
2,294
Followers
  • user avatar
    Fabio Spampinato
    @fabiospampinato
    Aug 12, 2022
    TypeScript: your "chicken" can not cross the "road" "road" can be crossed by "car" "car" uses "wheels" to move "chicken" uses "feet" to move "wheels" and "feet" are not compatible
  • user avatar
    Fabio Spampinato
    @fabiospampinato
    Dec 24, 2022
    Replying to @sciencegirl
    The ratio of people waiting to cars waiting seems pretty nuts.
    23K
  • user avatar
    Fabio Spampinato
    @fabiospampinato
    May 30, 2023
    Resizing panes horizontally or vertically feels pretty good, but resizing panes horizontally _and_ vertically at the same time is even better! Idea shamelessly copied from @code, though my implementation doesn't require any extra elements at intersections 😎
    Image
    00:00
    54K
  • user avatar
    Fabio Spampinato
    @fabiospampinato
    May 5, 2022
    Just finished porting @reactjs' new useEvent hook to @solid_js: ```js function useEvent ( fn ) { return fn; } ```
  • user avatar
    Fabio Spampinato
    @fabiospampinato
    Jan 22, 2024
    In this little benchmark rendering 16k squares using the DOM goes at 10fps, and rendering 1M squares using raw WebGL goes at 120fps. I understand the DOM does a lot more here, but surely with enormous effort a faster web renderer that destroys Blink is physically implementable?
    Image
    00:00
    120K
  • user avatar
    Fabio Spampinato
    @fabiospampinato
    Apr 30, 2023
    Virtualization Visualization
    Image
    00:00
    28K
  • user avatar
    Fabio Spampinato
    @fabiospampinato
    Jun 10, 2024
    Replying to @GregSarafian
    That's cool-ish, but also, why? If one could delete a million things like that the code would be meaningfully simpler, and you wouldn't really lose anything, nobody expects to the bezels to budge, if they sort of do that's unexpected, hence weird, hence probably bad.
    200K
  • user avatar
    Fabio Spampinato
    @fabiospampinato
    Mar 31, 2024
    Apparently the TC39 proposal for Signals is now public! This is a long thread on everything that jumps to my mind when reading it. I haven't assimilated everything yet, so this is more a list of first impressions.
    Image
    GitHub - tc39/proposal-signals: A proposal to add signals to JavaScript.
    From github.com
    50K
  • user avatar
    Fabio Spampinato
    @fabiospampinato
    Feb 10, 2023
    If you want your @npmjs installations to go roughly 25% faster (sometimes even 90% faster it seems): ```sh echo "audit=false" >> ~/.npmrc ```
    59K
  • user avatar
    Fabio Spampinato
    @fabiospampinato
    Aug 6, 2023
    The WebCrypto API is probably the ugliest Web API that I can think of.
    Image
    44K
  • user avatar
    Fabio Spampinato
    @fabiospampinato
    Jun 29, 2022
    The js-framework-benchmark table ordered by this new "run memory 10k" test seems really interesting, it gives you a picture of how memory usage will scale in real applications beyond tiny things.
    Image
  • user avatar
    Fabio Spampinato
    @fabiospampinato
    Nov 12, 2023
    The people have spoken! Very early results, but in this very specific scenario the experimental rewrite I'm working on is: ~2x faster than Prettier if there's no cache. ~10x faster than Prettier if there's a cache. ~4x faster than dprint if there's cache.
    Image
    00:00
    Image
    user avatar
    vjeux ✪
    @Vjeux
    Nov 9, 2023
    There's lot of excitement around faster pretty printers using Rust. The main issue is that none of them match the long tail of formatting logic of prettier. I'm putting up a $10k bounty for any project written in Rust that passes > 95% of the prettier JavaScript tests.
    100K
  • user avatar
    Fabio Spampinato
    @fabiospampinato
    May 1, 2023
    An interesting virtualization strategy: just render some placeholder content and replace it with the actual content once it becomes visible. See how much less lag my EmojiPicker virtualized like this causes. You get most of the performance _and_ most of the simplicity also.
    Image
    00:00
    16K
  • user avatar
    Fabio Spampinato
    @fabiospampinato
    Nov 24, 2023
    Hashing performance is so important, somebody should really try to speed things up in the JS ecosystem. - Node's sha1 function seems 3x slower than Bun's. - The browser with its obsession with making everything async is 40x slower than Bun, and it's not even giving me a string.
    Image
    61K

New to X?

Sign up now to get your own personalized timeline!

Create account

By signing up, you agree to the Terms of Service and Privacy Policy, including Cookie Use.

Terms of Service|Privacy Policy|Cookie Policy|Accessibility|Ads info|© 2026 X Corp.
Don't miss what's happening
People on X are the first to know.
Log inSign up