March 06, 2009 Re: Metaprogramming in D tonight at the NWCPP | ||||
---|---|---|---|---|
| ||||
Posted in reply to BCS | BCS wrote:
> Hello Walter,
>
>> Robert Fraser wrote:
>>
>>> Walter Bright wrote:
>>>
>>>> http://www.nwcpp.org/
>>>>
>>> ****!!! I had a lab or I would have gone ;-( Any chance of a
>>> video...?
>>>
>> Bartosz videotaped it, I imagine he'll put it up on the nwcpp.org web
>> site soon.
>>
>
> Bump ?????
You'll have to ask Bartosz!
|
April 22, 2009 Re: Metaprogramming in D tonight at the NWCPP | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | Walter Bright skrev:
> BCS wrote:
>> Hello Walter,
>>
>>> Robert Fraser wrote:
>>>
>>>> Walter Bright wrote:
>>>>
>>>>> http://www.nwcpp.org/
>>>>
>>>> ****!!! I had a lab or I would have gone ;-( Any chance of a
>>>> video...?
>>>>
>>> Bartosz videotaped it, I imagine he'll put it up on the nwcpp.org web
>>> site soon.
>>>
>>
>> Bump ?????
>
> You'll have to ask Bartosz!
Done.
|
April 22, 2009 Re: Metaprogramming in D tonight at the NWCPP | ||||
---|---|---|---|---|
| ||||
Posted in reply to Arild Boes | Reply to Arild,
> Walter Bright skrev:
>
>> BCS wrote:
>>
>>> Hello Walter,
>>>
>>>> Robert Fraser wrote:
>>>>
>>>>> Walter Bright wrote:
>>>>>
>>>>>> http://www.nwcpp.org/
>>>>>>
>>>>> ****!!! I had a lab or I would have gone ;-( Any chance of a
>>>>> video...?
>>>>>
>>>> Bartosz videotaped it, I imagine he'll put it up on the nwcpp.org
>>>> web site soon.
>>>>
>>> Bump ?????
>>>
>> You'll have to ask Bartosz!
>>
> Done.
>
link?
|
April 22, 2009 Re: Metaprogramming in D tonight at the NWCPP | ||||
---|---|---|---|---|
| ||||
Posted in reply to BCS | BCS skrev:
> Reply to Arild,
>
>> Walter Bright skrev:
>>
>>> BCS wrote:
>>>
>>>> Hello Walter,
>>>>
>>>>> Robert Fraser wrote:
>>>>>
>>>>>> Walter Bright wrote:
>>>>>>
>>>>>>> http://www.nwcpp.org/
>>>>>>>
>>>>>> ****!!! I had a lab or I would have gone ;-( Any chance of a
>>>>>> video...?
>>>>>>
>>>>> Bartosz videotaped it, I imagine he'll put it up on the nwcpp.org
>>>>> web site soon.
>>>>>
>>>> Bump ?????
>>>>
>>> You'll have to ask Bartosz!
>>>
>> Done.
>>
>
> link?
>
>
Asking bartosz: Done.
Answer:
"Yes, I have the video, but I haven’t uploaded it yet. The quality is really bad. I’ll try to get to it in the coming days."
Waiting for coming days: In progress.
Sorry if was too trigger happy on this one, I maybe should have waited
until he posted it.
I'll post the link, when it comes around.
|
April 27, 2009 Re: Metaprogramming in D tonight at the NWCPP | ||||
---|---|---|---|---|
| ||||
Posted in reply to Robert Fraser | Here’s the link: http://www.vimeo.com/4333802 |
April 27, 2009 Re: Metaprogramming in D tonight at the NWCPP | ||||
---|---|---|---|---|
| ||||
Posted in reply to Arild Boes | Hello Arild,
> Here's the link:
>
> http://www.vimeo.com/4333802
>
SWEET! to bad it's almost midnight and I'm pineing for a 56K link right now (don't ask) so I'll have to wait til later
|
April 27, 2009 Re: Metaprogramming in D tonight at the NWCPP | ||||
---|---|---|---|---|
| ||||
Posted in reply to Arild Boes | Arild Boes:
> Here's the link:
> http://www.vimeo.com/4333802
Globally is a very nice presentation.
I like how Walter is never putting himself over the people that are listening. He is humble and at the same level. But the video isn't finished, where's the second part of the video? :-)
Using html pages with scroll down... uhm, I am not sure I like that much.
Walter explains the code he shows mostly after questions, not before. This has both advantages and disadvantages.
I think that unaryFunc has fused their brain a bit :-)
In the video the myToString function lacks the generation of the suffix.
-----------------
Notes about D2, from the video:
The "static foreach" can be quite useful.
To reduce memory used by templates the compiler may perform tail-call optimization on the computations done by templates...
I don't like much that usage of "enum" keywork, in D2. It doesn't sound natural.
If functions can be run at compile time, can the "template" keyword be removed from the language? (to allow this other small things may be changed/improved).
Bye,
bearophile
|
April 27, 2009 Re: Metaprogramming in D tonight at the NWCPP | ||||
---|---|---|---|---|
| ||||
Posted in reply to Arild Boes | Arild Boes wrote: > Here’s the link: > > http://www.vimeo.com/4333802 > One thing that I thought could have been explained was that this: > T increment(T)(T x) > { > return x + 1; > } > > auto j = increment(3); Is actually this: > template increment(T) > { > T increment(T x) > { > return x + 1; > } > } > > auto j = increment!(typeof(3)).increment(3); That explains how the template member promotion works AND explains why the return type of template functions can use the template argument. Still watching and enjoying it. :) -- Daniel |
April 27, 2009 Re: Metaprogramming in D tonight at the NWCPP | ||||
---|---|---|---|---|
| ||||
Posted in reply to Daniel Keep | Awww! I wanna see how it ends! :D -- Daniel |
May 04, 2009 Re: Metaprogramming in D tonight at the NWCPP | ||||
---|---|---|---|---|
| ||||
Posted in reply to bearophile | bearophile wrote: > Arild Boes: >> Here's the link: http://www.vimeo.com/4333802 > > Globally is a very nice presentation. > > I like how Walter is never putting himself over the people that are > listening. He is humble and at the same level. It has to be a gift! Richard Stallman is the opposite, both on podium and in person. Not good PR for FSF. > Using html pages with scroll down... uhm, I am not sure I like that > much. That hit me too. I've been using PP or OO "just because", never really thinking. But there are some advantages to using "a straight, long document". It's a /lot/ faster to create the presentation. You don't have to split stuff into screenfulls (or fight with the presentation software!) And once on stage, scrolling back is way easier and faster! And you can sroll to exactly where you want, instead of to the nearest screenful. Heh, now I can say "if it's good enough for Walter Bright on a big butt guru forum, I can use it, too!" |
Copyright © 1999-2021 by the D Language Foundation