On Saturday, 19 August 2017 at 05:11:13 UTC, Soulsbane wrote:
On Thursday, 10 August 2017 at 06:49:23 UTC, Dmitry wrote:
On Wednesday, 9 August 2017 at 14:39:12 UTC, WebFreak001 wrote:
try using the C/C++ Extension in vscode which uses the visual
studio debugger, that one works great on
On Thursday, 10 August 2017 at 06:49:23 UTC, Dmitry wrote:
On Wednesday, 9 August 2017 at 14:39:12 UTC, WebFreak001 wrote:
try using the C/C++ Extension in vscode which uses the visual
studio debugger, that one works great on windows for D
OMG, it's really works. Thank you alot!
I'll try to
On 18 August 2017 at 02:32, bitwise via Digitalmars-d <
digitalmars-d@puremagic.com> wrote:
> This came to mind while working on a set of containers.
>
> @safety often comes with a performance cost. For example, any container
> that wants to give out a range or iterator has to have a ref-counted
Trying to get it to work.
1. The libraries from the main download site seem to be in coff
format for x86. This means they don't really work for dmd. I use
omf and I tried to use coffimplib on the lib files and it says
they are not import libraries.
2. The x64 version works without issue.
On Saturday, 19 August 2017 at 02:07:25 UTC, Johnson Jones wrote:
Still getting this!
What I don't understand is why I can import certain libraries
and they compile fine while others don't!
So, moduleInfo is a "function" per module that is created at
compilation, right?
If one doesn't
Still getting this!
What I don't understand is why I can import certain libraries and
they compile fine while others don't!
So, moduleInfo is a "function" per module that is created at
compilation, right?
If one doesn't compile the module then the error results, just
like standard extern
On Saturday, 19 August 2017 at 00:37:06 UTC, Nicholas Wilson
wrote:
Having to change the default attributes will be a rare
occurrence (embedded (nothrow, nogc final) security critical
(safe).
My reading of that updated DIP is that you can only change the
default attributes by hacking on
https://issues.dlang.org/show_bug.cgi?id=17581
github-bugzi...@puremagic.com changed:
What|Removed |Added
Status|NEW |RESOLVED
https://issues.dlang.org/show_bug.cgi?id=17581
--- Comment #1 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/dlang/dlang.org
https://github.com/dlang/dlang.org/commit/c7b3c834273118264bc79c7784c6703196b42696
Fix Issue 17581 - Document behavior of -betterC
On Friday, 18 August 2017 at 23:11:34 UTC, Jonathan M Davis wrote:
On Friday, August 18, 2017 03:08:07 Nicholas Wilson via
Digitalmars-d wrote:
On Friday, 18 August 2017 at 01:43:42 UTC, Jonathan M Davis
wrote:
If you think that then I have clearly failed to express the DIP
at all.
It solves
On Friday, 18 August 2017 at 13:21:06 UTC, alexander1974 wrote:
I want to write a library for working with units (lengths,
weights, ...). It should allow maths and converting
with/between different units (cm to mm, angstrom to meter, ...).
[...]
I have no opinion on your layout, but have
https://issues.dlang.org/show_bug.cgi?id=17193
--- Comment #3 from b2.t...@gmx.com ---
committer, fix also 16577, it's so closed.
--
https://issues.dlang.org/show_bug.cgi?id=17193
b2.t...@gmx.com changed:
What|Removed |Added
See Also||https://issues.dlang.org/sh
https://issues.dlang.org/show_bug.cgi?id=16577
b2.t...@gmx.com changed:
What|Removed |Added
See Also||https://issues.dlang.org/sh
https://issues.dlang.org/show_bug.cgi?id=16577
b2.t...@gmx.com changed:
What|Removed |Added
Summary|A selective import on a |A selective import on a
https://issues.dlang.org/show_bug.cgi?id=17760
Walter Bright changed:
What|Removed |Added
CC|
Hey Mike, have you put in thought or effort in to getting GtkD
working on android?
e.g.,
https://github.com/eugals/GTKAndroid/wiki/Building
If I get around to it and no one has beating me before, I will
try to compile something like the above and get the gtk libs
required then use the new
On Friday, 18 August 2017 at 15:16:55 UTC, bitwise wrote:
On Friday, 18 August 2017 at 01:43:42 UTC, Jonathan M Davis
wrote:
[...]
- Jonathan M Davis
Makes sense to me.
The first question that comes to mind is if the extra
generality provided by DIP 1012 is actually useful, let alone,
On Friday, August 18, 2017 03:08:07 Nicholas Wilson via Digitalmars-d wrote:
> On Friday, 18 August 2017 at 01:43:42 UTC, Jonathan M Davis wrote:
> If you think that then I have clearly failed to express the DIP
> at all.
> It solves exactly that. I completely fail to see how it is a
> detriment
On 8/18/2017 2:09 AM, Don Clugston wrote:
I invested quite a lot personally in implementing chained exceptions. But I
agree with you.
I was actually quite proud that I worked out the nasty corner cases during the
initial implementation. As far as I can tell, problems with chained exceptions
On 8/18/2017 5:07 AM, Steven Schveighoffer wrote:
If we are to remove them, what happens when exceptions would normally chain?
In C++, throwing an exception while unwinding is a fatal error.
More information:
https://stackoverflow.com/questions/130117/throwing-exceptions-out-of-a-destructor
On Friday, 18 August 2017 at 02:38:15 UTC, WhatMeForget wrote:
Can someone explain what is the difference between the two?
Thanks.
module gates;
import std.stdio;
import std.random;
alias Calculator = int delegate(int);
Calculator makeCalculator()
{
static int context = 0;
int
On Friday, 18 August 2017 at 16:52:51 UTC, Martin Nowak wrote:
On 08/18/2017 02:58 PM, Martin Nowak wrote:
First beta for the 2.076.0 release.
This release comes with various phobos additions and lots of
improvements for -betterC (changelog entry upcoming).
This release will also come with
On 18.08.2017 17:16, bitwise wrote:
On Friday, 18 August 2017 at 01:43:42 UTC, Jonathan M Davis wrote:
[...]
- Jonathan M Davis
Makes sense to me.
The first question that comes to mind is if the extra generality
provided by DIP 1012 is actually useful, let alone, worth breaking
changes.
https://issues.dlang.org/show_bug.cgi?id=14246
--- Comment #11 from github-bugzi...@puremagic.com ---
Commit pushed to stable at https://github.com/dlang/dlang.org
https://github.com/dlang/dlang.org/commit/45ca5e35d3de824e104c3049083eb23fa03775c5
Remove wrong changelog entry
The fix for issue
On Friday, 18 August 2017 at 17:06:42 UTC, Mike Wey wrote:
On 18-08-17 02:30, Johnson Jones wrote:
On Friday, 18 August 2017 at 00:27:05 UTC, Johnson Jones wrote:
[...]
Obvious it is easy when you have ID's, but this is meant for
the original case where I'm not using ID's.
A far as i can
On Friday, 18 August 2017 at 12:09:04 UTC, kinke wrote:
On Friday, 18 August 2017 at 09:42:25 UTC, Jack Applegame wrote:
For some reason, the LDC default initializes the structure,
even if initialization of all its members is specified as
void. I believe that this is wrong.
Afaik, this has
On 18-08-17 02:30, Johnson Jones wrote:
On Friday, 18 August 2017 at 00:27:05 UTC, Johnson Jones wrote:
I should also mention that when I use an ID to do what I want(again,
something I don't want to do), I also need to get the column that was
edited. This is because I'm using one delegate for
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512
On 08/18/2017 02:58 PM, Martin Nowak wrote:
> First beta for the 2.076.0 release.
>
> This release comes with various phobos additions and lots of
> improvements for -betterC (changelog entry upcoming).
This release will also come with static
On Friday, 18 August 2017 at 15:46:13 UTC, Vino.B wrote:
On Friday, 18 August 2017 at 11:24:24 UTC, Moritz Maxeiner
wrote:
On Friday, 18 August 2017 at 10:50:28 UTC, Moritz Maxeiner
wrote:
On Friday, 18 August 2017 at 10:06:04 UTC, Vino wrote:
On Friday, 18 August 2017 at 08:34:39 UTC, ikod
On Friday, 18 August 2017 at 11:24:24 UTC, Moritz Maxeiner wrote:
On Friday, 18 August 2017 at 10:50:28 UTC, Moritz Maxeiner
wrote:
On Friday, 18 August 2017 at 10:06:04 UTC, Vino wrote:
On Friday, 18 August 2017 at 08:34:39 UTC, ikod wrote:
On Friday, 18 August 2017 at 08:00:26 UTC, Vino.B
On Friday, 18 August 2017 at 01:43:42 UTC, Jonathan M Davis wrote:
[...]
- Jonathan M Davis
Makes sense to me.
The first question that comes to mind is if the extra generality
provided by DIP 1012 is actually useful, let alone, worth
breaking changes. The rationale section of the DIP only
On Friday, 18 August 2017 at 09:18:42 UTC, Timon Gehr wrote:
Any downsides?
...
- It introduces a new type that would not really be necessary.
This is avoidable, at the cost of a little more verbosity:
D newbie here: is there a non-negligible cost to creating a
stateless struct type?
On Friday, 18 August 2017 at 12:58:18 UTC, Martin Nowak wrote:
First beta for the 2.076.0 release.
This release comes with various phobos additions and lots of
improvements for -betterC (changelog entry upcoming).
http://dlang.org/download.html#dmd_beta
On Friday, 18 August 2017 at 09:18:42 UTC, Timon Gehr wrote:
---
module util;
// ...
template Imports(T...){
import std.string,std.algorithm;
mixin([T].map!(x=>"public import "~x~";").join);
// or, starting from DMD 2.076, you could use static
foreach instead:
// static
I want to write a library for working with units (lengths,
weights, ...). It should allow maths and converting with/between
different units (cm to mm, angstrom to meter, ...).
The SI Sytem consists of the base units for length (meter), mass
(kg), time (second) ,... and the prefixes like yotta
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512
First beta for the 2.076.0 release.
This release comes with various phobos additions and lots of
improvements for -betterC (changelog entry upcoming).
http://dlang.org/download.html#dmd_beta
http://dlang.org/changelog/2.076.0.html
Please report
Downloads from dlang.org, which doesn't include outside distro
packages like Arch or FreeBSD, have now jumped an order of
magnitude over the last five years:
http://erdani.com/d/downloads.daily.png
Congrats to all those who kept their head down grinding away on
code, including the
Some news from the audio front!
Reminder: Dplug is a convenient library for creating audio
plug-ins (VST / AU) for Mac, Windows and now Linux.
Thanks to the effort of Richard Andrew Cattermole and Ethan
Rekker, Dplug got Linux VST support. Ethan has written down the
whole story here:
On Friday, 18 August 2017 at 09:42:25 UTC, Jack Applegame wrote:
For some reason, the LDC default initializes the structure,
even if initialization of all its members is specified as void.
I believe that this is wrong.
Afaik, this has been brought up multiple times already and is so
by
On Friday, 18 August 2017 at 03:31:38 UTC, Walter Bright wrote:
Chained exceptions are a good idea, but are more or less a
disaster:
1. No other language does chained exceptions
2. Attempting to hammer D chained exceptions into other
language schemes (such as C++) makes for lots of unfun
https://issues.dlang.org/show_bug.cgi?id=15831
github-bugzi...@puremagic.com changed:
What|Removed |Added
Status|REOPENED|RESOLVED
https://issues.dlang.org/show_bug.cgi?id=15831
--- Comment #19 from github-bugzi...@puremagic.com ---
Commit pushed to master at https://github.com/dlang/dmd
https://github.com/dlang/dmd/commit/c272eb830597efcc8fe75c7e1c9791c512a08727
fix issue 15831: mangle back references for types and
On Friday, 18 August 2017 at 09:09:47 UTC, Don Clugston wrote:
Secondly, exception handling in windows is practically
undocumented. Certainly it's not documented in a single place.
When I began to implement it, I feared it might be impossible.
There isn't any guarantee that exception
On Friday, 18 August 2017 at 10:50:28 UTC, Moritz Maxeiner wrote:
On Friday, 18 August 2017 at 10:06:04 UTC, Vino wrote:
On Friday, 18 August 2017 at 08:34:39 UTC, ikod wrote:
On Friday, 18 August 2017 at 08:00:26 UTC, Vino.B wrote:
Hi All,
I have written a small program to just list the
On Friday, 18 August 2017 at 10:06:04 UTC, Vino wrote:
On Friday, 18 August 2017 at 08:34:39 UTC, ikod wrote:
On Friday, 18 August 2017 at 08:00:26 UTC, Vino.B wrote:
Hi All,
I have written a small program to just list the directories,
but when i run the program each time i am getting
https://issues.dlang.org/show_bug.cgi?id=17761
--- Comment #1 from Atila Neves ---
I forgot to add: this is a regression from dmd 2.074.1 - that version builds
fine.
--
https://issues.dlang.org/show_bug.cgi?id=17761
Issue ID: 17761
Summary: dmd 2.075.1 creates object files that can't be linked
by ld.bfd
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status:
On Friday, 18 August 2017 at 08:34:39 UTC, ikod wrote:
On Friday, 18 August 2017 at 08:00:26 UTC, Vino.B wrote:
Hi All,
I have written a small program to just list the directories,
but when i run the program each time i am getting different
output, hence request you help, below is the code
On Thursday, 3 August 2017 at 21:36:09 UTC, Michael wrote:
On Friday, 16 December 2016 at 05:43:02 UTC, Kai Nacke wrote:
Hi all,
Packt Publishing offers eBooks for $5 for a limited time. If
your collection of D eBooks is still incomplete then this is a
great chance for you. :-)
D Cookbook
I explore the possibility of using D for bare metal ARM
programming.
For some reason, the LDC default initializes the structure, even
if initialization of all its members is specified as void. I
believe that this is wrong.
test.d
module test;
import
On 18.08.2017 03:11, Johnson Jones wrote:
private struct oo{
import std.stdio: writeln, write;
import std.algorithm: filter, map;
// …
}
void main(){
oo.write("result: ");
oo.writeln(oo.map!(x=>x/2)(oo.filter!(x=>x%2==0)([1,2,3,4,5,6,10])));
}
Wow, that might solve the
On Friday, 18 August 2017 at 03:31:38 UTC, Walter Bright wrote:
Chained exceptions are a good idea, but are more or less a
disaster:
1. No other language does chained exceptions
2. Attempting to hammer D chained exceptions into other
language schemes (such as C++) makes for lots of unfun
When using the -profile flag is it known behaviour that phobos
unit tests fail?
(Ubuntu 16.04 - DMD64 D Compiler v2.071.0)
For example, when following these steps I get a failed unit test:
$ cd /usr/include/dmd/phobos/std/
$ rdmd -I/usr/include/dmd/phobos/std
-I/usr/include/dmd/phobos/core
On 18.08.2017 01:25, jmh530 wrote:
On Thursday, 17 August 2017 at 21:49:38 UTC, Timon Gehr wrote:
private struct oo{
import std.stdio: writeln, write;
import std.algorithm: filter, map;
// …
}
void main(){
oo.write("result: ");
On Friday, 18 August 2017 at 08:00:26 UTC, Vino.B wrote:
Hi All,
I have written a small program to just list the directories,
but when i run the program each time i am getting different
output, hence request you help, below is the code
[...]
Do you expect some strict execution order when
Hi All,
I have written a small program to just list the directories, but
when i run the program each time i am getting different output,
hence request you help, below is the code
Program:
import std.file: dirEntries, isFile, SpanMode, remove;
import std.stdio: writefln;
import
On Wednesday, 16 August 2017 at 17:03:51 UTC, H. S. Teoh wrote:
On Wed, Aug 16, 2017 at 03:30:18PM +, Vino.B via
Digitalmars-d-learn wrote: [...]
[...]
Try this:
writefln("%-36s %8s %.20s", d, d.size, d.timeCreated());
T
Hi Teoh,
Thank you very much, it worked.
On 18.08.2017 02:05, Johnson Jones wrote:
On Friday, 18 August 2017 at 00:02:23 UTC, Johnson Jones wrote:
On Thursday, 17 August 2017 at 22:41:51 UTC, Johnson Jones wrote:
I was doing something strange ;/
I had code like
mixin(import("Myfile.d"));
CallSomeFunctionInMyFile();
And no BP's
On 18.08.2017 00:14, Johnson Jones wrote:
On Thursday, 17 August 2017 at 21:18:35 UTC, Johnson Jones wrote:
On Thursday, 17 August 2017 at 17:45:35 UTC, Rainer Schuetze wrote:
On 17.08.2017 19:05, Johnson wrote:
On Wednesday, 16 August 2017 at 19:35:19 UTC, Rainer Schuetze wrote:
On
60 matches
Mail list logo