Jump to page: 1 2 3
Thread overview
DConf 2014 Keynote: High Performance Code Using D by Walter Bright
Jul 15, 2014
John
Jul 15, 2014
Walter Bright
Jul 17, 2014
John
Jul 15, 2014
Justin Whear
Jul 15, 2014
Walter Bright
Jul 15, 2014
Joakim
Jul 16, 2014
Jaroslav Hron
Jul 18, 2014
Nick Sabalausky
Jul 16, 2014
bearophile
Jul 16, 2014
bearophile
Jul 20, 2014
simendsjo
Jul 20, 2014
bearophile
Jul 22, 2014
Don
Jul 22, 2014
bearophile
Jul 16, 2014
dennis luehring
Jul 18, 2014
Walter Bright
Jul 18, 2014
dennis luehring
Jul 18, 2014
Walter Bright
Jul 18, 2014
dennis luehring
Jul 18, 2014
Walter Bright
Jul 18, 2014
John Colvin
Jul 16, 2014
Dicebot
July 15, 2014
http://www.reddit.com/r/programming/comments/2aruaf/dconf_2014_keynote_high_performance_code_using_d/

https://www.facebook.com/dlang.org/posts/885322668148082

https://twitter.com/D_Programming/status/489081312297635840


Andrei
July 15, 2014
On Tuesday, 15 July 2014 at 16:20:34 UTC, Andrei Alexandrescu wrote:
> http://www.reddit.com/r/programming/comments/2aruaf/dconf_2014_keynote_high_performance_code_using_d/
>
> https://www.facebook.com/dlang.org/posts/885322668148082
>
> https://twitter.com/D_Programming/status/489081312297635840
>
>
> Andrei


Thanks for posting these videos.

At the end of this video, it sounds like it ends abruptly..
While answering a question, Walter says.. 'it turns out..' and the video ends there.
July 15, 2014
On 7/15/2014 11:28 AM, John wrote:
> At the end of this video, it sounds like it ends abruptly..
> While answering a question, Walter says.. 'it turns out..' and the video ends
> there.

That's when my time ran out and I vanished in a puff of greasy black smoke.
July 15, 2014
On Tue, 15 Jul 2014 18:28:34 +0000, John wrote:

> On Tuesday, 15 July 2014 at 16:20:34 UTC, Andrei Alexandrescu wrote:
>> http://www.reddit.com/r/programming/comments/2aruaf/
dconf_2014_keynote_high_performance_code_using_d/
>>
>> https://www.facebook.com/dlang.org/posts/885322668148082
>>
>> https://twitter.com/D_Programming/status/489081312297635840
>>
>>
>> Andrei
> 
> 
> Thanks for posting these videos.
> 
> At the end of this video, it sounds like it ends abruptly.. While answering a question, Walter says.. 'it turns out..' and the video ends there.

The sentence was "it turns out the simple compiler enhancement I am about to reveal makes all code run 5x faster."
July 15, 2014
On Tuesday, 15 July 2014 at 16:20:34 UTC, Andrei Alexandrescu wrote:
> http://www.reddit.com/r/programming/comments/2aruaf/dconf_2014_keynote_high_performance_code_using_d/
>
> https://www.facebook.com/dlang.org/posts/885322668148082
>
> https://twitter.com/D_Programming/status/489081312297635840

Will there be a lower-res video of this talk than 1.3 GBs, as there was for other talks?
July 15, 2014
On 7/15/2014 12:36 PM, Justin Whear wrote:
> The sentence was "it turns out the simple compiler enhancement I am about
> to reveal makes all code run 5x faster."

That does it. You're on the hook for writing my next material!

July 16, 2014
On Tuesday, 15 July 2014 at 16:20:34 UTC, Andrei Alexandrescu wrote:
> http://www.reddit.com/r/programming/comments/2aruaf/dconf_2014_keynote_high_performance_code_using_d/
>
> https://www.facebook.com/dlang.org/posts/885322668148082
>
> https://twitter.com/D_Programming/status/489081312297635840
>
>
> Andrei

Is the presentation itself available somewhere?
July 16, 2014
Andrei Alexandrescu:
> http://www.reddit.com/r/programming/comments/2aruaf/dconf_2014_keynote_high_performance_code_using_d/

Despite Walter is used to "pipeline programming", so the next step is to also handle failures and off-band messages in a functional way (without exceptions and global error values) with two "parallel pipelines", here named "Railway-Oriented Programming". This is one of the simplest introductions (and he can skip the slides 19-53) that I have found of this topic (that in the Haskell community is explained on the base of monads):

http://www.slideshare.net/ScottWlaschin/railway-oriented-programming

In Bugzilla there are already requests for some Railway-Oriented Programming:

https://issues.dlang.org/show_bug.cgi?id=6840
https://issues.dlang.org/show_bug.cgi?id=6843

I think no language extensions are needed for such kind of programming, but of course built-in tuple syntax and basic forms of pattern matching in switch (https://d.puremagic.com/issues/show_bug.cgi?id=596 ) improve the syntax and make the code more handy, handy enough to push more D programmers in using it.

For some examples of those things in a system language, this page shows some little examples of functional syntax for Rust:
http://science.raphael.poss.name/rust-for-functional-programmers.html

Bye,
bearophile
July 16, 2014
> Despite Walter is

Sorry, I meant to write, "Now Walter is"...

Bye,
bearophile
July 16, 2014
Am 15.07.2014 18:20, schrieb Andrei Alexandrescu:
> http://www.reddit.com/r/programming/comments/2aruaf/dconf_2014_keynote_high_performance_code_using_d/
>
> https://www.facebook.com/dlang.org/posts/885322668148082
>
> https://twitter.com/D_Programming/status/489081312297635840
>
>
> Andrei
>

@Walter

can you give an short (working) example code to show the different resulting assembler for your for-rewrite example - and what compilers your using for testing - only dmd or gdc?

this example:

T[10] array
for(int i = 0; i < 10; ++i) foo(array[i])

i've tested some combination on
http://gcc.godbolt.org/ with clang 3.4.1 and gcc4.9x

and i can't see any difference
« First   ‹ Prev
1 2 3