Remix.run Logo
fullstop 2 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 a day ago | parent | next [-]

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

fullstop 18 hours ago | parent [-]

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

rstuart4133 2 days ago | parent | prev | next [-]

> Zellij is close to 50 megabytes,

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

Pay08 a day ago | parent | next [-]

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

pmarreck 2 days ago | parent | prev [-]

One of the reasons I went Zig for now

sitzkrieg 20 hours ago | parent | prev [-]

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

fullstop 18 hours ago | parent [-]

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.