by fullstop 4 days ago

I have a few embedded devices where flash space is limited. tmux is so much smaller than zellij, and it's not even close.

Zellij is close to 50 megabytes, but tmux and all dependent libraries (minus libc, it's always there) is about 2 megabytes.

mokoshhydro 3 days ago | [-1 more]

Screen is only 280Kb (armv7), statically compiled with curses. That's about 6-9 times smaller compared to tmux.

fullstop 2 days ago | [-0 more]

Yes, but I already require libevent and friends. The overhead, compared to "screen" was worth it, and I get split windows.

rstuart4133 3 days ago | [-2 more]

> Zellij is close to 50 megabytes,

That's a Rust thing. It's what happens when you statically link because you monomorphise everything.

Pay08 3 days ago | [-0 more]

And the Rust practice of everything needing at least 300 libraries. It's slowly getting to JS levels of insanity.

pmarreck 3 days ago | [-0 more]

One of the reasons I went Zig for now

sitzkrieg 3 days ago | [-1 more]

and this is a great example why rust will never be relevant in embedded development that actually matters

fullstop 2 days ago | [-0 more]

So I looked into this at one point. Apparently there are ways to reduce binary size.

When I first started learning Rust, my "hello wold" binary was HUGE.