3 ms·
Maybe with some heuristics, you could hide some latency by beginning to compile before saving.
by microcolonel 6y ago
Maybe with some heuristics, you could hide some latency by beginning to compile before saving.
- steveklabnik 6y agoMaybe. At the rate I hit :w, probably not :)
- mlindner 6y agoHow do you have Vim (or neovim) set up to do that and report errors inline?
- steveklabnik 6y agoI use VS Code with the vim plugin. I hear you can get this working with vim/neovim but I haven’t done it myself.
- sudosysgen 6y agoHow I did it is that I install VimPlug then CoC then the rust extension.
- ricree 6y agoI use ALE, which I believe includes Rust by default. https://github.com/dense-analysis/ale https://github.com/dense-analysis/ale
- nicoburns 6y agoOne of the first computer system I used frequently was Windows ME. This system used to crash (BSOD) extremely frequently (depending on what you were doing, it could be as frequently as every 20 minutes), and any unsaved work would be lost. I have therefore developed a reflex where I hit Cmd-S every time I finish typing. I actually have to put conscious effort in to stop this when using software where saving is slow.
- steveklabnik 6y agoI used to work on some 3D printing related software, and so I had to type “Objet” a bunch and it was impossible to not type “object.”