On Saturday, 25 February 2017 at 06:22:02 UTC, Kevin Brogan wrote:
I can dump a struct easily enough with the following. I'm
wondering if anyone else has done all the work to make it work
for every type? https://code.dlang.org/ is down at the moment
so I can't check there, and google hasn't
http://dconf.org/2017/registration.html
Don't forget, it goes up to $400 after Monday.
I can dump a struct easily enough with the following. I'm
wondering if anyone else has done all the work to make it work
for every type? https://code.dlang.org/ is down at the moment so
I can't check there, and google hasn't been helpful.
On Friday, 24 February 2017 at 20:37:28 UTC, Dmitry Olshansky
wrote:
On 2/24/17 4:20 PM, Robert burner Schadek wrote:
checkedint got voted in. With 2 Yes and 2 yes with remarks.
Remarkably unpopular vote we have here.
If I read it right it implies that
nobody cares for checked integers.
It
On Saturday, 25 February 2017 at 00:50:36 UTC, Chris Wright wrote:
On Fri, 24 Feb 2017 21:16:28 +0100, Timon Gehr wrote:
Worse. It turns failures into UB.
Which is what ketmar described.
D allows asserts being turned into assumes. Which is potentially
unsound.
On Saturday, 25 February 2017 at 00:45:24 UTC, Moritz Maxeiner
wrote:
I use Visual Studio Code on Linux and macOS, not sure how the
experience on Windows is, but I'd expect it to be the same.
Windows is fine, can also debug mscoff x86 or x64 projects with
MS 'cpptools' plugin that has
On Thursday, 16 February 2017 at 21:05:51 UTC, Stefan Koch wrote:
Currently I am having trouble caused by a bug in dmds inliner
that only happens on when dmd is compiled as a 32bit executable
until I have isolated / fixed this development is slowed down.
This bug was Issue #17220 and is
On Friday, 24 February 2017 at 20:16:28 UTC, Timon Gehr wrote:
On 24.02.2017 16:29, Chris Wright wrote:
On Fri, 24 Feb 2017 09:14:24 +0200, ketmar wrote:
forget about "-release" dmd arg. forget about
"-boundscheck=off". no,
really, they won't do you any good. after all, catching a bug
in your
https://issues.dlang.org/show_bug.cgi?id=17215
--- Comment #6 from github-bugzi...@puremagic.com ---
Commits pushed to stable at https://github.com/dlang/dmd
https://github.com/dlang/dmd/commit/46d1948f4c4f05143729f9849b4edefe01b1a02e
fix Issue 17215 - ICE(cgcod.c:findreg) with SIMD and -O
On Saturday, 25 February 2017 at 01:27:09 UTC, Minty Fresh wrote:
On Wednesday, 22 February 2017 at 11:18:15 UTC, Martin
Tschierschke wrote:
[...]
Since structs are Plain-old Data and don't do inheritance, the
best option is a template mixin.
ie.
template mixin PrettyPrint
{
On Wednesday, 22 February 2017 at 11:18:15 UTC, Martin
Tschierschke wrote:
On Tuesday, 21 February 2017 at 14:02:54 UTC, Jacob Carlborg
wrote:
[...]
Yes, this works, I would say this is the simplest:
MyStruct s;
foreach (index, name ; FieldNameTuple!MyStruct)
writefln("%s: %s", name,
On Fri, 24 Feb 2017 21:16:28 +0100, Timon Gehr wrote:
> On 24.02.2017 16:29, Chris Wright wrote:
>> On Fri, 24 Feb 2017 09:14:24 +0200, ketmar wrote:
>>> forget about "-release" dmd arg. forget about "-boundscheck=off". no,
>>> really, they won't do you any good. after all, catching a bug in your
On Friday, 24 February 2017 at 22:44:55 UTC, XavierAP wrote:
Hi I've looked at wiki.dlang.org/IDEs, and I see that Visual D
is linked from dlang.org/download.html. Still I was looking for
personal opinions and experiences beyond hard specs, I wonder
if one of the IDEs is already dominant at
https://issues.dlang.org/show_bug.cgi?id=17225
--- Comment #1 from Satoshi ---
*abstract class Bar : Foo {
interesting... It works on this simple example, but in more complex code nope.
I'll try to find why.
--
https://issues.dlang.org/show_bug.cgi?id=17225
Issue ID: 17225
Summary: override abstract function by abstract function
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status: NEW
Severity: normal
https://issues.dlang.org/show_bug.cgi?id=16590
--- Comment #15 from Satoshi ---
() @trusted {
}();
is generated as:
() {
}();
--
https://issues.dlang.org/show_bug.cgi?id=16590
Satoshi changed:
What|Removed |Added
Status|RESOLVED|REOPENED
https://issues.dlang.org/show_bug.cgi?id=17049
--- Comment #7 from Martin Nowak ---
And this is supposed to not work?
struct Handle { int a; }
static @safe Handle get2(return ref scope S _this)
{
return Handle(1);
}
struct S
{
}
Handle escape() @safe
{
S s;
auto h =
https://issues.dlang.org/show_bug.cgi?id=17049
--- Comment #6 from Martin Nowak ---
And the same is supposed to work for foreign pointers?
static @safe float* get2(return ref scope S _this)
{
return convert(&_this);
}
@trusted float* convert(S* s) { return cast(float*)s; }
Hi I've looked at wiki.dlang.org/IDEs, and I see that Visual D is
linked from dlang.org/download.html. Still I was looking for
personal opinions and experiences beyond hard specs, I wonder if
one of the IDEs is already dominant at least for each OS for any
good reason.
My requirements are
https://issues.dlang.org/show_bug.cgi?id=17049
--- Comment #5 from Martin Nowak ---
(In reply to Martin Nowak from comment #4)
> return ps1; // works
silenty escapes !!!
> // return ps2; // doesn't work
correctly errors on escape !!!
> }
--
https://issues.dlang.org/show_bug.cgi?id=17049
--- Comment #4 from Martin Nowak ---
There is a difference from member functions to free function.
static @safe S* get2(return ref scope S _this)
{
return &_this;
}
struct S
{
@safe S* get1() return scope
{
return
On Friday, 24 February 2017 at 20:37:28 UTC, Dmitry Olshansky
wrote:
If I read it right it implies that nobody cares for checked
integers.
I guess you can say I don't personally care about them because I
have no personal use case for them. But, as I said in my remarks,
I understand why we
On Friday, 24 February 2017 at 17:18:03 UTC, Jack Stouffer wrote:
Neither do I. But, the progenitor of that idea is that
languages have understood use-cases, and that using them
outside of those areas is non-optimal.
The way I see it system level programming is usually not well
supported by
https://issues.dlang.org/show_bug.cgi?id=17224
Brad Anderson changed:
What|Removed |Added
CC|e...@gnuk.net|
--
https://issues.dlang.org/show_bug.cgi?id=17224
Brad Anderson changed:
What|Removed |Added
CC||e...@gnuk.net
https://issues.dlang.org/show_bug.cgi?id=17224
Issue ID: 17224
Summary: [The D Bug Tracker]
Product: D
Version: D2
Hardware: All
URL: http://dlang.org/
OS: All
Status: NEW
Severity: minor
https://issues.dlang.org/show_bug.cgi?id=17049
Martin Nowak changed:
What|Removed |Added
Status|RESOLVED|REOPENED
https://issues.dlang.org/show_bug.cgi?id=17111
--- Comment #3 from github-bugzi...@puremagic.com ---
Commits pushed to newCTFE at https://github.com/dlang/dmd
https://github.com/dlang/dmd/commit/84fcc60ae769015e5a2acfbc73881e7808799e48
Fix issue 17111 - More robust detection of variables used as
https://issues.dlang.org/show_bug.cgi?id=17168
--- Comment #4 from github-bugzi...@puremagic.com ---
Commits pushed to newCTFE at https://github.com/dlang/dmd
https://github.com/dlang/dmd/commit/dec45d735143737b499f9ce105b74b13b71f3a73
fix Issue 17168
https://issues.dlang.org/show_bug.cgi?id=17169
--- Comment #6 from github-bugzi...@puremagic.com ---
Commits pushed to newCTFE at https://github.com/dlang/dmd
https://github.com/dlang/dmd/commit/5fcb2ea18bf9434624b8163d80a14f8782639483
Fix issue 17169 - New default ddoc theme merges all
https://issues.dlang.org/show_bug.cgi?id=4682
--- Comment #3 from github-bugzi...@puremagic.com ---
Commit pushed to newCTFE at https://github.com/dlang/dmd
https://github.com/dlang/dmd/commit/a4cedfa2a50fdf81e0b67a7acdbb2d872e88
add test case for Issue 4682
--
https://issues.dlang.org/show_bug.cgi?id=16483
--- Comment #4 from github-bugzi...@puremagic.com ---
Commits pushed to newCTFE at https://github.com/dlang/dmd
https://github.com/dlang/dmd/commit/3f94ea1ecba10d663faca0d4bc814057e40dbd70
Fix issue 16483 - Prevent an ICE with lambdas as template
https://issues.dlang.org/show_bug.cgi?id=14859
--- Comment #4 from github-bugzi...@puremagic.com ---
Commits pushed to newCTFE at https://github.com/dlang/dmd
https://github.com/dlang/dmd/commit/07855a2f94e216b65a342dc06a7d6f1d6bcafb8f
reboot #6081: Fix issue 14859 - 16MiB size limit for static
On 2/24/17 4:20 PM, Robert burner Schadek wrote:
checkedint got voted in. With 2 Yes and 2 yes with remarks.
Remarkably unpopular vote we have here.
If I read it right it implies that
nobody cares for checked integers.
I will set the autotester to merge.
Thank you @andralex for the hard
https://issues.dlang.org/show_bug.cgi?id=17117
--- Comment #7 from github-bugzi...@puremagic.com ---
Commits pushed to newCTFE at https://github.com/dlang/dmd
https://github.com/dlang/dmd/commit/4a4dcf23830e9066a70cb1c381d97306f2bb5bbc
fix Issue 17117 - erroneous 'escaping reference to local
https://issues.dlang.org/show_bug.cgi?id=17057
--- Comment #2 from github-bugzi...@puremagic.com ---
Commits pushed to newCTFE at https://github.com/dlang/dmd
https://github.com/dlang/dmd/commit/912252b50277b95964981ef197d708db662b6554
Fix Issue 17057 - Added test file
https://issues.dlang.org/show_bug.cgi?id=17143
--- Comment #3 from github-bugzi...@puremagic.com ---
Commits pushed to newCTFE at https://github.com/dlang/dmd
https://github.com/dlang/dmd/commit/555a9a1f5e105b6e815b0a54218de04e36289e38
Fix Issue 17143 - [REG2.072.0] Declaration is already
https://issues.dlang.org/show_bug.cgi?id=17130
--- Comment #9 from github-bugzi...@puremagic.com ---
Commits pushed to newCTFE at https://github.com/dlang/dmd
https://github.com/dlang/dmd/commit/db81df0b6db19f5808e551a01730c15d341dc981
fix Issue 17130 - ambiguous implicit super call
https://issues.dlang.org/show_bug.cgi?id=15428
--- Comment #5 from github-bugzi...@puremagic.com ---
Commits pushed to newCTFE at https://github.com/dlang/dmd
https://github.com/dlang/dmd/commit/d23913c8971766a461e2a973dd9c7fccbad90793
Fix issue 15428 - Properly detach the temporary scope for
https://issues.dlang.org/show_bug.cgi?id=17123
--- Comment #7 from github-bugzi...@puremagic.com ---
Commits pushed to newCTFE at https://github.com/dlang/dmd
https://github.com/dlang/dmd/commit/74f7a29935fe55a718a7bb92248e3c455bb4e105
fix Issue 17123 - [REG 2.073] Issues with return @safe
https://issues.dlang.org/show_bug.cgi?id=15676
--- Comment #3 from github-bugzi...@puremagic.com ---
Commits pushed to newCTFE at https://github.com/dlang/dmd
https://github.com/dlang/dmd/commit/b2aa1ead04afb58e35513bfda439614125c656d4
Fix issue 15676 - Don't omit the attributes for the postblit
On 24.02.2017 16:29, Chris Wright wrote:
On Fri, 24 Feb 2017 09:14:24 +0200, ketmar wrote:
forget about "-release" dmd arg. forget about "-boundscheck=off". no,
really, they won't do you any good. after all, catching a bug in your
program when it doesn't run in controlled environment is even
https://issues.dlang.org/show_bug.cgi?id=17223
Issue ID: 17223
Summary: Inconsistency between opDispatch explicit/implicit
usage
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
https://issues.dlang.org/show_bug.cgi?id=17215
Martin Nowak changed:
What|Removed |Added
Keywords||pull
--- Comment #5 from
On Friday, 24 February 2017 at 14:35:44 UTC, Jack Stouffer wrote:
On Friday, 24 February 2017 at 13:38:57 UTC, Moritz Maxeiner
wrote:
This isn't evidence that memory safety is "the future", though.
This is evidence that people do not follow basic engineering
practices (for whatever seemingly
https://issues.dlang.org/show_bug.cgi?id=11703
--- Comment #2 from github-bugzi...@puremagic.com ---
Commits pushed to newCTFE at https://github.com/dlang/phobos
https://github.com/dlang/phobos/commit/5fedf3503d73cead36a33260ba3efcc39847b8ce
fix issue 11703, Typedef properties should not be of
https://issues.dlang.org/show_bug.cgi?id=8471
github-bugzi...@puremagic.com changed:
What|Removed |Added
Status|REOPENED|RESOLVED
https://issues.dlang.org/show_bug.cgi?id=16442
--- Comment #2 from github-bugzi...@puremagic.com ---
Commits pushed to newCTFE at https://github.com/dlang/phobos
https://github.com/dlang/phobos/commit/41c2d14658817419cb335a42656130b7aa2959f6
Fix Issue 16442 - FrontTransversal fails with empty
https://issues.dlang.org/show_bug.cgi?id=8260
--- Comment #5 from github-bugzi...@puremagic.com ---
Commits pushed to newCTFE at https://github.com/dlang/phobos
https://github.com/dlang/phobos/commit/c34561b284efcf4eb54701e78f3a04813f710437
Fix issue #8260 - allow only pointers as formattedRead
https://issues.dlang.org/show_bug.cgi?id=17196
--- Comment #5 from github-bugzi...@puremagic.com ---
Commits pushed to newCTFE at https://github.com/dlang/phobos
https://github.com/dlang/phobos/commit/58c91e1a2cbe0658a114bac87ebaed05fd630f88
Issue 17196 - [Reg 2.074] isUnsigned!bool now true
https://issues.dlang.org/show_bug.cgi?id=17177
--- Comment #3 from github-bugzi...@puremagic.com ---
Commits pushed to newCTFE at https://github.com/dlang/phobos
https://github.com/dlang/phobos/commit/085902b3d68fe692d020b6b0c31c63deb2a5d987
fix issue 17177. AutoImplement fails on function
https://issues.dlang.org/show_bug.cgi?id=16824
--- Comment #13 from github-bugzi...@puremagic.com ---
Commit pushed to newCTFE at https://github.com/dlang/phobos
https://github.com/dlang/phobos/commit/64a0814ae426749a70decc5382b2fb3365a52a3e
Issue 16824: fix experimental
https://issues.dlang.org/show_bug.cgi?id=17154
--- Comment #4 from github-bugzi...@puremagic.com ---
Commits pushed to newCTFE at https://github.com/dlang/phobos
https://github.com/dlang/phobos/commit/d5ae07f0f125bdefe92b4035dfb35f613dbf9a8a
Fix Issue 17154 - Added opDollar to std.conv.toChars
https://issues.dlang.org/show_bug.cgi?id=17139
--- Comment #4 from github-bugzi...@puremagic.com ---
Commits pushed to newCTFE at https://github.com/dlang/phobos
https://github.com/dlang/phobos/commit/4fab50175481d9b1c00ae168c444580de92f258c
fix issue 17139 - dscanner needs to handle 'scope'
https://issues.dlang.org/show_bug.cgi?id=17215
Martin Nowak changed:
What|Removed |Added
Summary|ICE(cgcod.c:findreg) with |[Reg 2.073]
https://issues.dlang.org/show_bug.cgi?id=16470
--- Comment #6 from github-bugzi...@puremagic.com ---
Commit pushed to newCTFE at https://github.com/dlang/druntime
https://github.com/dlang/druntime/commit/2d38937e3ff6597a143e83cf2d2d38c76b117d56
Fix issue 16470: Segfault with negative array
https://issues.dlang.org/show_bug.cgi?id=17161
--- Comment #8 from github-bugzi...@puremagic.com ---
Commits pushed to newCTFE at https://github.com/dlang/phobos
https://github.com/dlang/phobos/commit/5a2491a847beb035b37ee2a270029499065b1919
Fix Issue 17161 - Revert all changes to std.regex from
https://issues.dlang.org/show_bug.cgi?id=17153
--- Comment #2 from github-bugzi...@puremagic.com ---
Commit pushed to newCTFE at https://github.com/dlang/phobos
https://github.com/dlang/phobos/commit/2a97fb42345ff1f238510e0ca03c08497d530d53
Merge pull request #5036 from JackStouffer/nogc-Array
https://issues.dlang.org/show_bug.cgi?id=9615
--- Comment #3 from github-bugzi...@puremagic.com ---
Commits pushed to newCTFE at https://github.com/dlang/phobos
https://github.com/dlang/phobos/commit/307675ad75230efa5bd7d6c5cb4ea38b7a23694d
fix issue 9615, std.conv.parse!(T[]) should allow a
https://issues.dlang.org/show_bug.cgi?id=16999
--- Comment #2 from github-bugzi...@puremagic.com ---
Commit pushed to newCTFE at https://github.com/dlang/phobos
https://github.com/dlang/phobos/commit/d60f32c3b92a44e6b9b7f6e9183b298c47d1f71d
Merge pull request #4984 from dukc/takeOneFix
--
https://issues.dlang.org/show_bug.cgi?id=17215
--- Comment #4 from Martin Nowak ---
Digger points to https://github.com/dlang/dmd/pull/6176 for having introduced
this.
--
https://issues.dlang.org/show_bug.cgi?id=17116
--- Comment #3 from github-bugzi...@puremagic.com ---
Commits pushed to newCTFE at https://github.com/dlang/phobos
https://github.com/dlang/phobos/commit/181db425c9f19b0fa20f0c2c6cd9287922a640ae
fix issue 17116 - std.typecons.ReplaceType is not able
https://issues.dlang.org/show_bug.cgi?id=17222
Issue ID: 17222
Summary: assert in compiler caused by opDispatch
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: major
Priority:
https://issues.dlang.org/show_bug.cgi?id=16991
--- Comment #3 from github-bugzi...@puremagic.com ---
Commits pushed to newCTFE at https://github.com/dlang/phobos
https://github.com/dlang/phobos/commit/d7f6cc337e9ad1d122aa721d5862d113f6ab709c
Fix Issue 16991 - Make writeln documentation palatable
https://issues.dlang.org/show_bug.cgi?id=17176
--- Comment #4 from github-bugzi...@puremagic.com ---
Commits pushed to newCTFE at https://github.com/dlang/phobos
https://github.com/dlang/phobos/commit/565ab34cb0e83ba8149812bf6c580a1becc1ab1d
fix issue 17176 -
https://issues.dlang.org/show_bug.cgi?id=10900
--- Comment #2 from github-bugzi...@puremagic.com ---
Commit pushed to newCTFE at https://github.com/dlang/phobos
https://github.com/dlang/phobos/commit/45c515f267b687032b6672921d28b5c7938f6154
Add 64-bit implementation of MersenneTwisterEngine
--
https://issues.dlang.org/show_bug.cgi?id=17217
--- Comment #3 from github-bugzi...@puremagic.com ---
Commits pushed to newCTFE at https://github.com/dlang/phobos
https://github.com/dlang/phobos/commit/a91b610ce18e0477ed9b9757e619797f93baaa77
Fix issue 17217 - std.net.isemail.isEmail doesn't work
https://issues.dlang.org/show_bug.cgi?id=17195
--- Comment #3 from github-bugzi...@puremagic.com ---
Commits pushed to newCTFE at https://github.com/dlang/phobos
https://github.com/dlang/phobos/commit/76dd6fe33baffb1ecfc14a192634f0ec51fb7345
Issue 17195 - [Reg 2.074] isFloatingPoint!cfloat is
https://issues.dlang.org/show_bug.cgi?id=8471
--- Comment #16 from github-bugzi...@puremagic.com ---
Commits pushed to newCTFE at https://github.com/dlang/phobos
https://github.com/dlang/phobos/commit/882a1fb8f62b872f3463e9fca2b2e1e04d36effb
Fix issue #8471 - allow only pointers as readf
On Friday, 24 February 2017 at 15:15:00 UTC, Ola Fosheim Grøstad
wrote:
Chainsaws are effective, but dangerous. So you should have both
training and use safety equipment. Training and safety
equipment is available for C-like languages (to the level of
provable correctness), and such that it
I'm pretty sure you need to use "value.tupleof[i][0]" instead
of "mm[0]" as well.
it does not work but I found a solution, that's what I do :
abstract class BaseClass
{
uint[] a = [9, 10, 5];
}
override class Test : BaseClass
{
int t = 0;
string s = "holla";
}
public static
https://issues.dlang.org/show_bug.cgi?id=17196
--- Comment #4 from Martin Nowak ---
Opened issue 17221 for the compiler change.
--
https://issues.dlang.org/show_bug.cgi?id=17221
Issue ID: 17221
Summary: __traits(isUnsigned, bool/char) should be false
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status: NEW
Severity: enhancement
On Fri, Feb 24, 2017 at 06:59:16AM +, Jack Stouffer via Digitalmars-d wrote:
> https://bugs.chromium.org/p/project-zero/issues/detail?id=1139
>
> A buffer overflow bug caused heartblead 2.0 for hundreds of thousands
> of sites. Here we are 57 years after ALGOL 60 which had bounds
> checking,
https://issues.dlang.org/show_bug.cgi?id=17220
Martin Nowak changed:
What|Removed |Added
Status|NEW |RESOLVED
https://issues.dlang.org/show_bug.cgi?id=17195
Martin Nowak changed:
What|Removed |Added
Status|NEW |RESOLVED
https://issues.dlang.org/show_bug.cgi?id=17196
Martin Nowak changed:
What|Removed |Added
Status|NEW |RESOLVED
On Friday, 24 February 2017 at 15:15:00 UTC, Ola Fosheim Grøstad
wrote:
I don't really buy into the idea that a single language has to
cover all bases.
Neither do I. But, the progenitor of that idea is that languages
have understood use-cases, and that using them outside of those
areas is
https://issues.dlang.org/show_bug.cgi?id=17220
--- Comment #3 from Martin Nowak ---
The cmp runs on the `lhs` symbol, while only the `val` symbol get's
initialized.
Not sure, but seems like the copy got elided.
Here is the assembly for when the size of BCValue != size_t.sizeof *
https://issues.dlang.org/show_bug.cgi?id=17215
--- Comment #3 from Martin Nowak ---
cat > bug.d << CODE
alias vec = __vector(int[4]);
vec binop(vec a)
{
vec b = a;
return b;
}
CODE
dmd -c -O bug
Internal error: backend/cgcod.c 1659
Further reduced, no longer
Am 24.02.2017 um 14:50 schrieb Moritz Maxeiner:
On Friday, 24 February 2017 at 11:22:34 UTC, Sönke Ludwig wrote:
[...]
Would be good if someone could have a look. Once this is merged,
anyone can run this on a server using `./dub-registry --mirror
https://code.dlang.org/` and then forward
On Wednesday, 22 February 2017 at 14:35:14 UTC, drug wrote:
Thank you for sharing this!
Sarcasm?
https://issues.dlang.org/show_bug.cgi?id=17182
John Colvin changed:
What|Removed |Added
CC|
On Fri, 24 Feb 2017 09:14:24 +0200, ketmar wrote:
> forget about "-release" dmd arg. forget about "-boundscheck=off". no,
> really, they won't do you any good. after all, catching a bug in your
> program when it doesn't run in controlled environment is even more
> important than catching a bug in
checkedint got voted in. With 2 Yes and 2 yes with remarks.
I will set the autotester to merge.
Thank you @andralex for the hard work.
https://issues.dlang.org/show_bug.cgi?id=17220
Martin Nowak changed:
What|Removed |Added
Hardware|x86_64 |All
Summary|invalid
On Friday, 24 February 2017 at 14:35:44 UTC, Jack Stouffer wrote:
It's like the new safety features on handheld buzzsaws which
make it basically impossible to cut yourself. Should people be
using these things safely? Yes. But, accidents happen, so the
tool's design takes human behavior into
On Friday, 24 February 2017 at 13:38:57 UTC, Moritz Maxeiner
wrote:
This isn't evidence that memory safety is "the future", though.
This is evidence that people do not follow basic engineering
practices (for whatever seemingly valid reasons - such as a
project deadline - at the time).
On Friday, 24 February 2017 at 11:22:34 UTC, Sönke Ludwig wrote:
I used the waiting time during the backup upload to prepare a
PR for a mirror mode:
https://github.com/dlang/dub-registry/pull/187
Would be good if someone could have a look. Once this is
merged, anyone can run this on a server
On Friday, 24 February 2017 at 11:17:46 UTC, John Colvin wrote:
Unfortunately that only works by accident of my example. A
counterexample:
T foo(Q = float, T = short)(T t) { return t; }
alias Typeof(alias v) = typeof(v);
template getInstantiation(alias f, T...)
{
import std.meta;
On Friday, 24 February 2017 at 14:06:22 UTC, Meta wrote:
On Friday, 24 February 2017 at 11:17:46 UTC, John Colvin wrote:
Unfortunately that only works by accident of my example. A
counterexample:
T foo(Q = float, T = short)(T t) { return t; }
alias Typeof(alias v) = typeof(v);
template
On Friday, 24 February 2017 at 11:22:34 UTC, Sönke Ludwig wrote:
[...]
Would be good if someone could have a look. Once this is
merged, anyone can run this on a server using `./dub-registry
--mirror https://code.dlang.org/` and then forward incoming
requests using a reverse proxy to
On Friday, 24 February 2017 at 06:59:16 UTC, Jack Stouffer wrote:
https://bugs.chromium.org/p/project-zero/issues/detail?id=1139
[...]
This isn't evidence that memory safety is "the future", though.
This is evidence that people do not follow basic engineering
practices (for whatever
On Friday, 24 February 2017 at 03:15:11 UTC, Jerry wrote:
You can use the C++ plugin, which provides a debugger. Just
make sure you aren't using optlink, I don't think it generates
compatible files. Also you might need to use "-gc" which
generates debug names to be in C format.
In keeping with "design by introspection" I've been wanting to
write library code that statically inspects the abilities of the
entities it's passed and reacts accordingly. Unfortunately, this
approach tends to hide implementation mistakes: there's no
general way to distinguish between "this
On 2017-02-22 20:13, thedeemon wrote:
On Wednesday, 22 February 2017 at 18:34:26 UTC, houdoux09 wrote:
void Read(T)(T value)
{
foreach(i, mm; value.tupleof)
{
writeln(__traits(identifier, value.tupleof[i]), " = ", mm);
if(isArray!(typeof(mm)))
{
Read(mm[0]);
On 2017-02-20 14:47, Jolly James wrote:
How to sort the members of a class?
like:
1. properties
then
2. private 3. methods
4. ctors
... and so on. are there any recommendations?
In my opinion:
1. Manifest constants (enum)
2. Static variables
3. Instance variables
4. Constructors
5.
https://issues.dlang.org/show_bug.cgi?id=17215
Martin Nowak changed:
What|Removed |Added
Hardware|All |x86_64
OS|All
Am 23.02.2017 um 23:55 schrieb Sönke Ludwig:
The virtual server that is running code.dlang.org has frozen about an
hour ago and fails to boot further than to the bootloader. Initial
attempts to recover from within Grub have failed and it's unclear what
the root cause is. I will instead set up a
1 - 100 of 108 matches
Mail list logo