www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - Video: Andrei Alexandrescu at Lang.NEXT 2012

reply "Jakob Ovrum" <jakobovrum gmail.com> writes:
This video went up a while ago. I would like to comment on it, 
but I didn't see any thread about it, so here it is.

     Three Unlikely Successful Features of D

     
http://channel9.msdn.com/Events/Lang-NEXT/Lang-NEXT-2012/Three-Unlikely-Successful-Features-of-D?format=html5

Thanks to Andrei Alexandrescu for this great presentation! 
Although I'm judging by the video alone, I feel you captivated 
the crowd quite well with this one :)
Apr 12 2012
next sibling parent "Jakob Ovrum" <jakobovrum gmail.com> writes:
On Thursday, 12 April 2012 at 13:46:50 UTC, Jakob Ovrum wrote:
 This video went up a while ago. I would like to comment on it, 
 but I didn't see any thread about it, so here it is.

     Three Unlikely Successful Features of D

     
 http://channel9.msdn.com/Events/Lang-NEXT/Lang-NEXT-2012/Three-Unlikely-Successful-Features-of-D?format=html5
Some comments: Using goto for cleanup is a common trick probably known to most modern C users. Maybe the C slide should have used goto, or there could have been two C slides; the current setup was perhaps slightly unfair to C programmers who would never think of writing several indentations of rollback-cleanup. does have the `using` statement to help with cleanup in a sort-of RAII-style way, except it still needs a level of indentation; it's not revolutionary and not nearly as good as D style or even C++ style cleanup, but it does improve it over the pure Java model. The editor comment would've made a great segue into mentioning VisualD - I don't actually know much about the composition of the audience, but it is a Microsoft hosted conference :V I think it's important to emphasize that string mixins are only available at compile-time, I think the host of eval()-like functions in other languages have soured quite a few people to the idea of mixing in strings as code. It should've been obvious to anyone who was paying attention, but it's probably worth mentioning nevertheless. Anyway, overall, one of the best presentations about D I've seen yet, it's always a joy to watch these videos.
Apr 12 2012
prev sibling next sibling parent reply "Jakob Ovrum" <jakobovrum gmail.com> writes:
On Thursday, 12 April 2012 at 13:46:50 UTC, Jakob Ovrum wrote:
 This video went up a while ago. I would like to comment on it, 
 but I didn't see any thread about it, so here it is.

     Three Unlikely Successful Features of D

     
 http://channel9.msdn.com/Events/Lang-NEXT/Lang-NEXT-2012/Three-Unlikely-Successful-Features-of-D?format=html5

 Thanks to Andrei Alexandrescu for this great presentation! 
 Although I'm judging by the video alone, I feel you captivated 
 the crowd quite well with this one :)
Reddit: http://www.reddit.com/r/programming/comments/s66e8/three_unlikely_successful_features_of_d_langnext/
Apr 12 2012
parent reply Andrei Alexandrescu <SeeWebsiteForEmail erdani.org> writes:
On 4/12/12 9:13 AM, Jakob Ovrum wrote:
 On Thursday, 12 April 2012 at 13:46:50 UTC, Jakob Ovrum wrote:
 This video went up a while ago. I would like to comment on it, but I
 didn't see any thread about it, so here it is.

 Three Unlikely Successful Features of D

 http://channel9.msdn.com/Events/Lang-NEXT/Lang-NEXT-2012/Three-Unlikely-Successful-Features-of-D?format=html5


 Thanks to Andrei Alexandrescu for this great presentation! Although
 I'm judging by the video alone, I feel you captivated the crowd quite
 well with this one :)
Reddit: http://www.reddit.com/r/programming/comments/s66e8/three_unlikely_successful_features_of_d_langnext/
Rats, there are two posts: http://www.reddit.com/r/programming/comments/s617m/three_unlikely_successful_features_of_d_andrei/ Andrei
Apr 12 2012
parent "Jakob Ovrum" <jakobovrum gmail.com> writes:
On Thursday, 12 April 2012 at 14:15:09 UTC, Andrei Alexandrescu 
wrote:
 On 4/12/12 9:13 AM, Jakob Ovrum wrote:
 On Thursday, 12 April 2012 at 13:46:50 UTC, Jakob Ovrum wrote:
 This video went up a while ago. I would like to comment on 
 it, but I
 didn't see any thread about it, so here it is.

 Three Unlikely Successful Features of D

 http://channel9.msdn.com/Events/Lang-NEXT/Lang-NEXT-2012/Three-Unlikely-Successful-Features-of-D?format=html5


 Thanks to Andrei Alexandrescu for this great presentation! 
 Although
 I'm judging by the video alone, I feel you captivated the 
 crowd quite
 well with this one :)
