Wow Theo. I just made a Hello World console app because I was sure you were spouting off about something you knew nothing about, and my Hello World console app is all of 16K. The XCode c version (which has absolutely no framework to link in at all) came in at 3K. 13K seems reasonable for an event dispatcher, etc.

I wonder if you're using your elfdata plugin in your console apps. That's probably jacking up the size of the built app a bunch. REALbasic's linker can't strip out unused methods in your plugin. You have to do that work yourself. Don't all plugin developers figure this out on like, day 2?

-Brad

On Feb 20, 2006, at 12:08 PM, Theodore H. Smith wrote:

Now that RB can make shell apps, it's large size is more of a problem than ever.

A shell tool is supposed to be a small tool that loads as fast as possible. This way, you can make many small tools, that can cooperate with each other and be chained or piped to each other in funny unix ways.

You'd expect a shell tool to load and quit many times per second, because some apps need to call them many times per second, but with RB it can take a few seconds to load the RB made shell tool :(

So, let's say one RB shell tool takes 2MB. In C it could be done in 8K.

Now lets say you needed to make 5 of these tools to cooperate with each other. Lets say in C the total size would be 40KB. With RB, it's 10MB.

So you get a 10BMB download instead of a 40KB download. And all of this makes for slow coding.

It's not really the unix way of doing things.

Shame really.


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to