Live data from Hacker News

Lowering resource usage with foot and systemd

rgoswami.me

21–30 of 33 posts

Re: Lowering resource usage with foot and systemd

#22
post #11

IMO the best part of the foot client/server setup is not lower memory usage, but faster terminal opening time. Starting alacritty is kinda slow. Maybe not a second, but noticeable. Starting foot standalone is definitely faster. Opening a foot window via an already running server is near instant.

> Starting alacritty is kinda slow. I keep seeing comments like this popping up on HN. Do you guys have some funky esoteric configs? In my case, where I only changed the color scheme and font, the limiting factor when starting alacritty is how fast I can move my fingers to the i3 shortcut. And I'm not running this on some exotic, fast hardware, just your standard crappy corporate HP laptop from a few years ago. The o…

I think the concept of slow is relative here, for a no configuration start (from a fresh install) alacritty is slower by a factor of 4 https://news.ycombinator.com/item?id=40559084

However the absolute times are still probably not noticable unless you often cold-start terminals.

                     | Alacritty | Foot | Foot Client |
  Absolute time (ms) |    99.0   | 37.2 | 22.8        |

Re: Lowering resource usage with foot and systemd

#23
post #20

I thought the "written by human not AI" badge was kind of cute, then I clicked on it. It seems like people pay for the "right" to put that badge on their page? The author was scammed.

OP here, I guess things have changed? AFAIK there was no pricing when I set it up... I just put the image with the link, certainly wouldn't pay for it :D

EDIT: So the payment is to have a little space on their own website, which they call a "project page" e.g. https://notbyai.fyi/hi/not-by-ai/

They suggest "linking to it for verification", but it really seems both unnecessary and optional

Re: Lowering resource usage with foot and systemd

#24
post #23
post #20

I thought the "written by human not AI" badge was kind of cute, then I clicked on it. It seems like people pay for the "right" to put that badge on their page? The author was scammed.

OP here, I guess things have changed? AFAIK there was no pricing when I set it up... I just put the image with the link, certainly wouldn't pay for it :D EDIT: So the payment is to have a little space on their own website, which they call a "project page" e.g. https://notbyai.fyi/hi/not-by-ai/ They suggest "linking to it for verification", but it really seems both unnecessary and optional

I see, thanks for the clarification

Re: Lowering resource usage with foot and systemd

#25
post #15

The title is kinda odd. "Lowering resource usage of foot with systemd" sounds more appropriate. Not knowing that foot is a terminal emulator, I assumed that foot is some kind of improved resource manager that allows for a general lesser resource usage.

Yes - agreed.

Re: Lowering resource usage with foot and systemd

#27
post #11

IMO the best part of the foot client/server setup is not lower memory usage, but faster terminal opening time. Starting alacritty is kinda slow. Maybe not a second, but noticeable. Starting foot standalone is definitely faster. Opening a foot window via an already running server is near instant.

> Starting alacritty is kinda slow. I keep seeing comments like this popping up on HN. Do you guys have some funky esoteric configs? In my case, where I only changed the color scheme and font, the limiting factor when starting alacritty is how fast I can move my fingers to the i3 shortcut. And I'm not running this on some exotic, fast hardware, just your standard crappy corporate HP laptop from a few years ago. The o…

I can say personally that I switched away from alacritty because I would press my key bind and start typing, and it would consistently miss letters because I hadn’t waited for it to fully load. Foot does not.

If it was an app I opened by pressing Super and typing “terminal”, I probably wouldn’t need the speed increase. But the shortcut is easily accessible from home row, so I press it often and quickly.

Re: Lowering resource usage with foot and systemd

#29

Still no ligatures support in foot, which is critical in dev environment.

I think there are still dev environments where ligatures in terminals are not so critical. Especially those of devs who do not use in-terminal editors for most of their editing.

Re: Lowering resource usage with foot and systemd

#30

Still no ligatures support in foot, which is critical in dev environment.

Do you mean "critical" literally or hyperbolically? I disable ligatures in any editor/terminal I use, because I find them confusing and want to know what the actual characters in the code are.
Post reply on HN