News for hackers. Stuff that matters.
Re:Use Alacritty instead of Termite by bennyp101 on Friday May 07, 2021 @09:46AM (#27075774)
I used to use termite, but switched to kitty for ... reasons I can't remember now.

Does alacritty support ligatures yet? I've been using kitty because it does, but then I have issues with tmux in kitty ... I know, I want my cake and eat it

Re:Use Alacritty instead of Termite by shi_tty on Friday May 07, 2021 @09:50AM (#27075819)
Lots of things alacritty cannot do-

1) If you scale certain fonts using fontconfig, alacritty would ignore that.

2) No emoji colors, no ligatures (and thus no flags), also emoji size has problems

... and not to mention it's one of the slowest (yes! contrary to what they blowhard they response time to keys is very large) terminals out there.

List is endless, termite had its place, but there is no doubt that there is so much ego in OSS that one solution canot fit all

Personally I'm keeping an eye out for wezterm, it seems all the good things of alacritty without the self-congratulation part

Re:Use Alacritty instead of Termite by creata on Friday May 07, 2021 @09:58AM (#27075923)
> contrary to what they blowhard they response time to keys is very large

They state explicitly on their README that they're measuring throughput, not latency. Besides that, all three of your complaints are true as far as I'm aware, and they are major dealbreakers.

Re:Use Alacritty instead of Termite by vladvasiliu on Friday May 07, 2021 @10:22AM (#27076179)
> ... and not to mention it's one of the slowest (yes! contrary to what they blowhard they response time to keys is very large) terminals out there.

This is intriguing to me. You're not the first I've seen complaining about this, so there must be something to it.

But in my case, on a fairly low-end machine, what I type shows up instantaneously[0] on the screen, even when the CPU is busy compiling.

I'm running an i5-6500 with integrated hd 530 graphics and a 4K screen. I use i3 (so X11) and Picom with a bunch of effects.

---

[0] I have a mechanical keyboard, and if I push the key all the way down, I hear the sound of the key bottoming out after I see the character on the screen.

Re:Use Alacritty instead of Termite by zokier on Friday May 07, 2021 @11:18AM (#27076849)
Nothing with computers is instantaneous. I strongly suspect that there is at least 15ms of latency in your setup, and probably much more. Different people have different sensitivity to latency, just because you don't notice it doesn't mean it isn't there.
Re:Use Alacritty instead of Termite by vladvasiliu on Friday May 07, 2021 @11:49AM (#27077146)
Well, you're right, technically. But in that case, all terminal applications have latency, so is your point that the parent's complaint is unfounded?

In these kinds of discussions, the talk is usually about perceived latency not absolute latency. If it feels like there's basically none, then it's good enough. It doesn't mean there's absolutely 0.0 ns latency.

> Different people have different sensitivity to latency

This I can get behind. But I doubt that what seems instantaneous to me would seem "terribly long a time" to someone else, especially since I look specifically for this. As you pointed out, no terminal app has absolute 0 latency, so if one particular software has terrible latency compared to another one, the difference would have to be pretty huge.

Do note that I'm not talking about being bothered by the latency. I know a lot of people who will notice the latency when pointed out to them, but they don't really care. Personally, I hate when things lag, even if I may happen to have a worse perception than average (don't actually know if that's the case).

Re:Use Alacritty instead of Termite by zokier on Friday May 07, 2021 @01:00PM (#27078104)
> But in that case, all terminal applications have latency, so is your point that the parent's complaint is unfounded?

All terminals have latency, but that doesn't mean that all terminals have equal latency. Point was that anecdotes about subjective instantaneity are pretty meaningless, especially without any reference point.

It would be much more meaningful to substantiate the discussion with actual data; the measurements done by danluu are one example https://danluu.com/term-latency/

Of course there can be quibbles about the specific methodology, but its still much better than having no data at all. Especially for something that is as measurable as latency is.

In general if you claim something is fast, back that claim up with some numbers.

Re:Use Alacritty instead of Termite by zlynx on Friday May 07, 2021 @10:57PM (#27083358)
Some applications using OpenGL or Vulkan and Wayland compositing end up with latency related to one or two frames of the screen refresh. Which means that characters appear onscreen much faster on a 144 or 240 Hz display.

Not really a surprise but something to be aware of.

Re:Use Alacritty instead of Termite by dbrgn on Friday May 07, 2021 @10:08AM (#27076038)
> 2) No emoji colors

Colored emoji are working fine in my alacritty terminal. Here's my fontconfig file: https://github.com/dbrgn/dotfiles/blob/master/fonts.conf

Re:Use Alacritty instead of Termite by encryptluks2 on Friday May 07, 2021 @10:20AM (#27076164)
Colored emojis work fine, but for ligatures you need kitty as far as I'm aware. I ran into this when attempt internationalization of a website.
Re:Use Alacritty instead of Termite by fuzxi on Friday May 07, 2021 @05:45PM (#27081206)
What's the appeal of emoji in the terminal?
Re:Use Alacritty instead of Termite by oblio on Monday May 10, 2021 @07:33AM (#27104787)
Well, a random example, I imagine that people want to:

cat randomfile

and see the output correctly, at least.

Re:Use Alacritty instead of Termite by gregwebs on Friday May 07, 2021 @11:25AM (#27076933)
kitty has lower latency than Alacritty. Alacritty is optimized for throughput and is the best for that, but I don't understand who would prefer throughput over latency in a terminal setting.

I switched from kitty to wezterm. I don't have an official benchmark like the below [1], but low latency is an explicit goal of the project and it seems on par with kitty.

[1] https://tomscii.sig7.se/2021/01/Typing-latency-of-Zutty

Re:Use Alacritty instead of Termite by lvass on Friday May 07, 2021 @09:56AM (#27075901)
What issues? Attaching to a session created in another emulator? I tried switching from kitty to alacritty and it was definitely not worth it, kitty's docs, and features, are just absurdly better.
Re:Use Alacritty instead of Termite by jarenmf on Friday May 07, 2021 @11:32AM (#27077000)
Same here, kitty is amazing. It supports ligatures and also BiDi. Both of which alacritty don't support. I wish kitty had sub-pixel rendering though.
Re:Use Alacritty instead of Termite by bntyhntr on Friday May 07, 2021 @10:47AM (#27076515)
I've been running kitty and tmux for over a year now and if I have any issues with tmux I've been inured to them. Oh wait, I think a lot of kittens don't work and that might be related? What problems do you have?