News for hackers. Stuff that matters.
Re:Show HN: Svelte NodeGUI, a lightweight Electron alternati... by naikrovek on Saturday March 06, 2021 @12:23AM (#26365445)
> That isn't what my text editor is doing, though. It's doing autocomplete suggestions, linting code as I type... all sorts of things

BEFORE the typed character shows up? Are you sure?

16ms should be an absolute upper bound for a character to show up. Everything else comes after.

Re:Show HN: Svelte NodeGUI, a lightweight Electron alternati... by andi999 on Saturday March 06, 2021 @03:41AM (#26366073)
Before the second character is typed...
Re:Show HN: Svelte NodeGUI, a lightweight Electron alternati... by spacechild1 on Saturday March 06, 2021 @11:07AM (#26368312)
No. These things should happen concurrently, probably on different threads. If I quickly type “foo“, I don't need to do run autocomplete and code analysis between each character. That would be horrible.