Hacker News new | past | comments | ask | show | jobs | submit login

I recently switched from iTerm2 to Alacritty https://github.com/jwilm/alacritty. It does not have scrollback, splits, tabs and other fancy features. But for me, performance and snappiness is the most important feature (besides, I use Tmux for all those things mentioned).

For getting something close to i3 (you wont...?) on macOS I am using chunkwm https://github.com/koekeishiya/chunkwm.

I spent some time during the summer to get to know Linux using i3 (i3-gaps actually) with urxvt on a VirtualBox. I do recommend it!




An article linked in the OP shows that default Terminal.app is more responsive than Alacritty or iTerm.

[1]: https://danluu.com/term-latency/


It also says that both of them are limited by tmux, which I use 100% of the time in the terminal. The real problem is when you run Vim in tmux and start to scroll in a large file that you notice that Terminal.app does not cut it. It lags badly. In Alacritty its silky smooth.

And yes, scrolling with j/k for longer periods may be an anti-pattern in Vim and yada yada... I scroll in Vim, and in Alacritty its smooth, in Terminal.app its sluggish.


Word of caution when reviewing this report: it doesn't take into account vblank period. If you hit a key just after a monitor refresh, you're not going to see it until the next refresh cycle which is typically up to 16ms later. This study is concerned with how long it takes to update the frame buffer rather than time-to-visible which is difficult to measure.

That said, there are plans[1] to reduce Alacritty's input latency. Though, I personally use it as a daily driver and have never felt that there was a noticeable input lag.

Once that lands, Alacritty will have similar latency to Terminal.app _and also have_ a 60 Hz refresh rate (the "smooth" feeling), low CPU usage, and much higher throughput.

[1]: https://github.com/jwilm/alacritty/issues/673




Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact

Search: