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 ;-)

Attachment: signature.asc
Description: PGP signature

Reply via email to