There has been a lot of great work on this front on the Pharo side from the "team" and PharoLambda has made use of it (although it's a tiny project).
My footprint is ~22mb including vm & image. And leaving out sources.
The ./scripts directory has the example of how to do it, along side the
.gitlab-ci.yml file.
Unlike the commercial distributions (and this may have changed recently), there is a minimal image you can have download, which has enough to bootstrap loading your project via metacello. There are no browser tools or morphic things in the starting image I have chosen.
You can potentially get smaller - but it's a decent result. The only bit I added was to remove testcases (optional), and clear down metacello.
It's probably worthy of a blog post - but honestly the running example is pretty straight forward.
The commercial tools all have a decent "strip dead code" tool, that does a similar thing in reverse - which is equally a decent way of approaching the problem and can lead to even tinier results.
I received this comment on Facebook:Smalltalk is a fantastic language and its development environment can't bebeat... But the documentation for the many open source implementations iscontradictory or confusing or missing. I can't speak for the commercialversions. Without an experienced mentor it is not possible to create acomplex app. And even when you have done so, *I know no way to strip out theunused part of the image as well as the embedded source code*.-----This issue of stripping out unused code seems to recur a lot. And truth betold, I've never seen a clear explanation of how to do this. Can someoneprovide clear direction? Is this documented anywhere? I'd like to use theinformation in future to assuage other people's concerns.Thanks.--View this message in context: http://forum.world.st/Minimizing-an-Application-tp4963262.htmlSent from the Pharo Smalltalk Users mailing list archive at Nabble.com.