October 19, 2015 Re: Phobos still being statically linked in? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andrei Alexandrescu | On 2015-10-19 18:07, Andrei Alexandrescu wrote: > How large is Hello, word when dynamically linked? -- Andrei When I did that back in the days with D1 and Tango it was 16KB. Same as a C Hello World. -- /Jacob Carlborg |
October 20, 2015 Re: Phobos still being statically linked in? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jacob Carlborg | On Sunday, 18 October 2015 at 16:02:50 UTC, Jacob Carlborg wrote: > On 2015-10-17 13:28, Marc Schütz wrote: >> Yes, it's still linked statically by default, at least with DMD. I don't >> know why this wasn't changed yet > > 1. It makes it easier to distribute binaries since most computers won't have a Phobos and druntime installed It's not too complicated to deliver those two files in addition to the executable > > 2. There's no guaranteed ABI compatibly between different release of D That it the really bad part - if I were to ship the librarys only once, I would prefer it. But pretty much every time? NO. |
Copyright © 1999-2021 by the D Language Foundation