Re: Size of bound files

new topic     » goto parent     » topic index » view thread      » older message » newer message
ChrisB said...

Hi

Could I have this as a feature request for future development, of low urgency.

Size of bound files

I've just bound the following tiny program to quickly detect ip addresses

...

and its come out at 3,476,272 Mb, ie 3.5 megs for a 22 line program.

I know a lot of stuff gets added on, and I could use UPX or gzexe, but even so! There must be a lot of 'useless' stuff that could be stripped out.

As I said, this is a low priority task, but if you could get round to it, it might make a few more fans ('produces tight compact executables')

Snarky answer: Use the translator. (I get a 5MB bound file, and a 500KB translated file.)

Seriously, though, I'm not sure what we would do. The "backend runner" is basically the interpreter back end with a simpler front end. For some reason, it's a bit bigger than the interpreter.

We could provide the backend linked as a shared library. The interpreter and backend runner would then be able to share the same backend at that point. Obviously, this makes it more difficult to share a bound executable, but it would be a lot smaller.

Matt

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu