Re: Back to Basics at DConf?

2022-05-13 Thread forkit via Digitalmars-d-learn

On Friday, 13 May 2022 at 15:56:31 UTC, H. S. Teoh wrote:



My mental image of this is Ali presenting some simple common 
task, then at 3/4 of the presentation there's an amazing trick 
that lets you write it in D in 5 times less code than in other 
languages, and my mind is blown and I remember why I love D so 
much. :-P



T


perhaps someone should start a D version of this:

https://github.com/ruppysuppy/Daily-Coding-Problem-Solutions



Re: Back to Basics at DConf?

2022-05-13 Thread H. S. Teoh via Digitalmars-d-learn
On Fri, May 13, 2022 at 03:43:09PM +, Johan via Digitalmars-d-learn wrote:
> On Thursday, 12 May 2022 at 21:58:33 UTC, Ali Çehreli wrote:
> > I am considering proposing a presentation for DConf 2022.
> > 
> > Would a "Back to Basics" style presentation be interesting? If, so
> > what exact topic would you like to see?
> 
> Hey Ali,
>   When I read "Back to basics" on a program language conference, I
> imagine Andrei presenting about some simple common task and then at
> 3/4 of the presentation there is an amazing trick that speeds it up by
> a factor 5, mind is blown and you remember why you like programming so
> much.
[...]

My mental image of this is Ali presenting some simple common task, then
at 3/4 of the presentation there's an amazing trick that lets you write
it in D in 5 times less code than in other languages, and my mind is
blown and I remember why I love D so much. :-P


T

-- 
Long, long ago, the ancient Chinese invented a device that lets them see 
through walls. It was called the "window".


Re: Back to Basics at DConf?

2022-05-13 Thread Johan via Digitalmars-d-learn

On Thursday, 12 May 2022 at 21:58:33 UTC, Ali Çehreli wrote:

I am considering proposing a presentation for DConf 2022.

Would a "Back to Basics" style presentation be interesting? If, 
so what exact topic would you like to see?


Hey Ali,
  When I read "Back to basics" on a program language conference, 
I imagine Andrei presenting about some simple common task and 
then at 3/4 of the presentation there is an amazing trick that 
speeds it up by a factor 5, mind is blown and you remember why 
you like programming so much.


;-)
  Johan



Re: Back to Basics at DConf?

2022-05-13 Thread zjh via Digitalmars-d-learn

On Thursday, 12 May 2022 at 21:58:33 UTC, Ali Çehreli wrote:


so what exact topic would you like to see?



May be you can talk about how to link `d` to`C++`. There are too 
few examples.

Or `D` how to link to `Rust`,etc.
I don't even read the `basics` of C++, which is boring.

And interested in the interaction between `d` and other 
languages, especially `C++`. I think it is very meaningful to do 
a good job in interfacing the library of `C++`.




Re: Back to Basics at DConf?

2022-05-13 Thread forkit via Digitalmars-d-learn

On Friday, 13 May 2022 at 03:31:53 UTC, Ali Çehreli wrote:

On 5/12/22 18:56, forkit wrote:

> So...you want to do a talk that challenges D's complexity, by
getting
> back to basics?

I wasn't thinking about challenging complexity but it gives me 
ideas.


I am looking for concrete topics like templates, classes, 
ranges, rvalues, etc. Are those interesting?


Ali


Perhaps those are a little too basic for your intended audience 
(which is?)


My first objective when searching for a path towards a solution 
for a problem, is setting out to find valid methods to solve that 
problem, and then chosing the best method (based on whatever 
criteria is appropriate at the time).


So, perhaps a talk that focuses on comparing different methods 
for solving common computational tasks (e.g. search and decision 
problems), might be more valuable to your audience.


Re: Back to Basics at DConf?

2022-05-12 Thread Ola Fosheim Grøstad via Digitalmars-d-learn

On Friday, 13 May 2022 at 04:39:46 UTC, Tejas wrote:
On Friday, 13 May 2022 at 04:19:26 UTC, Ola Fosheim Grøstad 
wrote:

On Friday, 13 May 2022 at 03:31:53 UTC, Ali Çehreli wrote:

On 5/12/22 18:56, forkit wrote:

> So...you want to do a talk that challenges D's complexity, 
> by

getting
> back to basics?

I wasn't thinking about challenging complexity but it gives 
me ideas.


I am looking for concrete topics like templates, classes, 
ranges, rvalues, etc. Are those interesting?


I suggest: patterns for @nogc allocation and where D is going 
with move semantics and reference counting.


Basically, where is D heading with @nogc?

Take each pattern from c++ and Rust and show the D counter 
part, with an objective analysis that covers pitfalls and 
areas that need more work.


I feel that it'd be best if any video discussion/talk about 
move semantics happens _after_ [DIP 
1040](https://github.com/dlang/DIPs/blob/72f41cffe68ff1f2d4c033b5728ef37e282461dd/DIPs/DIP1040.md#initialization) is merged/rejected, so that the video doesn't become irrelevan after only a few years.


I think the purpose of conferences is to assess the current state 
and be forward looking. After 14 months I would expect Walter to 
know if it is going to be put to rest or not, so just email him I 
guess?




Re: Back to Basics at DConf?

2022-05-12 Thread Ali Çehreli via Digitalmars-d-learn

On 5/12/22 21:41, Tejas wrote:

> Or a presentation on ranges can also be good, considering how the de
> facto best online article on it(by HS Teoh) is from 2013

I think the best person to give that presentation would be its awesome 
author. ;)


