Log inSign up
Fabio Spampinato
8,223 posts
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
    2022年8月12日
    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
    2022年12月24日
    Replying to @sciencegirl
    The ratio of people waiting to cars waiting seems pretty nuts.
    22.7K
  • user avatar
    Fabio Spampinato
    @fabiospampinato
    2023年5月30日
    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 😎
    00:00
    54.2K
  • user avatar
    Fabio Spampinato
    @fabiospampinato
    2022年5月5日
    Just finished porting @reactjs' new useEvent hook to @solid_js: ```js function useEvent ( fn ) { return fn; } ```
  • user avatar
    Fabio Spampinato
    @fabiospampinato
    2024年1月22日
    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?
    00:00
    120.3K
  • user avatar
    Fabio Spampinato
    @fabiospampinato
    2023年4月30日
    Virtualization Visualization
    00:00
    27.7K
  • user avatar
    Fabio Spampinato
    @fabiospampinato
    2024年6月10日
    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.
    199.6K
  • user avatar
    Fabio Spampinato
    @fabiospampinato
    2024年3月31日
    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.
    github.com
    GitHub - tc39/proposal-signals: A proposal to add signals to JavaScript.
    A proposal to add signals to JavaScript. Contribute to tc39/proposal-signals development by creating an account on GitHub.
    49.9K
  • user avatar
    Fabio Spampinato
    @fabiospampinato
    2023年2月10日
    If you want your @npmjs installations to go roughly 25% faster (sometimes even 90% faster it seems): ```sh echo "audit=false" >> ~/.npmrc ```
    58.9K
  • user avatar
    Fabio Spampinato
    @fabiospampinato
    2023年8月6日
    The WebCrypto API is probably the ugliest Web API that I can think of.
    43.5K
  • user avatar
    Fabio Spampinato
    @fabiospampinato
    2022年6月29日
    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.
  • user avatar
    Fabio Spampinato
    @fabiospampinato
    2023年11月12日
    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.
    00:00
    user avatar
    vjeux ✪
    @Vjeux
    2023年11月9日
    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.
    100.1K
  • user avatar
    Fabio Spampinato
    @fabiospampinato
    2023年5月1日
    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.
    00:00
    15.9K
  • user avatar
    Fabio Spampinato
    @fabiospampinato
    2023年11月24日
    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.
    60.5K

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·Privacy·Cookies·Accessibility·Ads Info·© 2026 X Corp.
Don't miss what's happening
People on X are the first to know.
Log inSign up