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
Example:
I think the code in the README should be enough to understand
what's going on. Alpha stuff here but I think the main
On Sunday, 9 April 2017 at 09:36:53 UTC, Martin Nowak wrote:
On Sunday, 9 April 2017 at 08:56:52 UTC, Atila Neves wrote:
I benchmarked RefCounted against C++'s std::shared_ptr
comparing ldc to clang using both shared and non-shared
payloads in D. std::shared_ptr is faster (I've never written a
Hi!
I just made an update to my fluent assert library. This is a
library that allows you to write asserts in a BDD style.
Right now, it contains only asserts that I needed in my projects
and I promise that I will add more in the future.
I would really appreciate any feedback that you can
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 that the Array misses
- a reservation strategy, something
On Sunday, 9 April 2017 at 08:18:38 UTC, Andy smith wrote:
On Monday, 20 March 2017 at 19:57:03 UTC, Atila Neves wrote:
http://code.dlang.org/packages/influxdb-dlang-wrapper
InfluxDB is a database optimised for time-series data. This
package implements a D API via the REST interface so that
On Sunday, 9 April 2017 at 08:56:52 UTC, Atila Neves wrote:
I benchmarked RefCounted against C++'s std::shared_ptr
comparing ldc to clang using both shared and non-shared
payloads in D. std::shared_ptr is faster (I've never written a
smart pointer before), but the advantage of non-atomic
On Sunday, 21 August 2016 at 19:08:59 UTC, Matthias Klumpp wrote:
I hope you find this as useful as I do :-)
Yes, mature build systems for bigger projects are great.
Any opinion about/experience with [Bazel](https://bazel.build/)?
https://github.com/mesonbuild/meson/wiki/Comparisons#bazel
On 4/9/17 4:56 AM, 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
Example:
I think the code in the README should be enough to understand what's
going on.
On 09/04/2017 2:59 PM, Andrei Alexandrescu wrote:
On 4/9/17 4:56 AM, Atila Neves wrote:
snip
. UniqueArray behaves nearly like a normal array. You can even append
to it, but it won't use GC memory (unless, of course, you chose to use
GCAllocator)!
This may be a great candidate for the
On Monday, 10 April 2017 at 04:17:21 UTC, Swoorup Joshi wrote:
On Wednesday, 28 September 2016 at 20:50:28 UTC, Ali Çehreli
wrote:
https://www.reddit.com/r/programming/comments/54xnbg/herb_sutters_experimental_deferred_and_unordered/
Ali
Is it possible to have something similar as in library
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:
[...]
Nice!
Should UniqueArray be implemented as a overloaded version of
Unique? Unique!(Object[]) instead
On Wednesday, 28 September 2016 at 20:50:28 UTC, Ali Çehreli
wrote:
https://www.reddit.com/r/programming/comments/54xnbg/herb_sutters_experimental_deferred_and_unordered/
Ali
Is it possible to have something similar as in library rather
than GC in core language construct?
On 4/7/17 11:14 AM, Walter Bright wrote:
https://github.com/dlang/dmd/pull/6680
Yes, this is for real! Symantec has given their permission to relicense
it. Thank you, Symantec!
Awesome news!
As a compiler-writer no-nothing, does this have any implications on the
various back-ends gaining
On 4/9/2017 12:05 PM, Steven Schveighoffer wrote:
As a compiler-writer no-nothing, does this have any implications on the various
back-ends gaining ideas/code from each other? That is, is it possible we see LDC
compile times go down, or DMD optimizations get better?
You can't change the
On 4/7/2017 8:14 AM, Walter Bright wrote:
https://github.com/dlang/dmd/pull/6680
Yes, this is for real! Symantec has given their permission to relicense it.
Thank you, Symantec!
While it's still easy to find, for future reference:
https://news.ycombinator.com/item?id=14060846
On Friday, 7 April 2017 at 15:14:40 UTC, Walter Bright wrote:
https://github.com/dlang/dmd/pull/6680
Yes, this is for real! Symantec has given their permission to
relicense it. Thank you, Symantec!
Congratulations, and thank you Symantec :-)
Bastiaan.
On 4/8/2017 10:18 PM, jollie wrote:
Will this change in licensing pave the way for the conversion of
the backend to from c++ to d?
That was going to happen anyway, but it makes it more worthwhile.
On Monday, 20 March 2017 at 19:57:03 UTC, Atila Neves wrote:
http://code.dlang.org/packages/influxdb-dlang-wrapper
InfluxDB is a database optimised for time-series data. This
package implements a D API via the REST interface so that this
code works:
[...]
Cool stuff. Worth stating that
18 matches
Mail list logo