On Sunday, 8 January 2017 at 21:50:12 UTC, Ivan Kazmenko wrote:
On Sunday, 8 January 2017 at 18:23:34 UTC, collerblade wrote:
[...]
Hmm, right.
The setter is not called, and it's by the spec.
Which says that "a op= b" is rewritten as "a.opOpAssign !(op)
(b)".
Here:
https://issues.dlang.org/show_bug.cgi?id=17077
Walter Bright changed:
What|Removed |Added
CC|
On 1/8/2017 8:24 PM, pineapple wrote:
On this subject, I spent a good chunk of my day trying to compile my code using
the -m32mscoff switch and was never able to get it to work. (My most recent
obstacle is this error, occurring even for a very simple test program importing
no dependencies, if
On 1/8/2017 6:34 PM, Jerry wrote:
There's more, just the bugs are so obscure the people filing the bugs don't know
that the problem lies with Optlink. There's problems with shared libraries not
being loaded and unloaded properly. Random crashes during runtime, more often
crashes when a debugger
PS: Noticed something off. My python installation is 3.4.3:
Python 3.4.3 (default, Sep 14 2016, 12:36:27)
[GCC 4.8.4] on linux
However when I run:
context.py_stmts("import sys");
context.py_stmts("print(sys.version)");
I get:
3.4.0 (default, Apr 11 2014, 13:08:40)
[GCC 4.8.2]
Also,
On Sunday, 8 January 2017 at 22:34:33 UTC, eugene wrote:
Hello, everyone,
could you share, please, your knowledge, where can i search D
lang remote junior developer jobs?
Nowhere?
I've been giving PyD a try. It's really nice and mostly
everything works out of the box.
I'm trying to use TensorFlow in D via Pytho, so I need to call
Python functions in D.
When I try to do:
auto context = new InterpContext();
context.py_stmts("import tensorflow");
I get this
On Sunday, 8 January 2017 at 21:19:15 UTC, LouisHK wrote:
And works fine, but the D version below nothing happens when I
hit ESCAPE:
Is this a bug or there is another approach?
Could this be because of maybe somehow it handles the console
input? Kinda like how shift and different keys are
On Monday, 9 January 2017 at 02:34:31 UTC, Jerry wrote:
before I switched away from optlink. What point is there to
report these bugs though, Microsoft's linker works with fewer
bugs and actually supports the format of the platform. So no
need to convert .lib files with it. This is my point,
On Monday, 9 January 2017 at 01:28:22 UTC, Walter Bright wrote:
On 1/8/2017 2:58 PM, extrawurst wrote:
On Sunday, 8 January 2017 at 22:54:58 UTC, Walter Bright wrote:
On 1/8/2017 1:15 PM, extrawurst wrote:
On Sunday, 8 January 2017 at 18:51:45 UTC, Walter Bright
wrote:
On 1/7/2017 5:17 AM,
On Monday, 9 January 2017 at 02:31:42 UTC, Chris M. wrote:
asm
{
mov EAX, tmp; // I'd also like to know if I could just
load *op1 directly into EAX
mov ECX, op2[EBP];
mixin(ins ~ " EAX, CL;"); // Issue here
mov tmp, EAX;
}
*op1 = tmp;
}
However,
On Monday, 9 January 2017 at 02:38:01 UTC, Stefan Koch wrote:
On Monday, 9 January 2017 at 02:31:42 UTC, Chris M. wrote:
[...]
Yes make the whole inline asm a mixin.
Awesome, got it working. Thanks to both replies.
On Monday, 9 January 2017 at 01:46:18 UTC, extrawurst wrote:
Unfortunately, it would be better off in the programming
subreddit.
Volunteers to post it there aswell ?
I'll do it in about 10 hours or so.
On Monday, 9 January 2017 at 02:31:42 UTC, Chris M. wrote:
Right now I'm working on a project where I'm implementing a VM
in D. I'm on the rotate instructions, and realized I could
*almost* abstract the ror and rol instructions with the
following function
private void rot(string ins)(int
On Monday, 9 January 2017 at 01:26:48 UTC, Walter Bright wrote:
On Sunday, 8 January 2017 at 19:15:49 UTC, Jerry wrote:
A bit more maddening that D is still trying to support
optlink, a linker that
hasn't seen a commit in 2 years when it is hardly bug free.
Optlink has had many bugs fixed
Right now I'm working on a project where I'm implementing a VM in
D. I'm on the rotate instructions, and realized I could *almost*
abstract the ror and rol instructions with the following function
private void rot(string ins)(int *op1, int op2)
{
int tmp = *op1;
asm
{
mov
https://issues.dlang.org/show_bug.cgi?id=16513
Martin Nowak changed:
What|Removed |Added
Keywords||pull
--- Comment #5 from
https://issues.dlang.org/show_bug.cgi?id=16513
Martin Nowak changed:
What|Removed |Added
Summary|Speed up|Speed up
On Monday, 9 January 2017 at 01:28:22 UTC, Walter Bright wrote:
On 1/8/2017 2:58 PM, extrawurst wrote:
On Sunday, 8 January 2017 at 22:54:58 UTC, Walter Bright wrote:
On 1/8/2017 1:15 PM, extrawurst wrote:
On Sunday, 8 January 2017 at 18:51:45 UTC, Walter Bright
wrote:
On 1/7/2017 5:17 AM,
On 1/8/2017 2:58 PM, extrawurst wrote:
On Sunday, 8 January 2017 at 22:54:58 UTC, Walter Bright wrote:
On 1/8/2017 1:15 PM, extrawurst wrote:
On Sunday, 8 January 2017 at 18:51:45 UTC, Walter Bright wrote:
On 1/7/2017 5:17 AM, extrawurst wrote:
the last 2 weeks I jumped on a new toy project:
On 1/8/2017 12:58 PM, pineapple wrote:
On Sunday, 8 January 2017 at 18:49:50 UTC, Walter Bright wrote:
Please post bug reports to bugzilla.
Here you go: https://issues.dlang.org/show_bug.cgi?id=17077
Thank you.
On Sunday, 8 January 2017 at 19:15:49 UTC, Jerry wrote:
A bit more maddening that D is still trying to support optlink, a linker that
hasn't seen a commit in 2 years when it is hardly bug free.
Optlink has had many bugs fixed in it. There are currently 7 open issues with it
on bugzilla:
https://issues.dlang.org/show_bug.cgi?id=16855
Walter Bright changed:
What|Removed |Added
CC|
On 1/6/17 4:46 PM, Walter Bright wrote:
It's 2017 already - sharpen your pencils and start on a proposal for a
presentation! Time is moving fast!
Just sent mine in!
--
Adam Wilson
IRC: LightBender
import quiet.dlang.dev;
On 1/8/2017 10:56 AM, jkpl wrote:
On Sunday, 8 January 2017 at 18:49:50 UTC, Walter Bright wrote:
P.S. Isn't it maddening that Windows doesn't allow copying the data from a
message window?
Not really, because you can, Ctrl+C...
That frequently does not work. For example, take the "Help"
Just reporting here that I was able to get a hello world working
using windows and UoW.
Some issues I had:
1. Had issues with outdated libraries. (ncurses, gcc, etc)
2. UoW Aniversary is based on Ubuntu 14, I was able to upgrade to
16.04 following online sources. Lots of snags but eventually
On Sunday, January 08, 2017 18:06:53 Brian via Digitalmars-d-announce wrote:
> On Wednesday, 4 January 2017 at 19:22:33 UTC, Andrei Alexandrescu
>
> wrote:
> > We release a brief Vision document summarizing the main goals
> > we plan to pursue in the coming six months. This half we are
> >
On Sunday, 8 January 2017 at 22:19:31 UTC, Joakim wrote:
On Sunday, 8 January 2017 at 21:52:01 UTC, Ignacious wrote:
Not sure what is going on, of course ;) So much BS just to do
something that is suppose to be simple ;)
test.d
void main()
{
}
here is test.o
https://issues.dlang.org/show_bug.cgi?id=16955
deadalnix changed:
What|Removed |Added
CC||deadal...@gmail.com
---
https://issues.dlang.org/show_bug.cgi?id=17078
deadalnix changed:
What|Removed |Added
Status|NEW |RESOLVED
https://issues.dlang.org/show_bug.cgi?id=17078
--- Comment #1 from deadalnix ---
As far my investigation goes, it looks like the spawned process dies with
signal 11 before it even reaches main in the child.
--
On Thursday, 5 January 2017 at 06:04:00 UTC, Stefan Koch wrote:
On Monday, 2 January 2017 at 18:40:44 UTC, Stefan Koch wrote:
So guys.
basic function-calls are supported.
Hell YEAH!
Disabled for now. Since it pushes some buffers/caches to their
limit. A more flexible solution is needed.
https://issues.dlang.org/show_bug.cgi?id=17078
Issue ID: 17078
Summary: std.process.execute fails on travis
Product: D
Version: D2
Hardware: x86_64
OS: Windows
Status: NEW
Severity: enhancement
On Sunday, 8 January 2017 at 22:54:58 UTC, Walter Bright wrote:
On 1/8/2017 1:15 PM, extrawurst wrote:
On Sunday, 8 January 2017 at 18:51:45 UTC, Walter Bright wrote:
On 1/7/2017 5:17 AM, extrawurst wrote:
the last 2 weeks I jumped on a new toy project: An Alexa
Skill written in D.
Post
On 1/8/2017 1:15 PM, extrawurst wrote:
On Sunday, 8 January 2017 at 18:51:45 UTC, Walter Bright wrote:
On 1/7/2017 5:17 AM, extrawurst wrote:
the last 2 weeks I jumped on a new toy project: An Alexa Skill written in D.
Post this to reddit!
Isn't it better someone else does that?
Yes. I
actually here's the article explaning the symlink in dropbox disaster:
http://www.paulingraham.com/dropbox-and-symlinks.html
On Sun, Jan 8, 2017 at 2:35 PM, Timothee Cour
wrote:
> https://github.com/dlang/dmd/commit/801742d93ecb6c929409a19c024dd8
> 7ca25330a3
https://github.com/dlang/dmd/commit/801742d93ecb6c929409a19c024dd87ca25330a3
introduced a symlink dmd repo; if a user clones it inside a Dropbox (or
google drive) and syncs his dropbox to another machine, it will create
havoc:
* google drive doesn't support symlinks at all
* dropbox supports it
Hello, everyone,
could you share, please, your knowledge, where can i search D
lang remote junior developer jobs?
https://issues.dlang.org/show_bug.cgi?id=14894
Martin Nowak changed:
What|Removed |Added
Summary|mangling of mixins and |mangling of mixins and
On Sunday, 8 January 2017 at 21:52:01 UTC, Ignacious wrote:
Not sure what is going on, of course ;) So much BS just to do
something that is suppose to be simple ;)
test.d
void main()
{
}
here is test.o
http://pastebin.com/NRrKgKtb
Any ideas?
Oh, that's easy: install the NDK too, as
On 20 December 2016 at 12:24, Mike via Digitalmars-d-announce
wrote:
> On Monday, 19 December 2016 at 19:53:06 UTC, Iain Buclaw wrote:
>
>> The compiler doesn't actually generate any code that peeks inside
>> TypeInfo. It only generates the reference to the
On 08.01.2017 08:52, Elronnd wrote:
I'm working on writing an RSA implementation, but I've run into a
roadblock generating primes. With a more than 9 bits, my program either
hangs for a long time (utilizing %100 CPU!) or returns a composite
number. With 9 or fewer bits, I get primes, but I
https://issues.dlang.org/show_bug.cgi?id=14894
Martin Nowak changed:
What|Removed |Added
CC||meapineap...@gmail.com
---
https://issues.dlang.org/show_bug.cgi?id=16994
Martin Nowak changed:
What|Removed |Added
Status|NEW |RESOLVED
https://issues.dlang.org/show_bug.cgi?id=16994
--- Comment #3 from Martin Nowak ---
Seems to be a duplicate of issue 14894, only in this case the 2 compilations
produce different functions with the same mangling instead of causing a linker
error.
It just happens that in both
https://issues.dlang.org/show_bug.cgi?id=16680
--- Comment #3 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/dlang/dmd
https://github.com/dlang/dmd/commit/8eb8a67e6e4d47244db99e35ad02f42e1de7d253
fix issue 16680: avoid inconsistent usage of Sub and Min
On Sunday, 8 January 2017 at 20:34:21 UTC, Joakim wrote:
On Sunday, 8 January 2017 at 19:58:06 UTC, Ignacious wrote:
I suppose it will be easier to install a real ubuntu distro
rather than relying on windows? All these issues seem to be
related to outdated versions?
Distributor ID: Ubuntu
On Sunday, 8 January 2017 at 20:36:38 UTC, jkpl wrote:
On Sunday, 8 January 2017 at 19:15:49 UTC, Jerry wrote:
On Sunday, 8 January 2017 at 18:49:50 UTC, Walter Bright wrote:
P.S. Isn't it maddening that Windows doesn't allow copying
the data from a message window?
A bit more maddening that
On Sunday, 8 January 2017 at 18:23:34 UTC, collerblade wrote:
On Sunday, 8 January 2017 at 10:03:50 UTC, Ivan Kazmenko wrote:
On Sunday, 8 January 2017 at 09:22:12 UTC, collerblade wrote:
[...]
1. If you want the member variable to change, naturally, you
should provide a getter property
On 7 January 2017 at 01:39, Mike via Digitalmars-d
wrote:
> On Friday, 6 January 2017 at 15:47:21 UTC, Igor Myronov wrote:
>>
>> Is possible to program in D micro*-controllers like the PIC32 ?
>> Thanks to all.
>
>
> D has 3 compilers DMD, LDC, and GCC,
>
> DMD only
On Sun, 2017-01-08 at 09:18 +, Suliman via Digitalmars-d wrote:
> > Simply picking a worker thread + worker fiber when task is
> > assigned and sticking to it until finished should work good
> > enough. It is also important to note though that "fiber" is not
> > the same as "task". Former
On Sunday, 8 January 2017 at 18:51:45 UTC, Walter Bright wrote:
On 1/7/2017 5:17 AM, extrawurst wrote:
the last 2 weeks I jumped on a new toy project: An Alexa Skill
written in D.
Post this to reddit!
Isn't it better someone else does that?
~Stephan
Hello, I minimize the problem to identify the problem:
Here the C version:
#include
int main(){
int c;
while(c != 27){
printf("%d\n", (c = getch()));
}
return 0;
}
And works fine, but the D version below nothing happens when I
hit ESCAPE:
import std.stdio;
extern (C) int
On Sunday, 8 January 2017 at 18:49:50 UTC, Walter Bright wrote:
Please post bug reports to bugzilla.
Here you go: https://issues.dlang.org/show_bug.cgi?id=17077
https://issues.dlang.org/show_bug.cgi?id=17077
Issue ID: 17077
Summary: Unexpected optlink termination
Product: D
Version: D2
Hardware: x86_64
OS: Windows
Status: NEW
Severity: major
Priority: P1
https://issues.dlang.org/show_bug.cgi?id=16994
--- Comment #2 from Martin Nowak ---
Only happens with rdmd's double compilation mode,
https://github.com/dlang/tools/pull/194, which firsts builds object for the
root module, then builds another (single) object for all dependencies.
On Sunday, 8 January 2017 at 19:15:49 UTC, Jerry wrote:
On Sunday, 8 January 2017 at 18:49:50 UTC, Walter Bright wrote:
P.S. Isn't it maddening that Windows doesn't allow copying the
data from a message window?
A bit more maddening that D is still trying to support optlink,
a linker that
On Sunday, 8 January 2017 at 20:11:23 UTC, Brian wrote:
On Friday, 6 January 2017 at 17:48:23 UTC, Eugene Wissner wrote:
On Friday, 6 January 2017 at 17:44:13 UTC, Brian wrote:
I would like to design features, how should I do?
coding:
class User
{
@GenerateProperty
int id;
On Sunday, 8 January 2017 at 19:58:06 UTC, Ignacious wrote:
I suppose it will be easier to install a real ubuntu distro
rather than relying on windows? All these issues seem to be
related to outdated versions?
Distributor ID: Ubuntu
Description:Ubuntu 14.04.5 LTS
Release:14.04
On Friday, 6 January 2017 at 17:48:23 UTC, Eugene Wissner wrote:
On Friday, 6 January 2017 at 17:44:13 UTC, Brian wrote:
I would like to design features, how should I do?
coding:
class User
{
@GenerateProperty
int id;
@GenerateProperty
string name;
}
https://issues.dlang.org/show_bug.cgi?id=17076
Issue ID: 17076
Summary: [scope] compiling identity function template with
-dip1000 causes error
Product: D
Version: D2
Hardware: x86_64
OS: Windows
Yeah, not a good idea to build from source yourself. Try the
advice here, ie see if you can install a package with that
library or just symlink to the older library if not:
http://askubuntu.com/questions/771047/erlang-error-while-loading-shared-libraries-libncursesw-so-6
Well, the only
On Sunday, 8 January 2017 at 18:49:50 UTC, Walter Bright wrote:
P.S. Isn't it maddening that Windows doesn't allow copying the
data from a message window?
A bit more maddening that D is still trying to support optlink, a
linker that hasn't seen a commit in 2 years when it is hardly bug
free.
On Sunday, 8 January 2017 at 18:49:50 UTC, Walter Bright wrote:
P.S. Isn't it maddening that Windows doesn't allow copying the
data from a message window?
Not really, because you can, Ctrl+C...
On Sunday, 8 January 2017 at 18:49:50 UTC, Walter Bright wrote:
On 1/8/2017 6:15 AM, pineapple wrote:
I'm working on my dumb library and I have run into a case
where when I add this
line to a module, I get an optlink error attempting to compile
it:
unittest{}
The module compiles fine
https://issues.dlang.org/show_bug.cgi?id=17075
Issue ID: 17075
Summary: ctRegex BacktrackingMatcher.prevStack: free(): invalid
pointer
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status: NEW
On 1/7/2017 5:17 AM, extrawurst wrote:
the last 2 weeks I jumped on a new toy project: An Alexa Skill written in D.
Post this to reddit!
On 1/8/2017 6:15 AM, pineapple wrote:
I'm working on my dumb library and I have run into a case where when I add this
line to a module, I get an optlink error attempting to compile it:
unittest{}
The module compiles fine without it. So do the modules which depend on it.
But with that
On Sunday, 8 January 2017 at 16:22:09 UTC, docandrew wrote:
On Saturday, 7 January 2017 at 13:17:35 UTC, extrawurst wrote:
Hi guys,
the last 2 weeks I jumped on a new toy project: An Alexa Skill
written in D.
It is a skill that allows me to voice control my TV receiver
with commands like:
https://issues.dlang.org/show_bug.cgi?id=17074
Iain Buclaw changed:
What|Removed |Added
CC||ibuc...@gdcproject.org
https://issues.dlang.org/show_bug.cgi?id=17074
Issue ID: 17074
Summary: extern(C++, keyword) crashes compiler
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: regression
On Saturday, 7 January 2017 at 13:17:35 UTC, extrawurst wrote:
Hi guys,
the last 2 weeks I jumped on a new toy project: An Alexa Skill
written in D.
It is a skill that allows me to voice control my TV receiver
with commands like:
Alexa, ask Telly to go to standby
Alexa, ask Telly what is
On Sunday, 8 January 2017 at 10:03:50 UTC, Ivan Kazmenko wrote:
On Sunday, 8 January 2017 at 09:22:12 UTC, collerblade wrote:
[...]
1. If you want the member variable to change, naturally, you
should provide a getter property which returns a reference to
that variable:
[...]
yes i tried
https://issues.dlang.org/show_bug.cgi?id=16994
Martin Nowak changed:
What|Removed |Added
CC||c...@dawg.eu
On Wednesday, 4 January 2017 at 19:22:33 UTC, Andrei Alexandrescu
wrote:
We release a brief Vision document summarizing the main goals
we plan to pursue in the coming six months. This half we are
focusing on three things: safety, lifetime management, and
static introspection.
https://issues.dlang.org/show_bug.cgi?id=16680
Rainer Schuetze changed:
What|Removed |Added
Keywords||pull
On Sunday, 8 January 2017 at 17:14:13 UTC, pineapple wrote:
On Sunday, 8 January 2017 at 14:42:57 UTC, pineapple wrote:
After deciding to let my inability to add some unit tests to
that module I started working on some other code in the same
project. At this point it seems completely arbitrary
On Sunday, 8 January 2017 at 17:14:13 UTC, pineapple wrote:
On Sunday, 8 January 2017 at 14:42:57 UTC, pineapple wrote:
After deciding to let my inability to add some unit tests to
that module I started working on some other code in the same
project. At this point it seems completely arbitrary
On Saturday, 7 January 2017 at 19:55:30 UTC, Martin Nowak wrote:
On 01/05/2017 11:00 AM, Basile B. wrote:
I don't known what did you decide in intern but when the
discussion
between users was hot (just after version 2.071.1 I think)
I've proposed
that:
On Sunday, 8 January 2017 at 14:42:57 UTC, pineapple wrote:
After deciding to let my inability to add some unit tests to
that module I started working on some other code in the same
project. At this point it seems completely arbitrary which
lines produce optlink errors. Since the `unittest{}`
On Sunday, 8 January 2017 at 09:18:19 UTC, Suliman wrote:
Simply picking a worker thread + worker fiber when task is
assigned and sticking to it until finished should work good
enough. It is also important to note though that "fiber" is
not the same as "task". Former is execution context
On Saturday, 7 January 2017 at 13:17:35 UTC, extrawurst wrote:
Hi guys,
the last 2 weeks I jumped on a new toy project: An Alexa Skill
written in D.
It is a skill that allows me to voice control my TV receiver
with commands like:
Alexa, ask Telly to go to standby
Alexa, ask Telly what is
https://issues.dlang.org/show_bug.cgi?id=17059
Martin Nowak changed:
What|Removed |Added
Summary|[REG 2.072.2] Possible case |[REG 2.072.2] incorrect
On Saturday, 7 January 2017 at 13:52:12 UTC, Benjiro wrote:
On Saturday, 7 January 2017 at 13:22:02 UTC, rikki cattermole
wrote:
Btw, I based this mostly off the number of newbies coming on
to IRC. There has been quite a large number :) At least
compared to the rest of the yar.
Interesting.
On Sunday, 8 January 2017 at 14:15:26 UTC, pineapple wrote:
I'm working on my dumb library and I have run into a case where
when I add this line to a module, I get an optlink error
attempting to compile it:
unittest{}
After deciding to let my inability to add some unit tests to that
I'm working on my dumb library and I have run into a case where
when I add this line to a module, I get an optlink error
attempting to compile it:
unittest{}
The module compiles fine without it. So do the modules which
depend on it.
But with that line? optlink errors everywhere.
A
On Saturday, 7 January 2017 at 22:55:55 UTC, Joseph Rushton
Wakeling wrote:
I should probably also create a formal issue for this. Any
thoughts on how best to break it down into a minimal example?
It does not appear easy to do so at first glance :-\
Turned out to be easier than I
On Sunday, 8 January 2017 at 13:16:29 UTC, Joseph Rushton
Wakeling wrote:
I'm asking for eyes on the problem because reducing it to a
minimal example appears non-trivial, while the bug itself looks
serious beyond its effect on this PR.
I underestimated myself :-P Minimal example is as
On Sun, 08 Jan 2017 09:18:19 +, Suliman wrote:
>> Simply picking a worker thread + worker fiber when task is assigned and
>> sticking to it until finished should work good enough. It is also
>> important to note though that "fiber" is not the same as "task". Former
>> is execution context
On Sunday, 8 January 2017 at 02:51:51 UTC, Andrei Alexandrescu
wrote:
This indicates a compiler bug in dmd itself, so the best
outcome for this library work would be a reduced compiler bug +
a simple library workaround. -- Andrei
Yes, that much is clear -- sorry if I wasn't clear enough
https://issues.dlang.org/show_bug.cgi?id=12116
--- Comment #7 from Timothee Cour ---
For windows:
> Please do not forget about Windows - how would you propose handling `dmd -c
-od=mydir -op C:\bla.d D:\bla.d` then? ;)
=> creates:
mydir/C/bla.o
mydir/D/bla.o
but
https://issues.dlang.org/show_bug.cgi?id=17027
b2.t...@gmx.com changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://issues.dlang.org/show_bug.cgi?id=17072
Issue ID: 17072
Summary: [REG 2.073.0-b1] missing symbols with -inline
Product: D
Version: D2
Hardware: x86_64
OS: Windows
Status: NEW
Severity: regression
https://issues.dlang.org/show_bug.cgi?id=12116
--- Comment #6 from ki...@gmx.net ---
(In reply to Timothee Cour from comment #5)
> * dmd -od=mydir -op /absolute_path/fun.d should write to:
> mydir/absolute_path/fun.o (eg: -od=/tmp/ => /tmp/absolute_path/fun.o)
>
> this behavior is useful when
On Saturday, 7 January 2017 at 01:06:49 UTC, Stefan Koch wrote:
new CTFE engine or the future my plan for O(N log N) templates!
What do you mean?
A performance improvement?
From quadratic?
"The type of concurrency used when logical threads are created is
determined by the Scheduler selected at initialization time. The
default behavior is currently to create a new kernel thread per
call to spawn, but other schedulers are available that multiplex
fibers across the main thread or
On Sunday, 8 January 2017 at 09:22:12 UTC, collerblade wrote:
How can i do opOpAssign with properties??
1. If you want the member variable to change, naturally, you
should provide a getter property which returns a reference to
that variable:
ref Point location() @property {
https://issues.dlang.org/show_bug.cgi?id=17038
--- Comment #1 from Remi Thebault ---
In addition, it should be supported to store the table for both 32 bits and 64
bits.
Currently the Trie.store method outputs D code for the running architecture
only.
64 bits code
On Sunday, 8 January 2017 at 07:52:33 UTC, Elronnd wrote:
I'm working on writing an RSA implementation, but I've run into
a roadblock generating primes. With a more than 9 bits, my
program either hangs for a long time (utilizing %100 CPU!) or
returns a composite number. With 9 or fewer bits,
hello guys,
i would like to have properties with /= *= += -= operators. My
code:
struct Point {
float x=0,y=0;
this(float _x, float _y) {
x=_x;
y=_y;
}
//opassign for +
//opopassign for +=
void opOpAssign(string op=="+")(in Point p) {
x+=p.x;
y+=p.y;
}
}
class
1 - 100 of 102 matches
Mail list logo