Would Lcl be better if it was in D?
ketmar via Digitalmars-d
digitalmars-d at puremagic.com
Mon Mar 2 00:05:51 PST 2015
On Mon, 02 Mar 2015 03:51:43 +0000, Taylor Hillegeist wrote:
> That seems like alot of KB for just a little bit of code. I wasn't aware
> that void main(){} was anything but entry pointer...
>
> ;; pseudo-assembly-language ;; main(argc, argv, envp); call
>
> push envp ;; rightmost argument push argv ;;
> push argc ;; leftmost argument ends up on top of stack
>
> call main
>
> I guess I'm confused about what is in there and why?
you need runtime to support all D features. try to link static C code,
for example. typical C binary is cheating, using system libc as dynamic
library. we can do this for D too (at least for dmd), but there is no
sense, as there is no system that is bundled with libphobos2.so ;-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20150302/e6e73812/attachment.sig>
More information about the Digitalmars-d
mailing list