On Sunday, 5 April 2015 at 21:23:14 UTC, Dennis Ritchie wrote:
Hi,
Can you please tell how to make map worked correctly. I want to
program published [2, 3, 4, 5, 6].
-
import std.stdio;
import std.algorithm;
string print(string s)
{
return `writeln(` ~ s ~ `);`;
}
void main()
{
https://issues.dlang.org/show_bug.cgi?id=14384
--- Comment #2 from Martin Nowak c...@dawg.eu ---
Sure, the 2 things I named are still valid ideas to speed up the function.
--
On 4/5/2015 7:42 PM, deadalnix wrote:
I don't even this is the way? We have a .ptr property. One cause use it to
disable bound checking.
I can't parse the first and third sentences.
On Monday, 6 April 2015 at 04:46:55 UTC, Vladimir Panteleev wrote:
On Monday, 6 April 2015 at 04:29:22 UTC, deadalnix wrote:
I made some edit to
https://issues.dlang.org/show_bug.cgi?id=14364
Every single time, I get redirect to
https://issues.dlang.org/show_bug.cgi?id=14346 after I make an
On 4/5/2015 7:13 PM, Andrei Alexandrescu wrote:
I've spent the better part of yesterday and today debugging a complex matter
involving pointers, reduced to this:
../dmd/src/dmd -conf= -I../druntime/import -w -dip25 -m64 -O -release -main
-unittest generated/osx/release/64/libphobos2.a
Im still not able to set the cookie. Would it be possible to
provide a few sample lines - to ensure I'm on the right path. I
appreciate any additional help!!
Thanks! Benjamin
On Wednesday, 1 April 2015 at 14:33:55 UTC, Adam D. Ruppe wrote:
There's two ways, you can let curl handle it by
On Monday, 6 April 2015 at 05:16:21 UTC, Walter Bright wrote:
On 4/5/2015 7:42 PM, deadalnix wrote:
I don't even this is the way? We have a .ptr property. One
cause use it to
disable bound checking.
I can't parse the first and third sentences.
WTF did I wrote ?!?
Ok let's make it in
On 04/04/2015 05:12 PM, Kagamin wrote:
I think, leave the seed zero and only provide a function to change it:
extern(C) void _d_setHashSeed(int seed);
Sounds good, accepting patches :).
https://issues.dlang.org/show_bug.cgi?id=14414
On Monday, 6 April 2015 at 02:13:42 UTC, Andrei Alexandrescu
wrote:
I've spent the better part of yesterday and today debugging a
complex matter involving pointers, reduced to this:
../dmd/src/dmd -conf= -I../druntime/import -w -dip25 -m64 -O
-release -main -unittest
On 6/04/2015 6:08 a.m., bitwise wrote:
I'm pretty sure this function here is converting the typeinfo to
a linked list of data that gets outputted to the object file:
..
Scratch that, I think this is what I'm looking for:
I made some edit to https://issues.dlang.org/show_bug.cgi?id=14364
Every single time, I get redirect to
https://issues.dlang.org/show_bug.cgi?id=14346 after I make an
edit.
What is going on here ?
On Wednesday, 1 April 2015 at 13:52:06 UTC, tchaloupka wrote:
C#:
PNG load - 90ms
PNG flip - 10ms
PNG save - 380ms
D using dlib (http://code.dlang.org/packages/dlib):
PNG load - 500ms
PNG flip - 30ms
PNG save - 950ms
D using imageformats
(http://code.dlang.org/packages/imageformats):
PNG load
https://issues.dlang.org/show_bug.cgi?id=14402
--- Comment #1 from Matt Kline mkline.o...@gmail.com ---
I just noticed that if you try to `new` a context-aware class or struct outside
that context, you get a nice compiler warning indicating that you cannot do so.
Can we, via template magic or
I have array of structs sorted by specific field. How can I
perform binary search using this field as a key?
Currently I ended up with this, but it gives error:
struct S
{
int i;
string s;
}
import std.range;
void main(string [] args)
{
S[] structs = [{1,hello}, {2,world}, {3,
https://issues.dlang.org/show_bug.cgi?id=14415
Issue ID: 14415
Summary: globMatch should support recursive matching (**)
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: enhancement
On Sunday, 5 April 2015 at 23:06:27 UTC, FreeSlave wrote:
I have array of structs sorted by specific field. How can I
perform binary search using this field as a key?
Currently I ended up with this, but it gives error:
struct S
{
int i;
string s;
}
import std.range;
void main(string
https://issues.dlang.org/show_bug.cgi?id=13996
Martin Nowak c...@dawg.eu changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
On 6/04/2015 6:31 a.m., Andrei Alexandrescu wrote:
On 4/5/15 10:48 AM, Gary Willoughby wrote:
In the 2015H1 vision document[1] it states the following:
quote
*Foster additions to the standard library and third-party libraries*
We prefer adding new components to the standard library over
https://issues.dlang.org/show_bug.cgi?id=14364
deadalnix deadal...@gmail.com changed:
What|Removed |Added
Summary|DMD should compile |Spec is incorrect for
https://issues.dlang.org/show_bug.cgi?id=14364
--- Comment #9 from deadalnix deadal...@gmail.com ---
Update :
It turns out DMD has the intended behavior. However, the spec need to be fixed.
a += b do not decay as a = cast(typeof(a)) (a + b) but as :
((ref i, auto ref j) = i = cast(typeof(i))
https://issues.dlang.org/show_bug.cgi?id=14364
deadalnix deadal...@gmail.com changed:
What|Removed |Added
Component|DMD |websites
--
On Sunday, 5 April 2015 at 23:55:15 UTC, Benjamin wrote:
Im still not able to set the cookie. Would it be possible to
provide a few sample lines - to ensure I'm on the right path.
I appreciate any additional help!!
Thanks! Benjamin
This should work:
auto cookiesFile = cookies.txt;
auto
On 5 April 2015 at 21:37, Benjamin Thaut via Digitalmars-d
digitalmars-d@puremagic.com wrote:
On Sunday, 5 April 2015 at 18:30:16 UTC, Andrei Alexandrescu wrote:
On 4/5/15 10:32 AM, Benjamin Thaut wrote:
Am 03.04.2015 00:44, schrieb Andrei Alexandrescu:
switching to ddmd, hopefully with
On Sunday, 5 April 2015 at 21:28:27 UTC, Gary Willoughby wrote:
Post incrementing t is not storing the increments value.
http://ideone.com/1gGnvP
Thanks.
I've spent the better part of yesterday and today debugging a complex
matter involving pointers, reduced to this:
../dmd/src/dmd -conf= -I../druntime/import -w -dip25 -m64 -O -release
-main -unittest generated/osx/release/64/libphobos2.a -defaultlib=
-debuglib= -L-lcurl -run
Benjamin Thaut wrote in message
news:nkhhmscwnjcrdbihk...@forum.dlang.org...
Daniel, any thoughts? Can we help with tooling? -- Andrei
Shouldn't it be possible to tag the last C++ version of dmd? Then rebase
the pull-reuqest on top of that and run it through the C++ to D conversion
tool.
https://issues.dlang.org/show_bug.cgi?id=14416
Andrei Alexandrescu and...@erdani.com changed:
What|Removed |Added
Keywords||accepts-invalid
--
https://issues.dlang.org/show_bug.cgi?id=13946
Sönke Ludwig slud...@outerproduct.org changed:
What|Removed |Added
CC|
https://issues.dlang.org/show_bug.cgi?id=14414
Issue ID: 14414
Summary: allow to set hash seed
Product: D
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P1
https://issues.dlang.org/show_bug.cgi?id=12891
--- Comment #8 from Jonathan Dunlap jad...@gmail.com ---
Thanks Martin for the gist sample, I've started to integrate in this branch:
https://github.com/jadbox/druntime/tree/fetchmod
Currently I'm having an issue where a static if check against
On Monday, 6 April 2015 at 04:29:22 UTC, deadalnix wrote:
I made some edit to
https://issues.dlang.org/show_bug.cgi?id=14364
Every single time, I get redirect to
https://issues.dlang.org/show_bug.cgi?id=14346 after I make an
edit.
What is going on here ?
This is the default Bugzilla
https://issues.dlang.org/show_bug.cgi?id=14416
Issue ID: 14416
Summary: .sizeof yields 1 for uninstantiated struct templates
Product: D
Version: D2
Hardware: x86
OS: All
Status: NEW
Severity: normal
On 4/5/15 12:02 PM, bearophile wrote:
Andrei Alexandrescu:
1. Are you wanting a large batteries included standard library a'la
Python[2] or only focused around the aspects mentioned?
Batteries included.
This is a quite significant decision. It has both advantages and
disadvantages. (I
Hi,
Can you please tell how to make map worked correctly. I want to
program published [2, 3, 4, 5, 6].
-
import std.stdio;
import std.algorithm;
string print(string s)
{
return `writeln(` ~ s ~ `);`;
}
void main()
{
auto arr = [1, 2, 3, 4, 5];
On 4/5/2015 10:15 PM, Walter Bright wrote:
A new switch was added, -boundscheck=[on|safeonly|off]. It
took me a while to find it at:
http://dlang.org/dmd-linux.html
because whoever added it didn't realize that the list was alphabetized and stuck
it in there after -map.
On Sunday, 5 April 2015 at 23:15:04 UTC, w0rp wrote:
On Sunday, 5 April 2015 at 23:06:27 UTC, FreeSlave wrote:
I have array of structs sorted by specific field. How can I
perform binary search using this field as a key?
Currently I ended up with this, but it gives error:
struct S
{
int i;
On Monday, 6 April 2015 at 05:15:43 UTC, Walter Bright wrote:
I read the code to figure out what was happening.
At some point, -release was changed so that bounds checking was
turned off for all but @safe code. A new switch was added,
-boundscheck=[on|safeonly|off]. It took me a while to find
On Friday, 3 April 2015 at 17:51:00 UTC, Andrei Alexandrescu
wrote:
On 4/3/15 4:04 AM, Dennis Ritchie wrote:
On Thursday, 2 April 2015 at 22:44:56 UTC, Andrei Alexandrescu
wrote:
It's the end of Q1. Walter and I reviewed our vision
document. We're
staying the course with one important
On Monday, 6 April 2015 at 02:13:42 UTC, Andrei Alexandrescu
wrote:
I've spent the better part of yesterday and today debugging a
complex matter involving pointers, reduced to this:
../dmd/src/dmd -conf= -I../druntime/import -w -dip25 -m64 -O
-release -main -unittest
On Saturday, 4 April 2015 at 21:29:57 UTC, Jacques Müller wrote:
On Saturday, 4 April 2015 at 18:11:32 UTC, ParticlePeter wrote:
Hi, am still searching for the right place to ask library
related questions, and was advised to ask them here.
The dimgui library looks interesting for my projects
https://issues.dlang.org/show_bug.cgi?id=14406
--- Comment #4 from Puneet Goel pun...@coverify.org ---
Thanks Kanji.. Works for me.
--
On Saturday, 4 April 2015 at 20:34:47 UTC, Kapps wrote:
On Saturday, 4 April 2015 at 16:43:45 UTC, ParticlePeter wrote:
Hi,
there is this nice new link to More libraries link, but
there is no place to discuss usage, exchange experiences or
ask questions regarding these libraries ( unless I am
On 4 April 2015 at 22:48, H. S. Teoh via Digitalmars-d
digitalmars-d@puremagic.com wrote:
On Sat, Apr 04, 2015 at 01:10:43PM -0700, Walter Bright via Digitalmars-d
wrote:
On 4/3/2015 9:41 AM, David Nadlinger wrote:
On Friday, 3 April 2015 at 15:07:57 UTC, Andrei Alexandrescu wrote:
On 4/3/15
On 5 April 2015 at 13:49, David Nadlinger via Digitalmars-d
digitalmars-d@puremagic.com wrote:
On Sunday, 5 April 2015 at 01:59:21 UTC, Daniel Murphy wrote:
weaselcat wrote in message news:rspoyryeklgjychqf...@forum.dlang.org...
Out of curiosity, what was the communication level between the
On Sunday, 5 April 2015 at 01:59:21 UTC, Daniel Murphy wrote:
weaselcat wrote in message
news:rspoyryeklgjychqf...@forum.dlang.org...
Out of curiosity, what was the communication level between the
decision to switch to ddmd frontend and the ldc/gdc team?
The ldc and gdc teams have been
On Sunday, 5 April 2015 at 03:16:32 UTC, Andrei Alexandrescu
wrote:
Things are going well with std.allocator. I broke the code into
a package with modules, which makes it quite nice to deal with.
Also I just implemented a simple heterogeneous freelist
allocator akin to the Kernighan-Ritchie
On Saturday, 4 April 2015 at 19:59:46 UTC, Dicebot wrote:
We need solutions that can be reasonably implemented with
existing resources, not perfect solutions. Storing IR in object
files and using custom linker is correct approach for WPO but
it is currently unaffordable.
Works for me with
On Sunday, 5 April 2015 at 11:42:42 UTC, Marco Leise wrote:
On another note when I ran your 'printdirs' it didn't list a
user Fonts or Applications directory. The Applications
directory is ok, but I do have a ~/.fonts/ directory and
/etc/fonts/fonts.conf says:
!-- the following element will be
On Sunday, 5 April 2015 at 09:08:14 UTC, FreeSlave wrote:
And github repo https://github.com/MyLittleRobo/standardpaths
If I understand meaning of PublicShare correctly, it's
CSIDL_COMMON_APPDATA on Windows.
On Sunday, 5 April 2015 at 11:42:42 UTC, Marco Leise wrote:
is this Windows?
return executable_path
That depends on what do you understand by data. Are game's saves
data too? Or content downloaded while playing (server-specific
assets or new levels). In the past it was ok to write configs
https://issues.dlang.org/show_bug.cgi?id=14410
Issue ID: 14410
Summary: core.demangle doesn't handle typeof(null) correctly
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: normal
On Sunday, 5 April 2015 at 12:22:15 UTC, Dicebot wrote:
Unless LDC does some D specific WPO magic I am not aware of
this is not what your original statement was about.
llvm does normal WPO in a sense that compiled code is not opaque.
Erm. Either it is coding style issue or a language issue.
Thanks for the answers!
https://issues.dlang.org/show_bug.cgi?id=14411
Issue ID: 14411
Summary: switch statement: docs/behavior differ
Product: D
Version: D2
Hardware: All
OS: Mac OS X
Status: NEW
Severity: enhancement
https://issues.dlang.org/show_bug.cgi?id=14411
--- Comment #1 from Cody Casterline cody.casterline+dl...@gmail.com ---
Aw. You have to download the example to see it. To save some time:
$ cat switch.d
#!/usr/bin/env rdmd
import std.stdio;
void main()
{
foreach (i; 1..7)
{
Am Sun, 05 Apr 2015 09:08:12 +
schrieb FreeSlave freeslav...@gmail.com:
I wrote small library for getting standard paths (like Pictures,
Music)
Here's dub package http://code.dlang.org/packages/standardpaths
And github repo https://github.com/MyLittleRobo/standardpaths
You can see
On Sunday, 5 April 2015 at 12:17:09 UTC, Kagamin wrote:
On Saturday, 4 April 2015 at 19:59:46 UTC, Dicebot wrote:
We need solutions that can be reasonably implemented with
existing resources, not perfect solutions. Storing IR in
object files and using custom linker is correct approach for
WPO
On Sunday, 5 April 2015 at 03:16:32 UTC, Andrei Alexandrescu
wrote:
Things are going well with std.allocator. I broke the code into
a package with modules, which makes it quite nice to deal with.
Also I just implemented a simple heterogeneous freelist
allocator akin to the Kernighan-Ritchie
On Sunday, 5 April 2015 at 12:35:46 UTC, Kagamin wrote:
On Sunday, 5 April 2015 at 09:08:14 UTC, FreeSlave wrote:
And github repo https://github.com/MyLittleRobo/standardpaths
If I understand meaning of PublicShare correctly, it's
CSIDL_COMMON_APPDATA on Windows.
Although I did not find if
On Sunday, 5 April 2015 at 10:16:10 UTC, Johannes Pfau wrote:
I'll push support for the section attribute in 1~2 hours.
(waiting for the testsuite ;-)
[1]
https://github.com/D-Programming-GDC/GDC/blob/master/libphobos/libdruntime/gcc/attribute.d
I've made a couple of tests and it all works
Instead of opening a new post I announce here the release of the
RC #2. Besides some minor bug fixes and some API changes (mostly
to improve the Event handling) I've added also support for
Joysticks and GameControllers. That should be the last big
changes. If no more bugs appear (and the
On 2015-04-04 21:49, bitwise wrote:
One more question:
Does anyone know why TypeInfo_class.getMembers() was removed? [1]
I found an old post saying that it never worked and returned an empty
array, so that is most likely the answer
Yes.
but although getMembers was
removed, Walter seems to
On Sunday, 5 April 2015 at 05:04:52 UTC, H. S. Teoh wrote:
On Sat, Apr 04, 2015 at 04:31:06PM -0700, Walter Bright via
Digitalmars-d wrote:
On 4/4/2015 1:48 PM, H. S. Teoh via Digitalmars-d wrote:
Besides, even if you could, you're just one person, whereas
gdc/ldc
have a much larger number of
On Sunday, 5 April 2015 at 05:10:21 UTC, weaselcat wrote:
On Sunday, 5 April 2015 at 02:23:47 UTC, MarisaLovesUsAll wrote:
Hi!
Today I met one guy on the internet, he said that he will use
D only if standard library will not require Garbage Collector
(in case of total GC disabling).
So
On 2015-04-04 18:16, bitwise wrote:
Ok, I think I understand what you're suggesting now, which is that you
want a library to be able to override RTInfo in order to add it's own
metadata to all types, which raises the question, what if more than one
library wants to add metadata? And I think
On Friday, 3 April 2015 at 16:46:08 UTC, Dennis Ritchie wrote:
Hi,
Is it possible to write on D recursion using std.variant?
Using Algebraic from std.variant and some additional templates:
http://dpaste.dzfl.pl/65afd3a7ce52
(taken from this thread:
On Sunday, 5 April 2015 at 10:16:10 UTC, Johannes Pfau wrote:
On 4/04/2015 3:08 a.m., Jens Bauer wrote:
It's possible to use gcc.attribute with custom mini-runtimes.
You need the gcc/attribute.d file but you can simply copy/paste
it from
druntime[1], there are no dependencies.
After
Am Sat, 04 Apr 2015 10:38:44 +
schrieb Jens Bauer doc...@who.no:
On Saturday, 4 April 2015 at 02:57:22 UTC, Rikki Cattermole wrote:
On 4/04/2015 3:08 a.m., Jens Bauer wrote:
src/start.d:7:10: error: module attribute is in file
'gcc/attribute.d' which cannot be read
import
On Sunday, 5 April 2015 at 08:08:26 UTC, Kapps wrote:
On Sunday, 5 April 2015 at 05:10:21 UTC, weaselcat wrote:
On Sunday, 5 April 2015 at 02:23:47 UTC, MarisaLovesUsAll
wrote:
Hi!
Today I met one guy on the internet, he said that he will use
D only if standard library will not require
I wrote small library for getting standard paths (like Pictures,
Music)
Here's dub package http://code.dlang.org/packages/standardpaths
And github repo https://github.com/MyLittleRobo/standardpaths
You can see open issues on github. Please, participate in
discussions if you're interested. The
On Saturday, 4 April 2015 at 19:00:01 UTC, Andrei Alexandrescu
wrote:
On 4/4/15 10:38 AM, Nordlöw wrote:
Please also think about how such a builtin feature would
promote
establishment and usage of D from a robustness and
productivity point of
view.
I do think it's a great idea. Sadly I also
On Sat, 04 Apr 2015 01:50:00 +, Jakob Ovrum wrote:
On Friday, 3 April 2015 at 03:58:33 UTC, ketmar wrote:
p.s. i don't think that this is the only problem, though. but i never
read std.regexp source. it's bad, 'cause i want to make it work with
any range, not only with strings. this will
https://issues.dlang.org/show_bug.cgi?id=14411
--- Comment #3 from Cody Casterline cody.casterline+dl...@gmail.com ---
specs says nothing about other cases.
Well, it says that ScopeStatementList must be empty, or be ended [...]. Which
I read to mean there are no other cases. This is to set
https://issues.dlang.org/show_bug.cgi?id=5770
Kenji Hara k.hara...@gmail.com changed:
What|Removed |Added
Keywords||accepts-invalid, pull
---
In the 2015H1 vision document[1] it states the following:
quote
*Foster additions to the standard library and third-party
libraries*
We prefer adding new components to the standard library over
refactorings and reorganizations of those that work (barring bug
fixes). Our vision is to foster a
I'm pretty sure this function here is converting the typeinfo to
a linked list of data that gets outputted to the object file:
..
Scratch that, I think this is what I'm looking for:
https://github.com/D-Programming-Language/dmd/blob/master/src/toobj.c#L308
On Sunday, 5 April 2015 at 16:39:34 UTC, Suliman wrote:
Is it's possible to use Dgame for iOS game developing?
AFAIK iOS LDC now support building iOS Apps.
https://github.com/smolt/ldc-iphone-dev
No. But because I also have no iOS device, I could not test well
in this respect. My next step
On 4/5/15 4:50 AM, Kagamin wrote:
On Sunday, 5 April 2015 at 03:16:32 UTC, Andrei Alexandrescu wrote:
Things are going well with std.allocator. I broke the code into a
package with modules, which makes it quite nice to deal with. Also I
just implemented a simple heterogeneous freelist allocator
On 4/5/15 4:04 AM, Nordlöw wrote:
On Saturday, 4 April 2015 at 19:00:01 UTC, Andrei Alexandrescu wrote:
On 4/4/15 10:38 AM, Nordlöw wrote:
Please also think about how such a builtin feature would promote
establishment and usage of D from a robustness and productivity point of
view.
I do
On 4/5/15 10:32 AM, Benjamin Thaut wrote:
Am 03.04.2015 00:44, schrieb Andrei Alexandrescu:
switching to ddmd, hopefully with 2.068.
Andrei
That sounds nice, I just hope that there is going to be some nice
migration path for people currently working on Pull-Requests for the C++
Version of
On 4/5/15 10:48 AM, Gary Willoughby wrote:
In the 2015H1 vision document[1] it states the following:
quote
*Foster additions to the standard library and third-party libraries*
We prefer adding new components to the standard library over
refactorings and reorganizations of those that work
https://issues.dlang.org/show_bug.cgi?id=13948
Sönke Ludwig slud...@outerproduct.org changed:
What|Removed |Added
Status|NEW |RESOLVED
On 4/4/15 12:56 PM, Dicebot wrote:
Even if you consistently work with the same project it is incredibly
rare to have a changeset contained in a single module. And if there are
at least 5 changed modules (including inter-dependencies) it becomes
long enough already.
That's my experience as
Is it's possible to use Dgame for iOS game developing?
AFAIK iOS LDC now support building iOS Apps.
https://github.com/smolt/ldc-iphone-dev
On Fri, 03 Apr 2015 15:04:38 +, Pierre Krafft wrote:
It seems like I have treaded into something which is outside my
knowledge domain. The malloc is indeed one of the least problems with
that code. The code makes use of completely unsafe code with pointer
casts that are disallowed in CTFE
https://issues.dlang.org/show_bug.cgi?id=14412
Issue ID: 14412
Summary: Include template specializations in DMD's JSON output
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: enhancement
https://issues.dlang.org/show_bug.cgi?id=14411
--- Comment #2 from Ketmar Dark ket...@ketmar.no-ip.org ---
specs says nothing about other cases. turn on compiler warnings and you will
see something like this:
z00.d(25): Warning: switch case fallthrough - use 'goto case;' if intended
z00.d(28):
https://issues.dlang.org/show_bug.cgi?id=14413
Issue ID: 14413
Summary: Spurious newline in ddoc JSON output for multiple
successive line doc comments
Product: D
Version: D2
Hardware: All
OS: All
Am 03.04.2015 00:44, schrieb Andrei Alexandrescu:
switching to ddmd, hopefully with 2.068.
Andrei
That sounds nice, I just hope that there is going to be some nice
migration path for people currently working on Pull-Requests for the C++
Version of dmd. I would prefer to not redo all the
Andrei Alexandrescu:
1. Are you wanting a large batteries included standard
library a'la
Python[2] or only focused around the aspects mentioned?
Batteries included.
This is a quite significant decision. It has both advantages and
disadvantages. (I think Rust has chosen to have a lighter
https://issues.dlang.org/show_bug.cgi?id=14411
--- Comment #4 from Ketmar Dark ket...@ketmar.no-ip.org ---
(In reply to Cody Casterline from comment #3)
specs says nothing about other cases.
Well, it says that ScopeStatementList must be empty, or be ended [...].
Which I read to mean there
On Sunday, 5 April 2015 at 18:30:16 UTC, Andrei Alexandrescu
wrote:
On 4/5/15 10:32 AM, Benjamin Thaut wrote:
Am 03.04.2015 00:44, schrieb Andrei Alexandrescu:
switching to ddmd, hopefully with 2.068.
Andrei
That sounds nice, I just hope that there is going to be some
nice
migration path
On Sunday, 5 April 2015 at 09:48:01 UTC, thedeemon wrote:
On Friday, 3 April 2015 at 16:46:08 UTC, Dennis Ritchie wrote:
Hi,
Is it possible to write on D recursion using std.variant?
Using Algebraic from std.variant and some additional templates:
http://dpaste.dzfl.pl/65afd3a7ce52
(taken
https://issues.dlang.org/show_bug.cgi?id=12891
--- Comment #5 from Martin Nowak c...@dawg.eu ---
(In reply to Jonathan Dunlap from comment #4)
Depending on the size of mod you need to use a smaller register.
static if (V1.sizeof == 1) asm { mov AL, mod; }
static if (V1.sizeof == 2) asm { mov AX,
https://issues.dlang.org/show_bug.cgi?id=12891
--- Comment #6 from Martin Nowak c...@dawg.eu ---
Created attachment 1508
-- https://issues.dlang.org/attachment.cgi?id=1508action=edit
atomic fetch add for x64
Implementation of atomicOp!+= (fetch_add) for X86_64.
--
https://issues.dlang.org/show_bug.cgi?id=12891
--- Comment #7 from Martin Nowak c...@dawg.eu ---
See attachment above or this gist
https://gist.github.com/MartinNowak/5111611ddc476eb49298 for a fetch_add
implementation on X86_64.
--
https://issues.dlang.org/show_bug.cgi?id=13961
Sönke Ludwig slud...@outerproduct.org changed:
What|Removed |Added
CC|
97 matches
Mail list logo