On Wednesday, 12 September 2018 at 13:26:03 UTC, Stefan Koch
wrote:
On Wednesday, 12 September 2018 at 10:42:08 UTC, Josphe Brigmo
wrote:
x64 gives
Privileged instruction
but x86 gives
First-chance exception: std.file.FileException "C:\": The
filename, directory name, or volume label syntax
Great -- Thank you both.
I previously found Unqual, but it looks like that needs template
support so wasn't feasible, hence my question.
Neia is right that I tried to cast as in the second case ( but
without UFCS -- reserve( cast(int[]), N); ). As an aside, what
is going on behind the
On Wednesday, September 12, 2018 5:41:16 PM MDT James Blachly via
Digitalmars-d-learn wrote:
> When I add the "shared" attribute to an array, I am no longer
> able to call reserve because the template won't instantiate:
>
> Error: template object.reserve cannot deduce function from
> argument
On Wednesday, 12 September 2018 at 23:41:16 UTC, James Blachly
wrote:
When I add the "shared" attribute to an array, I am no longer
able to call reserve because the template won't instantiate:
Error: template object.reserve cannot deduce function from
argument types !()(shared(int[]), int),
On Wednesday, September 12, 2018 5:55:05 PM MDT Nicholas Wilson via
Digitalmars-d-announce wrote:
> On Wednesday, 12 September 2018 at 23:36:11 UTC, Jonathan M Davis
>
> wrote:
> > On Wednesday, September 12, 2018 5:17:44 PM MDT Nicholas Wilson
> >
> > via Digitalmars-d-announce wrote:
> >> it
On Wednesday, 12 September 2018 at 23:55:05 UTC, Nicholas Wilson
wrote:
The bog-standard way of dealing with avoidable breakage with
DIPs is a -dip-10xx flag. In this case, if set, would prefer to
call copy constructors over blit + postblit.
Also adding @implicit is a backwards incompatible
On Wednesday, 12 September 2018 at 23:36:11 UTC, Jonathan M Davis
wrote:
On Wednesday, September 12, 2018 5:17:44 PM MDT Nicholas Wilson
via Digitalmars-d-announce wrote:
it seems that even if we were to want to have @implicit as an
opposite of C++'s explicit it would _always_ be present on
When I add the "shared" attribute to an array, I am no longer
able to call reserve because the template won't instantiate:
Error: template object.reserve cannot deduce function from
argument types !()(shared(int[]), int), candidates are:
On Wednesday, September 12, 2018 4:11:20 PM MDT Manu via Digitalmars-d-
announce wrote:
> On Wed, 12 Sep 2018 at 04:40, Dejan Lekic via Digitalmars-d-announce
>
> wrote:
> > On Tuesday, 11 September 2018 at 15:22:55 UTC, rikki cattermole
> >
> > wrote:
> > > Here is a question (that I don't think
On Wednesday, September 12, 2018 5:17:44 PM MDT Nicholas Wilson via
Digitalmars-d-announce wrote:
> it seems that even if we were to want to have @implicit as an
> opposite of C++'s explicit it would _always_ be present on
> copy-constructors which means that @implicit for copy
> constructors
On Wednesday, 12 September 2018 at 22:11:20 UTC, Manu wrote:
On Wed, 12 Sep 2018 at 04:40, Dejan Lekic via
Digitalmars-d-announce
wrote:
On Tuesday, 11 September 2018 at 15:22:55 UTC, rikki
cattermole wrote:
>
> Here is a question (that I don't think has been asked) why
> not
> @copy?
>
On 12 September 2018 at 10:09, Joakim via Digitalmars-d
wrote:
> On Tuesday, 11 September 2018 at 16:50:33 UTC, Dejan Lekic wrote:
>>
>> On Monday, 10 September 2018 at 13:43:46 UTC, Joakim wrote:
>>>
>>> LDC recently added a linux/AArch64 CI for both its main branches and
>>> 64-bit ARM, ie
On Wed, 12 Sep 2018 at 04:40, Dejan Lekic via Digitalmars-d-announce
wrote:
>
> On Tuesday, 11 September 2018 at 15:22:55 UTC, rikki cattermole
> wrote:
> >
> > Here is a question (that I don't think has been asked) why not
> > @copy?
> >
> > @copy this(ref Foo other) { }
> >
> > It can be read
On Wednesday, 12 September 2018 at 15:12:16 UTC, Anonymouse wrote:
void doByPair(Args...)(Args args)
if (Args.length)
{
foreach (pair; args.pairwise)
{
static assert(is(typeof(pair[0]) == string));
static assert(isPointer!(pair[1]));
assert(pair[1] !is null);
On Wednesday, September 12, 2018 3:06:23 PM MDT Manu via Digitalmars-d
wrote:
> On Tue, 11 Sep 2018 at 20:59, Danni Coy via Digitalmars-d
>
> wrote:
> > So my understanding is that the main issue with extern(C++,"ns") is
> > functions that have different C++ name-spaces overriding each other in
On 12 September 2018 at 10:46, Dejan Lekic via Digitalmars-d
wrote:
> On Wednesday, 12 September 2018 at 08:09:46 UTC, Joakim wrote:
>>
>> I contacted one of the few companies putting out RISC-V dev boards,
>> Sifive, a couple weeks ago with the suggestion of making available a paid
>> RISC-V
On Wednesday, 12 September 2018 at 19:39:21 UTC, Jonathan M Davis
wrote:
However, Andrei does not believe that the risk is worth it and
insists that we need a way to differentiate between the new
copy constructors and any existing constructors that happen to
look like them. So, there won't be
On Tue, 11 Sep 2018 at 20:59, Danni Coy via Digitalmars-d
wrote:
>
>
>
> So my understanding is that the main issue with extern(C++,"ns") is functions
> that have different C++ name-spaces overriding each other in unexpected ways.
> How feasible is to simply disallow
In C++ programming you can call any kind of array it may be
associative or dissociative one, and, with declaration fo the
array, you can easily input mad output with a string and it can
be integer or float format. And you can take some help from
https://hpsupports.co/hp-support-assistant/ to
On Wed, 12 Sep 2018 at 04:45, Atila Neves via Digitalmars-d
wrote:
>
> On Wednesday, 5 September 2018 at 17:34:17 UTC, ShadoLight wrote:
> > On Wednesday, 5 September 2018 at 13:11:18 UTC, Jonathan M
> > Davis wrote:
> >
> > It anyway appears that Vim/Emacs are often extended by plugins,
> > and
On Tue, Sep 11, 2018 at 03:08:33PM +, RazvanN via Digitalmars-d-announce
wrote:
> I have finished writing the last details of the copy constructor
> DIP[1] and also I have published the first implementation [2].
[...]
Here are some comments:
- The DIP should address what @implicit means
On Wednesday, September 12, 2018 1:18:11 PM MDT Gary Willoughby via
Digitalmars-d-announce wrote:
> On Wednesday, 12 September 2018 at 16:40:45 UTC, Jonathan M Davis
>
> wrote:
> > Ultimately, I expect that if we add any attribute for this,
> > people coming to D are going to think that it's
On Wednesday, 12 September 2018 at 16:40:45 UTC, Jonathan M Davis
wrote:
Ultimately, I expect that if we add any attribute for this,
people coming to D are going to think that it's downright
weird, but if we're going to have one, if we go with @implicit,
we're future-proofing things a bit, and
On Monday, 10 September 2018 at 09:19:52 UTC, Josphe Brigmo wrote:
Is there an emulator that can run the apks? Android emulator
does not work, I suppose, because it isn't java. Complains
about a missing classes.dex file.
I'd rather have an emulator version if possible for quicker dev.
For
On Wednesday, September 12, 2018 10:04:57 AM MDT Elie Morisse via
Digitalmars-d-announce wrote:
> On Wednesday, 12 September 2018 at 11:39:21 UTC, Dejan Lekic
>
> wrote:
> > On Tuesday, 11 September 2018 at 15:22:55 UTC, rikki cattermole
> >
> > wrote:
> >> Here is a question (that I don't think
On Wednesday, 12 September 2018 at 15:38:36 UTC, Joakim wrote:
the world is right now? It's not IBM, Apple,
Whoops, meant to write Intel here, but wrote Apple again. :D
https://issues.dlang.org/show_bug.cgi?id=19242
--- Comment #2 from Basile B. ---
Problem is also that the specs for this kind of stuff are void. Looks like only
the last overload of the overload set is tried.
--
https://issues.dlang.org/show_bug.cgi?id=19242
Basile B. changed:
What|Removed |Added
CC||b2.t...@gmx.com
Hardware|x86
https://issues.dlang.org/show_bug.cgi?id=19242
Issue ID: 19242
Summary: Strange inferencing by combination of template and
lambda
Product: D
Version: D2
Hardware: x86
OS: Windows
Status: NEW
On Wednesday, 12 September 2018 at 11:39:21 UTC, Dejan Lekic
wrote:
On Tuesday, 11 September 2018 at 15:22:55 UTC, rikki cattermole
wrote:
Here is a question (that I don't think has been asked) why not
@copy?
@copy this(ref Foo other) { }
It can be read as copy constructor, which would be
On Wednesday, 12 September 2018 at 06:41:38 UTC, Gambler wrote:
On 9/10/2018 9:43 AM, Joakim wrote:
Yes, I know, these devices won't replace your quad-core Xeon
workstation with 32-64 GBs of RAM anytime soon, but most
people don't need anywhere near that level of compute. That's
why PC sales
On 13/09/2018 3:22 AM, Timoses wrote:
On Wednesday, 12 September 2018 at 14:46:22 UTC, rikki cattermole wrote:
On 13/09/2018 2:34 AM, drug wrote:
12.09.2018 15:14, Timoses пишет:
On Tuesday, 11 September 2018 at 12:07:14 UTC, drug wrote:
If data size is less or equal to total size of
On Wednesday, 12 September 2018 at 14:46:22 UTC, rikki cattermole
wrote:
On 13/09/2018 2:34 AM, drug wrote:
12.09.2018 15:14, Timoses пишет:
On Tuesday, 11 September 2018 at 12:07:14 UTC, drug wrote:
If data size is less or equal to total size of available
registers (that can be used to
On Wednesday, 12 September 2018 at 06:06:15 UTC, dangbinghoo
wrote:
hi ,
When compiling gtkd using dub, dmd32 reported "Out for memory"
and exit.
OS: Windows 7 32bit.
RAM : 3GB
DMD version: v2.0.82.0 32bit.
No VC or Windows SDK installed, when setting up dmd, I selected
install vc2010 and
On 9/12/18 8:01 AM, Jan wrote:
I'm using D not for that long and lately I have encountered an issue. I
have class 'Foo' with a constructor using this signature:
`this (ref Bar original)`
In the 'Bar' class itself I want to create an instance of 'Foo' using
'this' as parameter. Something in
I'm trying to create a variadic template function that takes
pairs of arguments. Sort of like getopt, I want to pass any
number of pairs of a string and some pointer. Or any size chunk
larger than one.
Something like the following, assuming the existence of a
hypothetical template pairwise:
On Wednesday, 12 September 2018 at 15:01:36 UTC, Jan wrote:
I'm using D not for that long and lately I have encountered an
issue. I have class 'Foo' with a constructor using this
signature:
`this (ref Bar original)`
classes and the ref keyword should very rarely be used together
in D.
I'm using D not for that long and lately I have encountered an
issue. I have class 'Foo' with a constructor using this signature:
`this (ref Bar original)`
In the 'Bar' class itself I want to create an instance of 'Foo'
using 'this' as parameter. Something in the way of:
`Foo foo = new
On 13/09/2018 2:34 AM, drug wrote:
12.09.2018 15:14, Timoses пишет:
On Tuesday, 11 September 2018 at 12:07:14 UTC, drug wrote:
If data size is less or equal to total size of available registers
(that can be used to pass values) than passing by value is more
efficient. Passing data with size
12.09.2018 15:14, Timoses пишет:
On Tuesday, 11 September 2018 at 12:07:14 UTC, drug wrote:
If data size is less or equal to total size of available registers
(that can be used to pass values) than passing by value is more
efficient. Passing data with size less than register size by
On Wednesday, 12 September 2018 at 10:42:08 UTC, Josphe Brigmo
wrote:
x64 gives
Privileged instruction
but x86 gives
First-chance exception: std.file.FileException "C:\": The
filename, directory name, or volume label syntax is incorrect.
at std\file.d(4573)
which is much more
On Wednesday, 12 September 2018 at 10:06:29 UTC, aliak wrote:
On Wednesday, 12 September 2018 at 01:11:59 UTC, Jonathan
Marler wrote:
On Tuesday, 11 September 2018 at 19:55:33 UTC, Andre Pany
wrote:
On Saturday, 8 September 2018 at 04:24:20 UTC, Jonathan
Marler wrote:
I've rewritten rdmd into
On Wednesday, 12 September 2018 at 12:45:15 UTC, Nicholas Wilson
wrote:
Overloads:
[snip]
Good point.
On Monday, 10 September 2018 at 14:00:43 UTC, Iain Buclaw wrote:
PPC64
Why superscalar is a thing at all? Didn't Itanium prove to be
difficult to optimize for?
On Tuesday, 11 September 2018 at 23:56:56 UTC, Walter Bright
wrote:
On 9/11/2018 8:08 AM, RazvanN wrote:
[1] https://github.com/dlang/DIPs/pull/129
[2] https://github.com/dlang/dmd/pull/8688
Thank you, RazvanN!
I very much agree!
On Tuesday, 11 September 2018 at 14:58:21 UTC, jmh530 wrote:
Is there any reason why this is not sufficient?
[1] https://run.dlang.io/is/lu6nQ0
Overloads:
https://run.dlang.io/is/m5HGOh
The static asserts being in the constraint affects the template
candidacy viability. Being in the
On Wednesday, 12 September 2018 at 04:02:14 UTC, Soulsbane wrote:
On Sunday, 12 August 2018 at 15:07:04 UTC, Anton Fediushin
wrote:
Hello, I'm glad to announce that silly v0.0.1 is released.
Silly is a brand-new test runner with simplicity in mind. It's
developed to be as simple as possible
On 9/11/18 3:11 AM, Timoses wrote:
Aww, I really would love some insights into function parameter passing.
Why is it said that passing by value can be more efficient at times?
Since it is also said that passing large structs by value can be
expensive, why then would it not be cheaper to ALWAYS
On 9/11/18 7:58 AM, jmh530 wrote:
Is there any reason why this is not sufficient?
[1] https://run.dlang.io/is/lu6nQ0
That's OK if you are the only one defining S. But what if float is
handled elsewhere?
-Steve
On Tuesday, 11 September 2018 at 07:25:22 UTC, Suliman wrote:
On Sunday, 9 September 2018 at 09:05:33 UTC, Suliman wrote:
Last update was long time ago
http://erdani.com/d/downloads.daily.png
UP
+1
On Tuesday, 11 September 2018 at 12:07:14 UTC, drug wrote:
If data size is less or equal to total size of available
registers (that can be used to pass values) than passing by
value is more efficient. Passing data with size less than
register size by reference isn't efficient because you
On Wednesday, 12 September 2018 at 01:14:58 UTC, Ryan Barker
wrote:
I wonder if you guys are aware of any Canadian companies using
D, I want to do some research about what they're using D for
and eventually follow some of them. I was browsing
https://dlang.org/orgs-using-d.html but I didn't
On Sunday, 9 September 2018 at 14:27:45 UTC, Abdulhaq wrote:
If you're serious then why not request an absentee ballot?
Just out of curiosity, how does posting this info here help you
in any way?
I was kind of wondering this too and in worst case a technical
error as described is not really
On Wednesday, 5 September 2018 at 17:34:17 UTC, ShadoLight wrote:
On Wednesday, 5 September 2018 at 13:11:18 UTC, Jonathan M
Davis wrote:
It anyway appears that Vim/Emacs are often extended by plugins,
and this will be the only way to have some project manage
features.
I'm an Emacs user. I
On Tuesday, 11 September 2018 at 15:22:55 UTC, rikki cattermole
wrote:
Here is a question (that I don't think has been asked) why not
@copy?
@copy this(ref Foo other) { }
It can be read as copy constructor, which would be excellent
for helping people learn what it is doing (spec lookup).
https://issues.dlang.org/show_bug.cgi?id=9981
John Colvin changed:
What|Removed |Added
CC||john.loughran.colvin@gmail.
x64 gives
Privileged instruction
but x86 gives
First-chance exception: std.file.FileException "C:\": The
filename, directory name, or volume label syntax is incorrect. at
std\file.d(4573)
which is much more informative...
seems like a bug to me.
On Wednesday, 12 September 2018 at 01:11:59 UTC, Jonathan Marler
wrote:
On Tuesday, 11 September 2018 at 19:55:33 UTC, Andre Pany wrote:
On Saturday, 8 September 2018 at 04:24:20 UTC, Jonathan Marler
wrote:
I've rewritten rdmd into a new tool called "rund" and have
been using it for about 4
On Wednesday, 12 September 2018 at 08:09:46 UTC, Joakim wrote:
On Tuesday, 11 September 2018 at 08:34:31 UTC, Chris wrote:
[...]
Yes, something like that should be done, but I won't be doing
much with dub till next year. If anyone else is interested in
doing it earlier, feel free.
[...]
https://issues.dlang.org/show_bug.cgi?id=18771
--- Comment #2 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/dlang/dmd
https://github.com/dlang/dmd/commit/a04db92fab82abec2c645f6832e24fba1c1c
Fix Issue 18771 - Identical overload sets in different
https://issues.dlang.org/show_bug.cgi?id=18771
github-bugzi...@puremagic.com changed:
What|Removed |Added
Status|NEW |RESOLVED
On Wednesday, 12 September 2018 at 08:09:46 UTC, Joakim wrote:
I don't think there's a "dedicated team" for any platform that
D runs on, so we don't have "first class support" for any
platform then.
But ARM (Android/iOS) has always been treated worse than a
stepchild by D devs. No
On Wednesday, 12 September 2018 at 08:09:46 UTC, Joakim wrote:
I contacted one of the few companies putting out RISC-V dev
boards, Sifive, a couple weeks ago with the suggestion of
making available a paid RISC-V VPS, and one of their field
engineers got back to me last week with a note that
On Tuesday, 11 September 2018 at 08:34:31 UTC, Chris wrote:
On Tuesday, 11 September 2018 at 07:23:53 UTC, Joakim wrote:
I agree with a lot of what you say here, but I'm not sure what
you mean by "first class support for mobile." What exactly do
you believe D needs to reach that level?
On Tuesday, 11 September 2018 at 15:08:33 UTC, RazvanN wrote:
Hello everyone,
I have finished writing the last details of the copy
constructor DIP[1] and also I have published the first
implementation [2]. As I wrongfully made a PR for the DIP queue
in the early stages of the development of
On Tuesday, 11 September 2018 at 07:52:45 UTC, Joakim wrote:
On Tuesday, 11 September 2018 at 07:42:38 UTC, passenger wrote:
On Monday, 10 September 2018 at 13:43:46 UTC, Joakim wrote:
[...]
Is it possible to develop versus a NVidia Jetson, CUDA
included?
I think so, but I doubt anyone
On Wednesday, 12 September 2018 at 06:41:38 UTC, Gambler wrote:
[snip]
In essence, we are seeing the rapid widening of two digital
divides. The first one is between users and average developers.
The second one is between average developers and researchers at
companies like Google. I very
On 9/10/2018 9:43 AM, Joakim wrote:
> Yes, I know, these devices won't replace your quad-core Xeon workstation
> with 32-64 GBs of RAM anytime soon, but most people don't need anywhere
> near that level of compute. That's why PC sales keep dropping while
> mobile sales are now 6-7X that per year:
hi ,
When compiling gtkd using dub, dmd32 reported "Out for memory"
and exit.
OS: Windows 7 32bit.
RAM : 3GB
DMD version: v2.0.82.0 32bit.
No VC or Windows SDK installed, when setting up dmd, I selected
install vc2010 and use mingw lib.
69 matches
Mail list logo