3 ms·
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
by fullstop 6mo 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.
- rstuart4133 6mo ago> Zellij is close to 50 megabytes, That's a Rust thing. It's what happens when you statically link because you monomorphise everything.
- mokoshhydro 6mo agoScreen is only 280Kb (armv7), statically compiled with curses. That's about 6-9 times smaller compared to tmux.
- fullstop 6mo agoYes, but I already require libevent and friends. The overhead, compared to "screen" was worth it, and I get split windows.
- sitzkrieg 6mo agoand this is a great example why rust will never be relevant in embedded development that actually matters
- fullstop 6mo agoSo 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.