Jai compiles 80,000 lines of code in under a second

Adam D. Ruppe destructionator at gmail.com
Fri Sep 21 18:20:21 UTC 2018


On Friday, 21 September 2018 at 13:37:58 UTC, aliak wrote:
> Si si, but i believe the loadExecutableIcon actually calls 
> windows APIs to set an icon on an executable, and they'd 
> probably @system which means I don't think that could be done 
> in D.

You don't need an API call to do that. You just provide the icon 
in a resource to the linker or a separate resource thing. Some 
C++ environments do it via pragmas, or you can do it 
traditionally in a makefile/build command line pretty easily; no 
need to run fancy code.



More information about the Digitalmars-d mailing list