On Sun, 24 Aug 2014 06:36:01 +
Artem Tarasov via Digitalmars-d-learn
wrote:
> On Sunday, 24 August 2014 at 06:20:38 UTC, ketmar via
> Digitalmars-d-learn wrote:
> > does ldc uses shared runtime here?
> No, it doesn't:
hm. ldc rocks. ;-)
signature.asc
Description: PGP signature
On Sunday, 24 August 2014 at 06:20:38 UTC, ketmar via
Digitalmars-d-learn wrote:
does ldc uses shared runtime here?
No, it doesn't:
$ ldd test
linux-vdso.so.1 (0x7fffce266000)
librt.so.1 => /usr/lib/librt.so.1 (0x7fc174193000)
libdl.so.2 => /usr/lib/libdl.so.2 (0
On Sun, 24 Aug 2014 06:10:20 +
Artem Tarasov via Digitalmars-d-learn
wrote:
> OTOH, on Linux latest LDC does far better job in eliminating dead
> code than DMD:
does ldc uses shared runtime here? with
dmd -defaultlib=libphobos2.so test.d
i got 657,438 bytes (425,836 stripped).
seems tha
On Sunday, 24 August 2014 at 03:14:33 UTC, ketmar via
Digitalmars-d-learn wrote:
yes. this binary includes statically linked runtime and phobos,
plus
alot of template expansions. alas, template magic is not free.
OTOH, on Linux latest LDC does far better job in eliminating dead
code than DMD:
On Sat, 23 Aug 2014 23:40:12 +
Bayan Rafeh via Digitalmars-d-learn
wrote:
p.s. strip it. stripping debug info can significantly reduce binary
size. for your example:
unstripped elf: 1,674,653 bytes
stripped elf : 1,074,528 bytes
signature.asc
Description: PGP signature
On Sat, 23 Aug 2014 23:40:12 +
Bayan Rafeh via Digitalmars-d-learn
wrote:
> Renders a 1.6 megabyte binary. Is that normal?
yes. this binary includes statically linked runtime and phobos, plus
alot of template expansions. alas, template magic is not free.
signature.asc
Description: PGP signa