Where can I find specification about GDC (GNU D Compiler) and how to rewrite standard D types like uint etc.?
For info: I’m interested in using D for kernels and other low level stuff.
Thanks.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can follow the D ABI specification: http://dlang.org/abi.html
GDC follows pretty much everything from the top down to ‘Function Calling Conventions’ section.
This page will tell you some of the same information: http://gdcproject.org/wiki/Porting
All I have to say on rewriting the standard D types is DON’T. You are likely reaching the wrong solution for the wrong problem to be solved. I suggest giving me a bell on IRC if you use that platform, as I’d be much more readily available to answer any GDC Dev queries there.