Jump to page: 1 2
Thread overview
jface executable size down from 14 MB to 3 MB
May 22, 2008
yidabu
May 22, 2008
Frank Benoit
May 22, 2008
arnaud
May 22, 2008
Frank Benoit
May 22, 2008
arnaud
May 22, 2008
Frank Benoit
May 24, 2008
Long Chang
May 24, 2008
Frank Benoit
May 24, 2008
Long Chang
May 24, 2008
John Reimer
May 24, 2008
John Reimer
May 22, 2008
John Reimer
May 22, 2008
Frank Benoit
May 24, 2008
John Reimer
May 25, 2008
yidabu
May 22, 2008
by set dsss oneatatime=yes, and build static dwt.lib, dwtx.lib, jface executable size down from 14 MB to 3 MB, and executable compile time down from 60 seconds to 9 seconds.

It's a great news for dwt fans!



-- 
yidabu <yidabu.spam@gmail.com> http://www.dsource.org/projects/dwin

D 语言-中文(D Chinese): http://www.d-programming-language-china.org/ http://bbs.d-programming-language-china.org/ http://dwin.d-programming-language-china.org/ http://scite4d.d-programming-language-china.org/


May 22, 2008
yidabu schrieb:
> by set dsss oneatatime=yes, and build static dwt.lib, dwtx.lib, jface executable size down from 14 MB to 3 MB, and executable compile time down from 60 seconds to 9 seconds.
> 
> It's a great news for dwt fans!
> 
> 
> 

wow, that is good news

May 22, 2008
Frank Benoit a écrit :
> yidabu schrieb:
>> by set dsss oneatatime=yes, and build static dwt.lib, dwtx.lib, jface executable size down from 14 MB to 3 MB, and executable compile time down from 60 seconds to 9 seconds.
>>
>> It's a great news for dwt fans!
>>
>>
>>
> 
> wow, that is good news
> 
But the exe works with DMD 1.030 and DWT/JFACE?
May 22, 2008
Hello yidabu,

> by set dsss oneatatime=yes, and build static dwt.lib, dwtx.lib, jface
> executable size down from 14 MB to 3 MB, and executable compile time
> down from 60 seconds to 9 seconds.
> 
> It's a great news for dwt fans!
> 
> D 语言-中文(D Chinese):
> http://www.d-programming-language-china.org/
> http://bbs.d-programming-language-china.org/
> http://dwin.d-programming-language-china.org/
> http://scite4d.d-programming-language-china.org/


Very strange. But I won't complain. :)

So this happens with the most recent dsss in svn?

-JJR


May 22, 2008
arnaud schrieb:
> Frank Benoit a écrit :
>> yidabu schrieb:
>>> by set dsss oneatatime=yes, and build static dwt.lib, dwtx.lib, jface executable size down from 14 MB to 3 MB, and executable compile time down from 60 seconds to 9 seconds.
>>>
>>> It's a great news for dwt fans!
>>>
>>>
>>>
>>
>> wow, that is good news
>>
> But the exe works with DMD 1.030 and DWT/JFACE?

DMD 1.029 and 1.030 do not work because they crash in anonymous classes.
DMD 1.028 works.
May 22, 2008
John Reimer schrieb:

> 
> Very strange. But I won't complain. :)
> 
> So this happens with the most recent dsss in svn?
> 
> -JJR
> 
> 

I tested it with the 0.75 release.
May 22, 2008
Frank Benoit a écrit :
> arnaud schrieb:
>> Frank Benoit a écrit :
>>> yidabu schrieb:
>>>> by set dsss oneatatime=yes, and build static dwt.lib, dwtx.lib, jface executable size down from 14 MB to 3 MB, and executable compile time down from 60 seconds to 9 seconds.
>>>>
>>>> It's a great news for dwt fans!
>>>>
>>>>
>>>>
>>>
>>> wow, that is good news
>>>
>> But the exe works with DMD 1.030 and DWT/JFACE?
> 
> DMD 1.029 and 1.030 do not work because they crash in anonymous classes.
> DMD 1.028 works.
But oneatatime is with DMD 1.030?
May 22, 2008
arnaud schrieb:
> Frank Benoit a écrit :
>> arnaud schrieb:
>>> Frank Benoit a écrit :
>>>> yidabu schrieb:
>>>>> by set dsss oneatatime=yes, and build static dwt.lib, dwtx.lib, jface executable size down from 14 MB to 3 MB, and executable compile time down from 60 seconds to 9 seconds.
>>>>>
>>>>> It's a great news for dwt fans!
>>>>>
>>>>>
>>>>>
>>>>
>>>> wow, that is good news
>>>>
>>> But the exe works with DMD 1.030 and DWT/JFACE?
>>
>> DMD 1.029 and 1.030 do not work because they crash in anonymous classes.
>> DMD 1.028 works.
> But oneatatime is with DMD 1.030?

No, it was about the DSSS option in the DSSS compiler profile.
May 24, 2008
2008/5/22 Frank Benoit <keinfarbton@googlemail.com>:

> arnaud schrieb:
>
>> Frank Benoit a écrit :
>>
>>> arnaud schrieb:
>>>
>>>> Frank Benoit a écrit :
>>>>
>>>>> yidabu schrieb:
>>>>>
>>>>>> by set dsss oneatatime=yes, and build static dwt.lib, dwtx.lib, jface executable size down from 14 MB to 3 MB, and executable compile time down from 60 seconds to 9 seconds.
>>>>>>
>>>>>> It's a great news for dwt fans!
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>> wow, that is good news
>>>>>
>>>>>  But the exe works with DMD 1.030 and DWT/JFACE?
>>>>
>>>
>>> DMD 1.029 and 1.030 do not work because they crash in anonymous classes. DMD 1.028 works.
>>>
>> But oneatatime is with DMD 1.030?
>>
>
> No, it was about the DSSS option in the DSSS compiler profile.


still too big.

May 24, 2008
Long Chang schrieb:
> still too big.
> 

3 MB is without the use of UPX... however

Who defines 'too big' ? What is the limit? What rules do you apply to find that number?

If you have hundreds of source files (tango+dwt+dwtx) it cannot go into a 250k executable.
So what is small enough for you?
And why should you use JFace if you want a mini app?
If you would use a java application that is based on JFace, you need the Java runtime + SWT libs + Jface libs + SWT DLLs/SOs. The compiled DWT binary has all the needed functionality in itself.

SWT and JFace is not optimized for small D applications. As in SWT so are withing JFace many internal dependencies between the classes. So even the little HelloWorld will contain the biggest part of SWT or JFace.

Perhaps DDL can be an option, if big parts of the code can be moved into external libs. But still i don't know if you would count that to the executable size. If you want to distribute your app as a small zip file, you would still need to put the libs into that zip.
« First   ‹ Prev
1 2