PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Nice feature

Hi Kornalius,

I was wondering if you had thought about the possibility of making some of the features of the "runtime" optional. So when you make an EXE you get a custom version of the runtime with only the feature that your program uses. I'm not sure what kind of size reduction this would acheive or how complex it would be to do it. Maybe its not worth it? What do you think?

Kind regards,
Andy
I thought about it but it would be a pain to maintain. I don't like the idea of seperating everything into modules (.dll). Then when you distribute your apps, you need to include tons of .dlls. My best option right now is to have two runtimes, one without the gameapi stuff (removes about 100k from the final size) and one with. But it is still at the thinking stage.
Something like that sounds like a good compromise.
:D