It depends on how you compile it. A minimal program compiles to just under 10 megs, and then it depends on what libraries you end up adding on top of that. For bigger programs, there are closed world optimizations and tree shaking available. There's probably more optimizing possible, but I just haven't had the time to really dive into this yet.
View all comments
Show parent comment
1
u/yogthos Aug 23 '26
It depends on how you compile it. A minimal program compiles to just under 10 megs, and then it depends on what libraries you end up adding on top of that. For bigger programs, there are closed world optimizations and tree shaking available. There's probably more optimizing possible, but I just haven't had the time to really dive into this yet.