www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Write tracking

reply Daniel N <no public.email> writes:
There's lots of discussions/comparisons with how rust solves 
various issues.

I'm thinking Nim is sometimes a better source of inspiration.
https://nim-lang.org/araq/writetracking_2.html
https://github.com/nim-lang/RFCs/issues/234

Thoughts?
May 27 2022
next sibling parent reply Araq <rumpf_a web.de> writes:
On Friday, 27 May 2022 at 08:19:31 UTC, Daniel N wrote:
 There's lots of discussions/comparisons with how rust solves 
 various issues.

 I'm thinking Nim is sometimes a better source of inspiration.
 https://nim-lang.org/araq/writetracking_2.html
 https://github.com/nim-lang/RFCs/issues/234

 Thoughts?
It's been a while since we implemented this and dealt with the fallout. I still like the design much better than D's or C++'s but there seems to be an even better design that is both simpler (to implement) and allows for more optimizations. I don't want to go into more details here though. I hope you'll be able to read about them in my upcoming book(s).
May 29 2022
parent Tejas <notrealemail gmail.com> writes:
On Sunday, 29 May 2022 at 16:26:45 UTC, Araq wrote:
 On Friday, 27 May 2022 at 08:19:31 UTC, Daniel N wrote:
 There's lots of discussions/comparisons with how rust solves 
 various issues.

 I'm thinking Nim is sometimes a better source of inspiration.
 https://nim-lang.org/araq/writetracking_2.html
 https://github.com/nim-lang/RFCs/issues/234

 Thoughts?
It's been a while since we implemented this and dealt with the fallout. I still like the design much better than D's or C++'s but there seems to be an even better design that is both simpler (to implement) and allows for more optimizations. I don't want to go into more details here though. I hope you'll be able to read about them in my upcoming book(s).
Oh, didn't know there was going to be a book on Nim (hopefully) soon :D Other than `Nim in Action`, I simply haven't seen any traditional books on Nim, so I'll be looking forward to this Any estimate about possible release date(s)?
May 29 2022
prev sibling parent Salih Dincer <salihdb hotmail.com> writes:
On Friday, 27 May 2022 at 08:19:31 UTC, Daniel N wrote:
 There's lots of discussions/comparisons with how rust solves 
 various issues.

 I'm thinking Nim is sometimes a better source of inspiration.
 https://nim-lang.org/araq/writetracking_2.html
 https://github.com/nim-lang/RFCs/issues/234

 Thoughts?
I don't know the Nim Language. But there is a new perspective on the concept of const. Although the const attribute in D is a bit confusing, D is a more powerful language anyway. SDB 79
May 29 2022