Flame bait: D vs. Rust vs. Go Benchmarking

monarch_dodra monarchdodra at gmail.com
Thu Jul 25 05:54:22 PDT 2013


On Thursday, 25 July 2013 at 11:42:10 UTC, Jonathan M Davis wrote:
> On Thursday, July 25, 2013 08:56:40 monarch_dodra wrote:
>> On Thursday, 25 July 2013 at 00:09:40 UTC, Jonathan M Davis 
>> wrote:
>> > On Thursday, July 25, 2013 01:29:04 John Colvin wrote:
>> >> And @safe is automatically inferred (on templates only 
>> >> still?)
>> >> when possible? I don't like where this is going...
>> > 
>> > If you have code that you want to be explictly @system, then
>> > mark it with
>> > @system. That will override any attribute inference for 
>> > @safe.
>> > 
>> > - Jonathan m Davis
>> 
>> Last time I checked: Adding a *single* qualification on a
>> function will deactivate inference for *every* qualifier. Is 
>> this
>> still true?
>
> I have no idea. I'd have to test it. I was not aware of that 
> ever being the
> case. I'd certainly consider that to be a bug if it is.

I just tested on my end. Seems it's not the case, so I could have 
been mistaken. Good to know.

>> Is there any documentation about how inference works, I can't
>> find it.
>
> Not that I'm aware of.
>
> - Jonathan M Davis

Thanks.


More information about the Digitalmars-d mailing list