Re: DConf 2014 Day 1 Talk 2

2014-06-06 Thread Steven Schveighoffer via Digitalmars-d-announce

On Fri, 06 Jun 2014 02:57:47 -0400, Dicebot  wrote:


On Tuesday, 3 June 2014 at 16:43:32 UTC, Andrei Alexandrescu wrote:

https://news.ycombinator.com/newest

http://www.reddit.com/r/programming/comments/277k5c/dconf_2014_day_1_talk_2_templates_in_the_wild_a/

Andrei


One thing that positively surprised me is how deep into advanced D  
features some snippets go. Back when I was doing C++ usage of any overly  
advanced template tricks was highly discouraged with a reasoning that it  
will make application non-maintainable by anyone else but original  
author and it will eventually crush under technical debt. The fact that  
D makes it possible to actually use the language power in team with  
varying proficiency level and still move forward successfully - that is  
a great indicator of design success alone.


Yes, and that is a very common theme amongst all the talks at dconf.

-Steve


Re: DConf 2014 Day 1 Talk 2

2014-06-06 Thread Dicebot via Digitalmars-d-announce
On Tuesday, 3 June 2014 at 16:43:32 UTC, Andrei Alexandrescu 
wrote:

https://news.ycombinator.com/newest

http://www.reddit.com/r/programming/comments/277k5c/dconf_2014_day_1_talk_2_templates_in_the_wild_a/

Andrei


One thing that positively surprised me is how deep into advanced 
D features some snippets go. Back when I was doing C++ usage of 
any overly advanced template tricks was highly discouraged with a 
reasoning that it will make application non-maintainable by 
anyone else but original author and it will eventually crush 
under technical debt. The fact that D makes it possible to 
actually use the language power in team with varying proficiency 
level and still move forward successfully - that is a great 
indicator of design success alone.


Re: DConf 2014 Day 1 Talk 2

2014-06-05 Thread Justin Whear via Digitalmars-d-announce
On Thu, 05 Jun 2014 21:51:14 +0200, Philippe Sigaud via
Digitalmars-d-announce wrote:

> On Tue, Jun 3, 2014 at 10:54 PM, Jonathan Crapuchettes
>> Here is a link to the slides from the presentation.
>>
>> http://slides.com/jonathancrapuchettes/dconf
> 
> 
> On the 'issues with D' slide, you cite 'Can't get member names from
> Tuples'.
> Do you mean:
> 
> alias Entry = Tuple!(int, "index", string, "value");
> 
> => getting ["index", "value"]
> 
> ?

Yeah, that's what he meant.  Using MemberNames and tupleof(..).stringof 
give the actual field names which are procedurally generated.  The user-
supplied names are simply aliases to the generated fields.


Re: DConf 2014 Day 1 Talk 2

2014-06-05 Thread Philippe Sigaud via Digitalmars-d-announce
On Tue, Jun 3, 2014 at 10:54 PM, Jonathan Crapuchettes
> Here is a link to the slides from the presentation.
>
> http://slides.com/jonathancrapuchettes/dconf


On the 'issues with D' slide, you cite 'Can't get member names from Tuples'.
Do you mean:

alias Entry = Tuple!(int, "index", string, "value");

=> getting ["index", "value"]

?


Re: DConf 2014 Day 1 Talk 2

2014-06-04 Thread deadalnix via Digitalmars-d-announce

On Tuesday, 3 June 2014 at 16:43:32 UTC, Andrei Alexandrescu
wrote:

https://news.ycombinator.com/newest

http://www.reddit.com/r/programming/comments/277k5c/dconf_2014_day_1_talk_2_templates_in_the_wild_a/

Andrei


I seems that both of you are quite confused between clang and
LLVM.


Re: DConf 2014 Day 1 Talk 2

2014-06-04 Thread Dicebot via Digitalmars-d-announce
On Tuesday, 3 June 2014 at 16:43:32 UTC, Andrei Alexandrescu 
wrote:

https://news.ycombinator.com/newest

http://www.reddit.com/r/programming/comments/277k5c/dconf_2014_day_1_talk_2_templates_in_the_wild_a/

Andrei


Mirror: http://youtu.be/TlqVu9RtoeY


Re: DConf 2014 Day 1 Talk 2

2014-06-03 Thread Philippe Sigaud via Digitalmars-d-announce
On Tue, Jun 3, 2014 at 10:54 PM, Jonathan Crapuchettes via
Digitalmars-d-announce  wrote:

