On Sunday, 16 April 2017 at 22:18:51 UTC, Jack Stouffer wrote:
On Sunday, 16 April 2017 at 18:36:30 UTC, Jerry wrote:
I wouldn't really call them RAII containers if they aren't
@nogc
Moving the goal posts again. Even still,
void main() @nogc
{
Array!int ai;
ai ~= 1;
assert(ai.fron
On 4/16/17 12:05 PM, Stefan Koch wrote:
On Sunday, 16 April 2017 at 14:25:22 UTC, Andrei Alexandrescu wrote:
On 4/16/17 3:50 AM, Shachar Shemesh wrote:
https://issues.dlang.org/show_bug.cgi?id=14246
I'd raised the importance and urgency of this issue in the past.
Walter is really overloaded
On Sunday, 16 April 2017 at 11:58:11 UTC, Guillaume Chatelet
wrote:
On Sunday, 16 April 2017 at 11:25:15 UTC, Nicholas Wilson wrote:
On Sunday, 16 April 2017 at 10:33:01 UTC, Stefan Koch wrote:
On Sunday, 16 April 2017 at 10:08:22 UTC, Guillaume Chatelet
wrote:
I was looking at the _d_arrayassi
On Sunday, 16 April 2017 at 18:36:30 UTC, Jerry wrote:
I wouldn't really call them RAII containers if they aren't @nogc
Moving the goal posts again. Even still,
void main() @nogc
{
Array!int ai;
ai ~= 1;
assert(ai.front == 1);
ai.reserve(10);
assert(ai.capacity == 10);
On Sunday, 16 April 2017 at 17:00:25 UTC, Jack Stouffer wrote:
Semantic game. D actually has RAII.
And D does have RAII containers:
https://dlang.org/phobos/std_container.html
I wouldn't really call them RAII containers if they aren't @nogc,
and especially so if they aren't structs but clas
On Sunday, 16 April 2017 at 07:50:43 UTC, Shachar Shemesh wrote:
The first is that the language does not offer any RAII
containers out of the box. What it does provide is the
*ability* to create RAII containers. D supports RAII, but does
not actually have RAII.
Semantic game. D actually has R
On Sun, 2017-04-16 at 16:09 +, Isaac Gouy via Digitalmars-d wrote:
>
[…]
> I wish the D community would stop using the benchmarks game as an
> excuse.
>
But you have a position of great power. People look at your game and if
a language isn't in it, it is assumed to be crap. You may not be m
On Sunday, 16 April 2017 at 07:11:23 UTC, Isaac Gouy wrote:
On Sunday, 16 April 2017 at 04:19:56 UTC, Joakim wrote:
came out tops if I weighted time, memory, and source code size
equally. Not always highest, as Free Pascal would sometimes
beat it, but D usually won.
You juggled the numbers t
On Thursday, 16 February 2017 at 21:05:51 UTC, Stefan Koch wrote:
[ ... ]
Hi Guys,
I just fixed default initialization of structs.
So now a larger portion of code will be compiled and executed by
newCTFE.
my_struct MyStruct;
will now work, before it would trigger a bailout.
NOTE: this will
On 04/15/2017 04:35 PM, crimaniak wrote:
On Saturday, 15 April 2017 at 20:04:13 UTC, Jonas Drewsen wrote:
The compiler will basically lower the $"..." string to a mixin that
concatenates
the expression parts of the (inside the {}) and the plain text parts.
It's easy implementable as a library (
On Sunday, 16 April 2017 at 08:44:07 UTC, Walter Bright wrote:
When anyone mentions the Compiler Shootout for the last 10
years, Isaac always pops up and says he won't put it on his
site. I wish he'd just go away.
I wish the D community would stop using the benchmarks game as an
excuse.
On Sunday, 16 April 2017 at 14:25:22 UTC, Andrei Alexandrescu
wrote:
On 4/16/17 3:50 AM, Shachar Shemesh wrote:
https://issues.dlang.org/show_bug.cgi?id=14246
I'd raised the importance and urgency of this issue in the
past. Walter is really overloaded for the time being. Any
volunteer wants
On 4/16/17 3:50 AM, Shachar Shemesh wrote:
https://issues.dlang.org/show_bug.cgi?id=14246
I'd raised the importance and urgency of this issue in the past. Walter
is really overloaded for the time being. Any volunteer wants to look
into this now? -- Andrei
On Sunday, 16 April 2017 at 11:25:15 UTC, Nicholas Wilson wrote:
On Sunday, 16 April 2017 at 10:33:01 UTC, Stefan Koch wrote:
On Sunday, 16 April 2017 at 10:08:22 UTC, Guillaume Chatelet
wrote:
I was looking at the _d_arrayassign family functions in
druntime:
https://github.com/dlang/druntime/
On Sunday, 16 April 2017 at 10:33:01 UTC, Stefan Koch wrote:
On Sunday, 16 April 2017 at 10:08:22 UTC, Guillaume Chatelet
wrote:
I was looking at the _d_arrayassign family functions in
druntime:
https://github.com/dlang/druntime/blob/master/src/rt/arrayassign.d#L47
https://github.com/dlang/drun
On Sunday, 16 April 2017 at 10:08:22 UTC, Guillaume Chatelet
wrote:
I was looking at the _d_arrayassign family functions in
druntime:
https://github.com/dlang/druntime/blob/master/src/rt/arrayassign.d#L47
https://github.com/dlang/druntime/blob/master/src/rt/arrayassign.d#L139
[...]
Nope.
Thos
I was looking at the _d_arrayassign family functions in druntime:
https://github.com/dlang/druntime/blob/master/src/rt/arrayassign.d#L47
https://github.com/dlang/druntime/blob/master/src/rt/arrayassign.d#L139
The code seems suboptimal for several reasons:
1. memcpy is more efficient on big array
On 16 April 2017 at 11:20, Johannes Pfau via Digitalmars-d
wrote:
> Am Sun, 16 Apr 2017 10:13:50 +0200
>
> I tried concourse-ci which seems nice at first, but it's too
> opinionated to be useful for us (now worker cache, no way for newer
> commits to auto-cancel builds for older commits, ...)
>
P
On 16 April 2017 at 11:20, Johannes Pfau via Digitalmars-d
wrote:
> Am Sun, 16 Apr 2017 10:13:50 +0200
> schrieb Iain Buclaw via Digitalmars-d :
>
>>
>> I asked at a recent D meetup about what gitlab CI used as their
>> backing platform, and it seems like it's a front for TravisCI. YMMV,
>> but I
Am Sun, 16 Apr 2017 10:13:50 +0200
schrieb Iain Buclaw via Digitalmars-d :
>
> I asked at a recent D meetup about what gitlab CI used as their
> backing platform, and it seems like it's a front for TravisCI. YMMV,
> but I found the Travis platform to be too slow (it was struggling to
> even buil
When anyone mentions the Compiler Shootout for the last 10 years, Isaac always
pops up and says he won't put it on his site. I wish he'd just go away.
On 4/16/2017 12:11 AM, Isaac Gouy wrote:
On Sunday, 16 April 2017 at 04:19:56 UTC, Joakim wrote:
came out tops if I weighted time, memory, and
On 16 April 2017 at 09:41, Johannes Pfau via Digitalmars-d
wrote:
> Am Sat, 15 Apr 2017 15:11:08 +
> schrieb Laeeth Isharc :
>> Gitlab has test runners built in, at least for enterprise version
>> (which is not particularly expensive) and we have been happy with
>> that.
>>
>> Laeeth
>>
>
> Th
On 2017-04-15 22:04, Jonas Drewsen wrote:
Hi all
I've been wanting to have support for interpolated strings in D for
some time now that will allow you to write e.g.:
auto a = 7;
writeln( $"{a} times 3 is {a*3}" );
Code speaks louder that words so I've made a PR that adds this support
to ddm
Am Sat, 15 Apr 2017 09:52:49 +
schrieb Johan Engelen :
> I'd be happy to use the Pi3 as permanent tester, if the risks of
> a hacker intruding my home network are manageable ;-)
>
If you want to be sure use a cheap DMZ setup.
VLAN based:
Connect your PI to some switch supporting VLAN and
On 11/04/17 23:09, Jack Stouffer wrote:
On Tuesday, 11 April 2017 at 19:57:19 UTC, Piotr Kowalski wrote:
What about RAII?
It's already in the language.
There are two problems with that statement.
The first is that the language does not offer any RAII containers out of
the box. What it doe
Am Sat, 15 Apr 2017 15:11:08 +
schrieb Laeeth Isharc :
>
> Not sure how much memory ldc takes to build. If it would be
> helpful for ARM I could contribute a couple of servers on
> scaleway or similar.
At least for GDC building the compiler on low-end platforms is too
resource demanding
On Sunday, 16 April 2017 at 04:19:56 UTC, Joakim wrote:
came out tops if I weighted time, memory, and source code size
equally. Not always highest, as Free Pascal would sometimes
beat it, but D usually won.
You juggled the numbers to get a result ;-)
This one doesn't show any benchmarks be
27 matches
Mail list logo