@charlieholtz@pierrecomputer thanks man! 🙏 you guys have been a great team to work with, can't ask for much else! so valuable to get real feedback and have real goals to work towards!
hey man, author of the post here. also a huge fan of fff (vim/neovim have been my main editor for over 15 years, also still down to grab a beer sometime: https://t.co/vueswPT2AH ).
Regarding the blog post, I've been doing front development for over 20s, and been writing or using virtualizers for the majority of that experience. I do think we found a novel twist on some existing ideas. I haven't written long form anything in a while, so sorry if it came across as discovering this for the first time (i definitely need more long form writing practice).
Ultimately the goal of the article was just to share our experience building these tools. Involved a lot of fun and really tricky problems to work around within the confines of a browser.
@traits_reality@SlexAxton@pierrecomputer Nice! Yeah the foundation we use is a quite common virtualization technique, it's just that we discovered the extra twist to use negative sticky values to ensure content would never scroll off screen that we haven't seen around the web yet.
@royalicing@fat We use shiki for syntax highlighting, and in the case of DiffsHub we use the wasm version of the highlighter. All highlighting is farmed out to worker threads to avoid locking up the main js thread
Finally got @amadeus to write about what goes into making our diffs so special.
A love letter to FE development: web workers, WASM, novel virtualization and memory management techniques, and more.
Fun read if you're a perf geek and hate blanking.
https://t.co/3Ka62eWGJq