> Here is a link to the slides from the presentation.
>
> http://slides.com/jonathancrapuchettes/dconf

Very nice talk! And quite an interesting piece of software you built there.
Thanks also for sharing the slides: it's fun to see that much
templated code in a presentation and it's nice to be able to pore over
some of it.


Re: DConf 2014 Day 1 Talk 2

2014-06-03 Thread Piotrek via Digitalmars-d-announce

On Tuesday, 3 June 2014 at 21:20:42 UTC, w0rp wrote:
On Tuesday, 3 June 2014 at 20:54:30 UTC, Jonathan Crapuchettes 
wrote:

On Tue, 03 Jun 2014 18:43:52 +0200, Andrei Alexandrescu wrote:


https://news.ycombinator.com/newest

http://www.reddit.com/r/programming/comments/277k5c/

dconf_2014_day_1_talk_2_templates_in_the_wild_a/


Andrei


Here is a link to the slides from the presentation.

http://slides.com/jonathancrapuchettes/dconf

Jonathan


I found this talk particularly interesting on a personal level.


Heh. Check my post. Wish I had more experience that days ;)

Piotrek


Re: DConf 2014 Day 1 Talk 2

2014-06-03 Thread Piotrek via Digitalmars-d-announce
On Tuesday, 3 June 2014 at 16:43:32 UTC, Andrei Alexandrescu 
wrote:

https://news.ycombinator.com/newest

http://www.reddit.com/r/programming/comments/277k5c/dconf_2014_day_1_talk_2_templates_in_the_wild_a/

Andrei


This talk was awesome - thank you Jonathan! I didn't see it when 
streaming, so thanks for sharing. It's touchy mainly because it 
brought some memories back. I was running my own business (soon 
after finishing uni) and got into the data processing world after 
taking some inquiry.


Funny thing is it's all started when I was asked to create some 
*excel* stuff dealing with a gov data. I quickly moved to PHP 
wagon as it was mainstream that days. After I figure out I was 
betrayed by PHP euphoria I started to look for the perfect 
programming language. Then I saw D and I knew it was it. 
Unfortunately  my business didn't pay my bills already at that 
time, so I had to say sorry to C++ and live with it (full time 
job).


Now I make a living from C++ (quasi embedded), but D is my number 
one as the language of choice, so I plan to reopen my business 
again this time with D from the beginning. Time will tell :)


BTW. As as GUI dependant guy I still consider debugging as 
Achilles heel of D (as referred in the talk to some extent, i.e. 
stack traces, mangling etc).


My programming language path (only languages included with more 
than 10k LOC written as I dealt with Python, Java, Matlab, Visual 
Basic and other "crap")

1. Pascal (high school)
2. C++ (high school and uni)
3. PHP (late years of uni)
4. PHP (own business)
5. PHP + D (closing my business)
5. C++ (a regular job)
6. D (the future ;))

Piotrek


Re: DConf 2014 Day 1 Talk 2

2014-06-03 Thread w0rp via Digitalmars-d-announce
On Tuesday, 3 June 2014 at 20:54:30 UTC, Jonathan Crapuchettes 
wrote:

On Tue, 03 Jun 2014 18:43:52 +0200, Andrei Alexandrescu wrote:


https://news.ycombinator.com/newest

http://www.reddit.com/r/programming/comments/277k5c/

dconf_2014_day_1_talk_2_templates_in_the_wild_a/


Andrei


Here is a link to the slides from the presentation.

http://slides.com/jonathancrapuchettes/dconf

Jonathan


I found this talk particularly interesting on a personal level. I 
worked with OLAP data for a year and it was all Java and 
JavaScript programming. I had been thinking about how you could 
improve on either with compile time features in D for massive 
improvements in speed. This is a market where customers care 
about speed, and beating your competitors can be worth millions. 
It's nice to see that someone has done some work in this area.


Re: DConf 2014 Day 1 Talk 2

2014-06-03 Thread Jonathan Crapuchettes via Digitalmars-d-announce
On Tue, 03 Jun 2014 18:43:52 +0200, Andrei Alexandrescu wrote:

> https://news.ycombinator.com/newest
> 
> http://www.reddit.com/r/programming/comments/277k5c/
dconf_2014_day_1_talk_2_templates_in_the_wild_a/
> 
> Andrei

Here is a link to the slides from the presentation.

http://slides.com/jonathancrapuchettes/dconf

Jonathan