Remix.run Logo
diondokter 4 hours ago

Hi, author here. I mention in the blog that I've tried to quickly hack two of the simplest optimizations in the compiler and it resulted in 2%-5% binary size savings in real embedded (async) codebases. And a quick and probably deeply flawed synthetic benchmark on the desktop showed a 3% perf increase.

So yes, it does really matter. Keep in mind that optimizations stack. We're preventing LLVM from doing it's thing. So if we make the futures themselves smaller, LLVM will be able to optimize more. So small changes really compound.

ozgrakkurt 2 hours ago | parent [-]

Saw that but couldn't find what code it gives that improvement on. Is it some embedded application written with Embassy?

diondokter an hour ago | parent [-]

Yes, but I can't share the codebases since they're our client's and proprietary. But there aren't a lot of big embedded codebases that are also open source

ozgrakkurt an hour ago | parent [-]

Got it, thanks