Ali



Re: Back to Basics at DConf?

2022-05-12 Thread Tejas via Digitalmars-d-learn

On Friday, 13 May 2022 at 03:31:53 UTC, Ali Çehreli wrote:

On 5/12/22 18:56, forkit wrote:

> So...you want to do a talk that challenges D's complexity, by
getting
> back to basics?

I wasn't thinking about challenging complexity but it gives me 
ideas.


I am looking for concrete topics like templates, classes, 
ranges, rvalues, etc. Are those interesting?


Ali


DIP 1000 would be a good start :P

Or a presentation on ranges can also be good, considering how the 
de facto best online article on it(by HS Teoh) is from 2013


Re: Back to Basics at DConf?

2022-05-12 Thread Tejas via Digitalmars-d-learn

On Friday, 13 May 2022 at 04:19:26 UTC, Ola Fosheim Grøstad wrote:

On Friday, 13 May 2022 at 03:31:53 UTC, Ali Çehreli wrote:

On 5/12/22 18:56, forkit wrote:

> So...you want to do a talk that challenges D's complexity, by
getting
> back to basics?

I wasn't thinking about challenging complexity but it gives me 
ideas.


I am looking for concrete topics like templates, classes, 
ranges, rvalues, etc. Are those interesting?


I suggest: patterns for @nogc allocation and where D is going 
with move semantics and reference counting.


Basically, where is D heading with @nogc?

Take each pattern from c++ and Rust and show the D counter 
part, with an objective analysis that covers pitfalls and areas 
that need more work.


I feel that it'd be best if any video discussion/talk about move 
semantics happens _after_ [DIP 
1040](https://github.com/dlang/DIPs/blob/72f41cffe68ff1f2d4c033b5728ef37e282461dd/DIPs/DIP1040.md#initialization) is merged/rejected, so that the video doesn't become irrelevan after only a few years.


Re: Back to Basics at DConf?

2022-05-12 Thread Ola Fosheim Grøstad via Digitalmars-d-learn

On Friday, 13 May 2022 at 03:31:53 UTC, Ali Çehreli wrote:

On 5/12/22 18:56, forkit wrote:

> So...you want to do a talk that challenges D's complexity, by
getting
> back to basics?

I wasn't thinking about challenging complexity but it gives me 
ideas.


I am looking for concrete topics like templates, classes, 
ranges, rvalues, etc. Are those interesting?


I suggest: patterns for @nogc allocation and where D is going 
with move semantics and reference counting.


Basically, where is D heading with @nogc?

Take each pattern from c++ and Rust and show the D counter part, 
with an objective analysis that covers pitfalls and areas that 
need more work.





Re: Back to Basics at DConf?

2022-05-12 Thread Ali Çehreli via Digitalmars-d-learn

On 5/12/22 18:56, forkit wrote:

> So...you want to do a talk that challenges D's complexity, by getting
> back to basics?

I wasn't thinking about challenging complexity but it gives me ideas.

I am looking for concrete topics like templates, classes, ranges, 
rvalues, etc. Are those interesting?


Ali



Re: Back to Basics at DConf?

2022-05-12 Thread Salih Dincer via Digitalmars-d-learn

On Thursday, 12 May 2022 at 21:58:33 UTC, Ali Çehreli wrote:

I am considering proposing a presentation for DConf 2022.

Would a "Back to Basics" style presentation be interesting? If, 
so what exact topic would you like to see?




There was a book from my childhood. Its name is "Temel Basic", 
here it is 
https://www.nadirkitap.com/temel-basic-guzin-sagkan-tunc-gercek-kitap10256791.html


The interesting thing is that the meaning of the Turkish word 
(Temel) and the name of the language (Basic) are the same. In 
other words, one is Turkish, the other is English, but in the 
same place and in a different sense.


In summary, the basics are good. I don't like dependence at all. 
Simple things are beautiful...:)


SDB@79



Re: Back to Basics at DConf?

2022-05-12 Thread forkit via Digitalmars-d-learn

On Thursday, 12 May 2022 at 21:58:33 UTC, Ali Çehreli wrote:

I am considering proposing a presentation for DConf 2022.

Would a "Back to Basics" style presentation be interesting? If, 
so what exact topic would you like to see?


For ideas, here is what CppCon 2021 had on their track:

  https://cppcon2021.sched.com/?searchstring=Back+to+Basics

Ali


So...you want to do a talk that challenges D's complexity, by 
getting back to basics?


I'm afraid the ship has sailed :-(



Back to Basics at DConf?

2022-05-12 Thread Ali Çehreli via Digitalmars-d-learn

I am considering proposing a presentation for DConf 2022.

Would a "Back to Basics" style presentation be interesting? If, so what 
exact topic would you like to see?


For ideas, here is what CppCon 2021 had on their track:

  https://cppcon2021.sched.com/?searchstring=Back+to+Basics

Ali