Re: "Competitive Advantage with D" is one of the keynotes at C++Now 2017

2017-04-28 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
On 04/28/2017 06:11 PM, H. S. Teoh via Digitalmars-d-announce wrote: That's the thing about C++: The right way is the obscure way, and the straightforward way is the wrong way. And yesterday's right way is today's wrong way. And apparently (it would seem), the only way NOT to completely fuck *ev

Re: "Competitive Advantage with D" is one of the keynotes at C++Now 2017

2017-04-28 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
On 04/28/2017 08:04 PM, Ali Çehreli wrote: On 04/28/2017 02:11 PM, Nick Sabalausky (Abscissa) wrote: > D takes all the current (and former!) application domains > of C/C++, and brings to it basic programmer sanity. When I had asked Luís Marques what the title of the talk should be, he had sai

Re: "Competitive Advantage with D" is one of the keynotes at C++Now 2017

2017-04-28 Thread Ola Fosheim Grostad via Digitalmars-d-announce
On Friday, 28 April 2017 at 22:11:30 UTC, H. S. Teoh wrote: On Fri, Apr 28, 2017 at 05:11:29PM -0400, Nick Sabalausky (Abscissa) via Digitalmars-d-announce wrote: On 04/28/2017 04:26 PM, Atila Neves wrote: > The other day I was reminded that in C++ land one has to > manually write `operator<<`

llvm-d 2.1 - Support for LLVM 4.0.0

2017-04-28 Thread Moritz Maxeiner via Digitalmars-d-announce
Thanks to foerdi as of the new release 2.1.0, llvm-d supports LLVM 4.0.0.

Re: "Competitive Advantage with D" is one of the keynotes at C++Now 2017

2017-04-28 Thread Ali Çehreli via Digitalmars-d-announce
On 04/28/2017 02:11 PM, Nick Sabalausky (Abscissa) wrote: > D takes all the current (and former!) application domains > of C/C++, and brings to it basic programmer sanity. When I had asked Luís Marques what the title of the talk should be, he had said import sanity; :) Ali

Re: Blog post on automem

2017-04-28 Thread Atila Neves via Digitalmars-d-announce
On Friday, 28 April 2017 at 22:06:57 UTC, Nordlöw wrote: On Friday, 28 April 2017 at 14:40:03 UTC, Mike Parker wrote: Blog: https://dlang.org/blog/2017/04/28/automem-hands-free-raii-for-d/ Nice. One thing, Atila; what about replacing typeof(u1) u2; move(u1, u2); with typeof(u1)

Re: "Competitive Advantage with D" is one of the keynotes at C++Now 2017

2017-04-28 Thread H. S. Teoh via Digitalmars-d-announce
On Fri, Apr 28, 2017 at 05:11:29PM -0400, Nick Sabalausky (Abscissa) via Digitalmars-d-announce wrote: > On 04/28/2017 04:26 PM, Atila Neves wrote: > > The other day I was reminded that in C++ land one has to manually > > write `operator<<` to print things out and `operator==` to compare > > thing

Re: automem v0.0.7 - C++ style smart pointers using std.experimental.allocator

2017-04-28 Thread Atila Neves via Digitalmars-d-announce
On Sunday, 9 April 2017 at 15:52:50 UTC, Basile B. wrote: On Sunday, 9 April 2017 at 08:56:52 UTC, Atila Neves wrote: Using std.experimental.allocator? Tired of writing `scope(exit) allocator.dispose(foo);` in a language with RAII? Me too: http://code.dlang.org/packages/automem I think t

Re: Blog post on automem

2017-04-28 Thread Nordlöw via Digitalmars-d-announce
On Friday, 28 April 2017 at 14:40:03 UTC, Mike Parker wrote: Blog: https://dlang.org/blog/2017/04/28/automem-hands-free-raii-for-d/ Nice. One thing, Atila; what about replacing typeof(u1) u2; move(u1, u2); with typeof(u1) u2 = move(u1); or, alternatively, typeof(u1) u2 = u

Re: "Competitive Advantage with D" is one of the keynotes at C++Now 2017

2017-04-28 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
On 04/28/2017 04:26 PM, Atila Neves wrote: The other day I was reminded that in C++ land one has to manually write `operator<<` to print things out and `operator==` to compare things. What, seriously?!? That's the thing about C++: The right way is the obscure way, and the straightforward way

Re: "Competitive Advantage with D" is one of the keynotes at C++Now 2017

2017-04-28 Thread Atila Neves via Digitalmars-d-announce
On Tuesday, 25 April 2017 at 13:57:53 UTC, XavierAP wrote: On Tuesday, 11 April 2017 at 06:08:16 UTC, Ali Çehreli wrote: I have to say it took me a very long time to come up with the title and the abstract. How could I sell D to C++ experts? Luckily, I asked Manu and among a long list of idea

nogc v0.0.1: @nogc variants of `std.exception.enforce`, `std.conv.text` - Basically `@nogc` exceptions. Sorta.

2017-04-28 Thread Atila Neves via Digitalmars-d-announce
Writing `@nogc` code? Want to throw exceptions? Yeah, I know, painful. We can do this already: void foo() @nogc { static const exception = new Exception("message can't change"); if() throw exception; // no information about is possible } But, we get limited information and no inform

Re: Blog post on automem

2017-04-28 Thread Ali Çehreli via Digitalmars-d-announce
On 04/28/2017 11:26 AM, qznc wrote: There is a RefCounted in std.typecons as well. The article does not explain the differences though. The article gives a difference: D’s standard library has Unique and RefCounted in std.typecons but they predate std.experimental.allocator and so “bake in”

Re: Blog post on automem

2017-04-28 Thread qznc via Digitalmars-d-announce
On Friday, 28 April 2017 at 15:39:07 UTC, Swoorup Joshi wrote: On Friday, 28 April 2017 at 14:40:03 UTC, Mike Parker wrote: Atila was kind enough to do a write up on his automem library for the D Blog, talking about why he did it and showing some of the implementation details. This is officiall

Re: Blog post on automem

2017-04-28 Thread Swoorup Joshi via Digitalmars-d-announce
On Friday, 28 April 2017 at 14:40:03 UTC, Mike Parker wrote: Atila was kind enough to do a write up on his automem library for the D Blog, talking about why he did it and showing some of the implementation details. This is officially part of the GC series. The next post in the series will be my

Re: Blog post on automem

2017-04-28 Thread jmh530 via Digitalmars-d-announce
On Friday, 28 April 2017 at 14:40:03 UTC, Mike Parker wrote: Atila was kind enough to do a write up on his automem library for the D Blog, talking about why he did it and showing some of the implementation details. This is officially part of the GC series. The next post in the series will be my

Blog post on automem

2017-04-28 Thread Mike Parker via Digitalmars-d-announce
Atila was kind enough to do a write up on his automem library for the D Blog, talking about why he did it and showing some of the implementation details. This is officially part of the GC series. The next post in the series will be my @nogc post (I've pushed it back to after DConf). When I pu