May 29, 2017
On Tuesday, 23 May 2017 at 23:31:48 UTC, Joakim wrote:
> Enjoying going through these:
>
> http://ddili.org/AliCehreli_CppNow_2017_Competitive_Advantage_with_D.no_pause.pdf

I was particularly amused by the very last slide... Clever. :))

If anyone happens to notice when the video goes up, a quick heads-up posted to this thread would be appreciated.

May 29, 2017
On Wednesday, 24 May 2017 at 00:05:54 UTC, Ali Çehreli wrote:
> On 05/23/2017 04:31 PM, Joakim wrote:
>> http://ddili.org/AliCehreli_CppNow_2017_Competitive_Advantage_with_D.no_pause.pdf

"Functions defined as @safe and modules compiled with -safe cannot corrupt memory." (slide 90)

Is there really a `-safe` command-line option?

> Error: unrecognized switch '-safe'

Maybe it's an old one that got pruned along the way..

May 28, 2017
On Monday, May 29, 2017 01:17:46 Corey Lubin via Digitalmars-d wrote:
> On Wednesday, 24 May 2017 at 00:05:54 UTC, Ali Çehreli wrote:
> > On 05/23/2017 04:31 PM, Joakim wrote:
> >> http://ddili.org/AliCehreli_CppNow_2017_Competitive_Advantage_with_D.no _pause.pdf
> "Functions defined as @safe and modules compiled with -safe
> cannot corrupt memory." (slide 90)
>
> Is there really a `-safe` command-line option?
>
> > Error: unrecognized switch '-safe'
>
> Maybe it's an old one that got pruned along the way..

I think that TDPL might talk about it, but if it ever was a thing, it's not now and hasn't been for years. Largely, the safety stuff is all controlled by the attributes in the code (@safe, @system, and @trusted), and compiler switches don't affect that. The primary exception to that is the -boundscheck flag, which lets you turn off bounds checking in @safe code even though doing so is not @safe. Certainly, it's not the case that the compiler doesn't care about memory safety until you use a compiler flag.

Under normal circumstances, anything marked with @safe can only call functions that are @safe or @trusted and cannot do any operations which are considered @system, whereas @system and @trusted functions can do whatever they want with regards to @system operations, and the @safety of templated functions is infered based on whether their bodies do anything that's @system or not. Compiler flags don't enter into any of that.

- Jonathan M Davis


May 28, 2017
On 05/28/2017 05:41 PM, Corey Lubin wrote:
> On Tuesday, 23 May 2017 at 23:31:48 UTC, Joakim wrote:
>> Enjoying going through these:
>>
>> http://ddili.org/AliCehreli_CppNow_2017_Competitive_Advantage_with_D.no_pause.pdf
>>
>
> I was particularly amused by the very last slide... Clever. :))

It still amuses me but credit goes to this forum. :) (Too lazy to dig it up who posted it first.) For convenience, here they are:

  :C
  :C++
  :D

Some people think the middle programmer has band-aids for wounds inflicted during coding, some others think the programmer is simply throwing up. :)

Ali

May 29, 2017
On Monday, 29 May 2017 at 06:18:14 UTC, Ali Çehreli wrote:
> On 05/28/2017 05:41 PM, Corey Lubin wrote:
> > On Tuesday, 23 May 2017 at 23:31:48 UTC, Joakim wrote:
> >> Enjoying going through these:
> >>
> >> 
> http://ddili.org/AliCehreli_CppNow_2017_Competitive_Advantage_with_D.no_pause.pdf
> >>
> >
> > I was particularly amused by the very last slide... Clever.
> :))
>
> It still amuses me but credit goes to this forum. :) (Too lazy to dig it up who posted it first.) For convenience, here they are:
>
>   :C
>   :C++
>   :D
>
> Some people think the middle programmer has band-aids for wounds inflicted during coding, some others think the programmer is simply throwing up. :)
>
> Ali

What was the reaction of the C++ crowd seeing this?

Thank you very much for the great material.

May 29, 2017
On 05/28/2017 11:35 PM, mate wrote:

>>   :C
>>   :C++
>>   :D

> What was the reaction of the C++ crowd seeing this?

I was out of time and was being shoved off stage but I managed to go quickly to the last slide. I remember hearing laughs from the audience. :)

It's easy to make jokes like that among friends. I already knew about half a dozen of the attendees personally; I made close friends with about another dozen or so during the conference; I've talked to, mingled, etc. with perhaps 3-4 dozen others... So, it's easy presenting to friends. :)

Ali

June 07, 2017
On Wednesday, 24 May 2017 at 02:42:47 UTC, Jack Stouffer wrote:
> On Wednesday, 24 May 2017 at 00:05:54 UTC, Ali Çehreli wrote:
>> ...
>
> Any videos up?

The video is up: https://www.youtube.com/watch?v=vYEKEIpM2zo
June 07, 2017
On Wednesday, 7 June 2017 at 07:53:25 UTC, Bastiaan Veelo wrote:
> On Wednesday, 24 May 2017 at 02:42:47 UTC, Jack Stouffer wrote:
>> On Wednesday, 24 May 2017 at 00:05:54 UTC, Ali Çehreli wrote:
>>> ...
>>
>> Any videos up?
>
> The video is up: https://www.youtube.com/watch?v=vYEKEIpM2zo

Ali, what was the fiber question you couldn't answer?

-Steve
June 07, 2017
On 06/07/2017 08:58 AM, Steven Schveighoffer wrote:

>> The video is up: https://www.youtube.com/watch?v=vYEKEIpM2zo
>
> Ali, what was the fiber question you couldn't answer?
>
> -Steve

I wouldn't remember the question even when watching it myself, except for one word that I luckily repeated: "symmetric". So, the question was whether D's fibers were symmetric, a concept totally alien to me... :) I've now learned that yes, D's fibers are symmetrical:


https://stackoverflow.com/questions/41891989/what-is-the-difference-between-asymmetric-and-symmetric-coroutines

Ali

June 07, 2017
On 06/07/2017 09:56 AM, Ali Çehreli wrote:
> On 06/07/2017 08:58 AM, Steven Schveighoffer wrote:
>
>>> The video is up: https://www.youtube.com/watch?v=vYEKEIpM2zo
>>
>> Ali, what was the fiber question you couldn't answer?
>>
>> -Steve
>
> I wouldn't remember the question even when watching it myself, except
> for one word that I luckily repeated: "symmetric". So, the question was
> whether D's fibers were symmetric, a concept totally alien to me... :)
> I've now learned that yes, D's fibers are symmetrical:
>
>
> https://stackoverflow.com/questions/41891989/what-is-the-difference-between-asymmetric-and-symmetric-coroutines
>
>
> Ali
>

Reading it again, now I think D's fibers are asymmetric. Any experts in the house?

Ali