www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Ali's slides from his C++Now talk

reply Joakim <dlang joakim.fea.st> writes:
Enjoying going through these:

http://ddili.org/AliCehreli_CppNow_2017_Competitive_Advantage_with_D.no_pause.pdf

Ali really has a gift for explaining stuff, we're lucky to have 
him.
May 23 2017
next sibling parent reply =?UTF-8?Q?Ali_=c3=87ehreli?= <acehreli yahoo.com> writes:
On 05/23/2017 04:31 PM, Joakim wrote:
 Enjoying going through these:

 http://ddili.org/AliCehreli_CppNow_2017_Competitive_Advantage_with_D.no_pause.pdf


 Ali really has a gift for explaining stuff, we're lucky to have him.
Let me be the first to say that the presentation had many no-nos: - Walls of text - Walls of code - Too much material Probably that's why it "reads" good. ;) Ali
May 23 2017
next sibling parent reply Jack Stouffer <jack jackstouffer.com> writes:
On Wednesday, 24 May 2017 at 00:05:54 UTC, Ali Çehreli wrote:
 ...
Any videos up?
May 23 2017
next sibling parent reply =?UTF-8?Q?Ali_=c3=87ehreli?= <acehreli yahoo.com> writes:
On 05/23/2017 07:42 PM, Jack Stouffer wrote:
 On Wednesday, 24 May 2017 at 00:05:54 UTC, Ali Çehreli wrote:
 ...
Any videos up?
Not yet but I heard the videos will be posted here: https://www.youtube.com/user/BoostCon Ali
May 23 2017
parent reply Wulfklaue <wulfklaue wulfklaue.com> writes:
On Wednesday, 24 May 2017 at 03:57:07 UTC, Ali Çehreli wrote:
 Not yet but I heard the videos will be posted here:

   https://www.youtube.com/user/BoostCon

 Ali
Page 68: "CTFE is being wastly improved by Stefan Koch.". Wastly? ;)
May 24 2017
next sibling parent jmh530 <john.michael.hall gmail.com> writes:
On Wednesday, 24 May 2017 at 08:34:14 UTC, Wulfklaue wrote:
 Page 68: "CTFE is being wastly improved by Stefan Koch.". 
 Wastly? ;)
I assume they meant vastly
May 24 2017
prev sibling parent =?UTF-8?Q?Ali_=c3=87ehreli?= <acehreli yahoo.com> writes:
On 05/24/2017 01:34 AM, Wulfklaue wrote:

 Page 68: "CTFE is being wastly improved by Stefan Koch.". Wastly? ;)
I was paging through quickly so nobody would notice. And of course I must have meant CTFE perforwance... :o) Ali
May 24 2017
prev sibling parent reply Bastiaan Veelo <Bastiaan Veelo.net> writes:
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
Jun 07 2017
parent reply Steven Schveighoffer <schveiguy yahoo.com> writes:
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
Jun 07 2017
parent reply =?UTF-8?Q?Ali_=c3=87ehreli?= <acehreli yahoo.com> writes:
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
Jun 07 2017
parent =?UTF-8?Q?Ali_=c3=87ehreli?= <acehreli yahoo.com> writes:
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
Jun 07 2017
prev sibling parent reply Corey Lubin <i-fear-the-spam coreylub.in> writes:
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
parent Jonathan M Davis via Digitalmars-d <digitalmars-d puremagic.com> writes:
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
prev sibling next sibling parent reply Manu via Digitalmars-d <digitalmars-d puremagic.com> writes:
On 24 May 2017 at 09:31, Joakim via Digitalmars-d <
digitalmars-d puremagic.com> wrote:

 Enjoying going through these:

 http://ddili.org/AliCehreli_CppNow_2017_Competitive_Advantag
 e_with_D.no_pause.pdf

 Ali really has a gift for explaining stuff, we're lucky to have him.
Hehe, I'm honoured to be quoted... verbatim :)
May 24 2017
parent reply =?UTF-8?Q?Ali_=c3=87ehreli?= <acehreli yahoo.com> writes:
On 05/24/2017 08:19 AM, Manu via Digitalmars-d wrote:
 On 24 May 2017 at 09:31, Joakim via Digitalmars-d
 Hehe, I'm honoured to be quoted... verbatim :)
Sorry for trimming the last part of your quote. ;) Ali
May 24 2017
parent Jonathan M Davis via Digitalmars-d <digitalmars-d puremagic.com> writes:
On Wednesday, May 24, 2017 13:18:37 Ali Çehreli via Digitalmars-d wrote:
 On 05/24/2017 08:19 AM, Manu via Digitalmars-d wrote:
 On 24 May 2017 at 09:31, Joakim via Digitalmars-d

 Hehe, I'm honoured to be quoted... verbatim :)
Sorry for trimming the last part of your quote. ;)
Well, you have to cut it off at some point, or you're just repeating everything that he's ever said since the start of the quote. :) - Jonathan M Davis
May 24 2017
prev sibling next sibling parent reply Corey Lubin <i-fear-the-spam coreylub.in> writes:
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 28 2017
parent reply =?UTF-8?Q?Ali_=c3=87ehreli?= <acehreli yahoo.com> writes:
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 28 2017
parent reply mate <aiueo aiueo.aiueo> writes:
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 28 2017
parent =?UTF-8?Q?Ali_=c3=87ehreli?= <acehreli yahoo.com> writes:
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
May 29 2017
prev sibling next sibling parent Sameer Pradhan <pradhan cemantix.org> writes:
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

 Ali really has a gift for explaining stuff, we're lucky to have 
 him.
I must say that I really enjoyed the slides as well! Hopefully will get to watching the video at some point. -- Sameer
Jun 16 2017
prev sibling next sibling parent Mark <smarksc gmail.com> writes:
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

 Ali really has a gift for explaining stuff, we're lucky to have 
 him.
Yes, the slides are great. And I think "compilable Python" is a very good way of advertising D.
Jun 17 2017
prev sibling parent Ecstatic Coder <ecstatic.coder gmail.com> writes:
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

 Ali really has a gift for explaining stuff, we're lucky to have 
 him.
Best introduction to D for C++ programmers so far. Lots of interesting infos, even for already "converted" C++ programmers like me.
Jun 18 2017