On 2016-04-24 15:20, Iain Buclaw via Digitalmars-d wrote:
To be fair, DMD doesn't implement the D2 specification either.
I didn't say it did ;). There's also the question "what is the
specification?". DMD, http://dlang.org/spec/spec.html, TDPL or a
combination of all of them.
--
/Jacob Car
On 4/24/16 7:00 PM, Temtaime wrote:
On Sunday, 24 April 2016 at 21:45:32 UTC, Walter Bright wrote:
On 4/24/2016 8:33 AM, Andrei Alexandrescu wrote:
On 04/24/2016 02:57 AM, deadalnix wrote:
On Saturday, 23 April 2016 at 15:29:08 UTC, Andrei Alexandrescu wrote:
Yah, that's the canonical. I forg
On 4/24/16 9:17 PM, Xinok wrote:
I modified David's solution a bit to (hopefully) eliminate the branch:
bool powerOf2(uint x){ return !x ^ !(x & (x - 1)); }
<_D4test8powerOf2FkZb>:
0: 50 push %rax
1: 53 push
On 25/04/2016 5:44 AM, ag0aep6g wrote:
On 24.04.2016 21:26, tcak wrote:
There are 10 test. Some of them gets completed. And then, I look at it
again, tests have restarted, and less number of tests are passed at that
point.
1. What is the reason of restarts?
Something else has been pulled. Tha
On Sunday, 24 April 2016 at 23:17:53 UTC, David Nadlinger wrote:
On Sunday, 24 April 2016 at 23:00:56 UTC, Temtaime wrote:
Please no cmp.
Just
bool isPowerOf2(uint x) { return x && !(x & (x - 1)); }
You do realise that this will (typically) emit a branch?
— David
I compiled using dmd -O an
On Monday, 25 April 2016 at 01:17:48 UTC, Xinok wrote:
...
Sorry, didn't mean to say David's solution. Too many edits. >_<
On Sunday, 24 April 2016 at 19:26:43 UTC, tcak wrote:
2. What is reason of long waiting time? Sometimes number of
passed tests stay there 2-3 days.
There's a windows tester (win-farm-1) that takes 1 hour to
complete each single test while most of the other testers usually
take 10 to 20 minute
On Sunday, 24 April 2016 at 23:00:56 UTC, Temtaime wrote:
Please no cmp.
Just
bool isPowerOf2(uint x) { return x && !(x & (x - 1)); }
You do realise that this will (typically) emit a branch?
— David
On Sunday, 24 April 2016 at 21:45:32 UTC, Walter Bright wrote:
On 4/24/2016 8:33 AM, Andrei Alexandrescu wrote:
On 04/24/2016 02:57 AM, deadalnix wrote:
On Saturday, 23 April 2016 at 15:29:08 UTC, Andrei
Alexandrescu wrote:
Yah, that's the canonical. I forgot why I chose (x & -x) >
(x - 1)
ov
On 4/24/2016 8:33 AM, Andrei Alexandrescu wrote:
On 04/24/2016 02:57 AM, deadalnix wrote:
On Saturday, 23 April 2016 at 15:29:08 UTC, Andrei Alexandrescu wrote:
Yah, that's the canonical. I forgot why I chose (x & -x) > (x - 1)
over it.
I'm not sure why do you test against x - 1 when you coul
On 4/24/2016 10:56 AM, Iain Buclaw via Digitalmars-d wrote:
On 24 April 2016 at 10:44, Walter Bright via Digitalmars-d
wrote:
The hotel emailed them to me, I presume they know what they're doing :-) so
I thought I'd share:
Bus 109 to Jakob-Kaiser-Platz
Subway U 7 in the direction of Rudow to G
On 24.04.2016 21:26, tcak wrote:
There are 10 test. Some of them gets completed. And then, I look at it
again, tests have restarted, and less number of tests are passed at that
point.
1. What is the reason of restarts?
Something else has been pulled. That changes the code that's being
tested,
There are 10 test. Some of them gets completed. And then, I look
at it again, tests have restarted, and less number of tests are
passed at that point.
1. What is the reason of restarts?
2. What is reason of long waiting time? Sometimes number of
passed tests stay there 2-3 days.
On 24 April 2016 at 10:44, Walter Bright via Digitalmars-d
wrote:
> The hotel emailed them to me, I presume they know what they're doing :-) so
> I thought I'd share:
>
> Bus 109 to Jakob-Kaiser-Platz
> Subway U 7 in the direction of Rudow to Grenzallee
> Cross the street at the traffic light and
On 04/24/2016 02:57 AM, deadalnix wrote:
On Saturday, 23 April 2016 at 15:29:08 UTC, Andrei Alexandrescu wrote:
Yah, that's the canonical. I forgot why I chose (x & -x) > (x - 1)
over it.
I'm not sure why do you test against x - 1 when you could test for
equality. Not only it looks like it is
On 04/24/2016 08:28 AM, Joseph Rushton Wakeling wrote:
The use of hardcoded tags in ddoc output is a bit odd -- surely it
would be better to encode the list of symbols as entries in an
unnumbered list, and use CSS to style its layout as wished?
Great idea - could you please work on a PR to int
On 23 April 2016 at 21:35, Jacob Carlborg via Digitalmars-d
wrote:
> On 2016-04-21 03:01, Matthias Klumpp wrote:
>
>> ## How complete are the free compilers?
>> This is an important question, because we would need to know whether we
>> can expect D code to be compiled by any compiler, or whether t
On 23 April 2016 at 15:56, Andrei Alexandrescu via Digitalmars-d
wrote:
> On 4/23/16 9:54 AM, Andrei Alexandrescu wrote:
>>
>> On 4/23/16 9:06 AM, Vladimir Panteleev wrote:
>>>
>>> On Saturday, 23 April 2016 at 13:04:00 UTC, Nordlöw wrote:
Wanted: CT-trait and run-time predicate for chec
On Saturday, 23 April 2016 at 19:53:38 UTC, Andrei Alexandrescu
wrote:
On 04/23/2016 03:50 PM, ag0aep6g wrote:
On 23.04.2016 21:43, Andrei Alexandrescu wrote:
http://dlang.org/phobos/std_experimental_allocator_building_blocks_affix_allocator.html#.AffixAllocator.goodAllocSize
Looks like almost
On Saturday, 23 April 2016 at 08:30:32 UTC, Lodovico Giaretta
wrote:
Hi,
I'm Lodovico Giaretta and I've been selected by the D
Foundation for GSoC 2016.
First of all, I'd like to thank the D Foundation for this
fantastic opportunity.
In particular, I'd like to thank Craig Dillabaugh and Robe
On Saturday, 23 April 2016 at 20:50:31 UTC, Adam D. Ruppe wrote:
I still can't get over the ridiculous grey constraints. WTF.
It's much better reading signatures than before.
But what we could do is add a margin-bottom to them if needed,
while keeping the others hugged up.
Good idea, probab
Am Sat, 13 Feb 2016 19:16:43 +0100
schrieb Timon Gehr :
> Not necessarily. shared is transitive and prefix/suffix are arbitrary
> types which might contain mutable indirections.
I don't want to disturb your conversation, but how about
designing a working "shared" first? My last attempt at
using
On Friday, 15 April 2016 at 18:46:01 UTC, Steven Schveighoffer
wrote:
inout(T)[] overlap(T)(inout(T)[] r1, inout(T)[] r2)
Might be nice if inout applied to template parameter types:
T[] overlap(inout T)(T[] r1, T[] r2);
If it wasn't for the virtual function issue, I wonder if inout
would sti
On Saturday, 23 April 2016 at 18:49:00 UTC, Jack Stouffer wrote:
If you want, you can get more feedback by submitting a work in
progress PR to Phobos so people can see the development of the
library and comment on it as you go. This would also allow you
to test your code with the Phobos CI whic
On Saturday, 23 April 2016 at 14:38:36 UTC, Seb wrote:
Do you know about these two projects?
https://github.com/jacob-carlborg/orange
https://github.com/s-ludwig/std_data_json
It would be great if your xml library could work with the
proposed std.data specification. Ideally switching from Json
The hotel emailed them to me, I presume they know what they're doing :-) so I
thought I'd share:
Bus 109 to Jakob-Kaiser-Platz
Subway U 7 in the direction of Rudow to Grenzallee
Cross the street at the traffic light and turn left. The next street on the
right is Jahnstraße.
On the left side yo
On Saturday, 23 April 2016 at 20:50:31 UTC, Adam D. Ruppe wrote:
On Saturday, 23 April 2016 at 20:06:39 UTC, ag0aep6g wrote:
On 23.04.2016 21:53, Andrei Alexandrescu wrote:
Should we use a single ? -- Andrei
That would look better in the case you linked, but it would be
a step back with long
On Saturday, 23 April 2016 at 15:29:08 UTC, Andrei Alexandrescu
wrote:
Yah, that's the canonical. I forgot why I chose (x & -x) > (x -
1) over it.
I'm not sure why do you test against x - 1 when you could test
for equality. Not only it looks like it is going to require an
extra computation (x
28 matches
Mail list logo