Reddit: http://www.reddit.com/r/programming/comments/s66e8/three_unlikely_successful_features_of_d_langnext/
Rats, there are two posts: http://www.reddit.com/r/programming/comments/s617m/three_unlikely_successful_features_of_d_andrei/ Andrei
Agh, I missed it, sorry! I deleted mine. (Hey, mine linked directly to the HTML5 version, I take solace in this fact :P)
Apr 12 2012
prev sibling parent reply "Martin Nowak" <dawg dawgfoto.de> writes:
On Thu, 12 Apr 2012 15:46:49 +0200, Jakob Ovrum <jakobovrum gmail.com>  
wrote:

 This video went up a while ago. I would like to comment on it, but I  
 didn't see any thread about it, so here it is.

      Three Unlikely Successful Features of D

       
 http://channel9.msdn.com/Events/Lang-NEXT/Lang-NEXT-2012/Three-Unlikely-Successful-Features-of-D?format=html5

 Thanks to Andrei Alexandrescu for this great presentation! Although I'm  
 judging by the video alone, I feel you captivated the crowd quite well  
 with this one :)
The generalized palindrome doesn't work with odd lengths. simple fix: bool palindrome(Range)(Range range) { for (; !range.empty; range.popFront(), range.empty || range.popBack()) { if (range.front != range.back) return false; } return true; }
Apr 12 2012
next sibling parent reply Andrei Alexandrescu <SeeWebsiteForEmail erdani.org> writes:
On 4/12/12 4:57 PM, Martin Nowak wrote:
 On Thu, 12 Apr 2012 15:46:49 +0200, Jakob Ovrum <jakobovrum gmail.com>
 wrote:

 This video went up a while ago. I would like to comment on it, but I
 didn't see any thread about it, so here it is.

 Three Unlikely Successful Features of D

 http://channel9.msdn.com/Events/Lang-NEXT/Lang-NEXT-2012/Three-Unlikely-Successful-Features-of-D?format=html5


 Thanks to Andrei Alexandrescu for this great presentation! Although
 I'm judging by the video alone, I feel you captivated the crowd quite
 well with this one :)
The generalized palindrome doesn't work with odd lengths. simple fix: bool palindrome(Range)(Range range) { for (; !range.empty; range.popFront(), range.empty || range.popBack()) { if (range.front != range.back) return false; } return true; }
Ouch. Thanks. Andrei
Apr 12 2012
parent reply "David Nadlinger" <see klickverbot.at> writes:
On Thursday, 12 April 2012 at 22:15:42 UTC, Andrei Alexandrescu 
wrote:
 On 4/12/12 4:57 PM, Martin Nowak wrote:
 The generalized palindrome doesn't work with odd lengths.
 simple fix:

 bool palindrome(Range)(Range range) {
 for (; !range.empty; range.popFront(), range.empty || 
 range.popBack()) {
 if (range.front != range.back)
 return false;
 }
 return true;
 }
Ouch. Thanks.
Call me stupid, but how exactly is the version from Andrei's slides broken? David
Apr 12 2012
parent "David Nadlinger" <see klickverbot.at> writes:
On Thursday, 12 April 2012 at 22:27:03 UTC, David Nadlinger wrote:
 Call me stupid, but how exactly is the version from Andrei's 
 slides broken?
Disregard that, I was looking at the array slicing version. David
Apr 12 2012
prev sibling parent Andrei Alexandrescu <SeeWebsiteForEmail erdani.org> writes:
On 4/12/12 4:57 PM, Martin Nowak wrote:
 On Thu, 12 Apr 2012 15:46:49 +0200, Jakob Ovrum <jakobovrum gmail.com>
 wrote:

 This video went up a while ago. I would like to comment on it, but I
 didn't see any thread about it, so here it is.

 Three Unlikely Successful Features of D

 http://channel9.msdn.com/Events/Lang-NEXT/Lang-NEXT-2012/Three-Unlikely-Successful-Features-of-D?format=html5


 Thanks to Andrei Alexandrescu for this great presentation! Although
 I'm judging by the video alone, I feel you captivated the crowd quite
 well with this one :)
The generalized palindrome doesn't work with odd lengths. simple fix: bool palindrome(Range)(Range range) { for (; !range.empty; range.popFront(), range.empty || range.popBack()) { if (range.front != range.back) return false; } return true; }
Wrote a comment: http://channel9.msdn.com/Events/Lang-NEXT/Lang-NEXT-2012/Three-Unlikely-Successful-Features-of-D Thanks for the fix! Andrei
Apr 12 2012