My choice to pick Go over D ( and Rust ), mostly non-technical
Iain Buclaw
ibuclaw at gdcproject.org
Wed Feb 7 07:20:08 UTC 2018
On Wednesday, 7 February 2018 at 06:29:01 UTC, Boris-Barboris
wrote:
> On Tuesday, 6 February 2018 at 23:08:48 UTC, David Nadlinger
> wrote:
>>
>
> Apparently, GDC folks do not populate builtin module, so
> there's no easy way to look check it, besides actually trying
> to compile:
> https://github.com/D-Programming-GDC/GDC/blob/master/libphobos/libdruntime/gcc/builtins.d#L24
> A bit of a shame it's so implicit, but it will probably
> actually work.
Read the docs, not the source code. ;-)
If all types have a D equivalent, and it isn't a generic macro
style built-in. Then it will be generated and pushed to the
module.
https://gcc.gnu.org/onlinedocs/gcc/Other-Builtins.html#Other-Builtins
https://gcc.gnu.org/onlinedocs/gcc/Target-Builtins.html#Target-Builtins
But indeed you do have the generate interface file trick to emit
a .di of the module which will be populated with all available
functions.
More information about the Digitalmars-d
mailing list