www.digitalmars.com Home | Search | C & C++ | D | DMDScript | News Groups | index | prev | next
Archives

D Programming
D
D.gnu
digitalmars.D
digitalmars.D.bugs
digitalmars.D.dtl
digitalmars.D.ide
digitalmars.D.dwt
digitalmars.D.announce
digitalmars.D.learn
digitalmars.D.debugger

C/C++ Programming
c++
c++.announce
c++.atl
c++.beta
c++.chat
c++.command-line
c++.dos
c++.dos.16-bits
c++.dos.32-bits
c++.idde
c++.mfc
c++.rtl
c++.stl
c++.stl.hp
c++.stl.port
c++.stl.sgi
c++.stlsoft
c++.windows
c++.windows.16-bits
c++.windows.32-bits
c++.wxwindows

digitalmars.empire
digitalmars.DMDScript
electronics



digitalmars.D - Re: Executable size

↑ ↓ ← terranium <spam here.lot> writes:
Neal Alexander Wrote:

 Steven Schveighoffer wrote:
 Once D is natively using DLL/.so to store the runtime, executable sizes 
 should go way down.
 
 -Steve 
 
 

Haskell/GHC(SplitObjs).

I don't believe D runtime can make any bloat, even whole Phobos is 1MB - how it can become 14MB?
May 10 2008
↑ ↓ → Neal Alexander <WQEQWEUQY HOTMAIL.COM> writes:
terranium wrote:
 Neal Alexander Wrote:
 
 Steven Schveighoffer wrote:
 Once D is natively using DLL/.so to store the runtime, executable sizes 
 should go way down.

 -Steve 

Haskell/GHC(SplitObjs).

I don't believe D runtime can make any bloat, even whole Phobos is 1MB - how it can become 14MB?

Its not Phobos. "Hello world" in D, OCaml, and haskell/ghc are all around 300kb (+-100k) DWT or GTK can easily add 10mb to a distro. There may be D bindings for lightweight GUI toolkits like FLTK (http://www.fltk.org/) or something - i dunno, i never bothered checking. Even if theres no bindings, you can always use some WYSIWYG tool to generate a C skeleton to plug your D code into. And on a side note: last time i native compiled a quick graph visualization GUI in java the dependencies were like 50mb heh.
May 11 2008