Can we have ucent ?
12345swordy
alexanderheistermann at gmail.com
Tue Oct 30 19:04:00 UTC 2018
On Tuesday, 30 October 2018 at 18:35:59 UTC, Steven Schveighoffer
wrote:
> On 10/30/18 2:23 PM, Stanislav Blinov wrote:
>> On Tuesday, 30 October 2018 at 18:07:23 UTC, Basile B. wrote:
>>
>>> I think that the feature could be implemented as compiler
>>> special functions that would be located in druntime...
>>
>> Umm, no, thank you very much. It's bad enough that array
>> operations have to go through druntime. Arithmetic types have
>> no business being there whatsoever.
>
> Well, wouldn't it be like a backup implementation if the CPU
> doesn't have 128-bit registers?
>
> This is actually something I would EXPECT to be in druntime,
> since it's very platform/compiler specific.
>
> array operations are just there because of legacy (at least in
> the form they are in).
>
> -Steve
There no reason to put it into the druntime. Just have the
functions themselves be dynamically compiled during runtime.
https://wiki.dlang.org/LDC-specific_language_changes#.40.28ldc.attributes.dynamicCompile.29
More information about the Digitalmars-d
mailing list