Discussion Thread: DIP 1028--Make @safe the Default--Final Review
Steven Schveighoffer
schveiguy at gmail.com
Thu Mar 26 18:50:45 UTC 2020
On 3/26/20 1:00 PM, jmh530 wrote:
> On Thursday, 26 March 2020 at 15:02:15 UTC, Steven Schveighoffer wrote:
>> [snip]
>>
>> At the top of your modules is not a big burden. If that drives you
>> away from the language, then I'm sorry to say that you are missing out
>> on the awesomeness of D, but I can't really help you.
>> [snip]
>
> I was talking about a hypothetical python person thinking about learning
> D, not about me personally.
>
So was I.
Python user: how do I call libX from D?
tutorial: Make sure you mark your functions as @system, or use @trusted
escapes. To make things easy, just put @system: at the top of your module.
User: ok, that's not too bad. (probably)
-Steve
More information about the Digitalmars-d
mailing list