https://d.puremagic.com/issues/show_bug.cgi?id=12242
Walter Bright bugzi...@digitalmars.com changed:
What|Removed |Added
CC|
https://d.puremagic.com/issues/show_bug.cgi?id=12440
Vladimir Panteleev thecybersha...@gmail.com changed:
What|Removed |Added
CC|
https://d.puremagic.com/issues/show_bug.cgi?id=12242
--- Comment #5 from Vladimir Panteleev thecybersha...@gmail.com 2014-03-23
10:33:53 EET ---
This is a compiler bug because this program doesn't compile (as is expected):
/// test.d //
import std.algorithm;
void main()
{
af
https://d.puremagic.com/issues/show_bug.cgi?id=12432
--- Comment #2 from github-bugzi...@puremagic.com 2014-03-23 01:55:57 PDT ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd
https://d.puremagic.com/issues/show_bug.cgi?id=12442
Summary: inefficient code with scope(exit)
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Keywords: performance
Severity: normal
https://d.puremagic.com/issues/show_bug.cgi?id=12442
--- Comment #1 from Rainer Schuetze r.sagita...@gmx.de 2014-03-23 02:01:32
PDT ---
The same happens with RAII:
struct SCount
{
this(bool) nothrow { recurse++; }
~this() nothrow { recurse--; }
}
uint wrapper_raii() nothrow
{
https://d.puremagic.com/issues/show_bug.cgi?id=12440
--- Comment #3 from bearophile_h...@eml.cc 2014-03-23 02:22:51 PDT ---
(In reply to comment #2)
Can we have rdmd specify this flag by default, since it is passing all
included
files to the compiler?
A whole-program class hierarchy
https://d.puremagic.com/issues/show_bug.cgi?id=12440
Marco Leise marco.le...@gmx.de changed:
What|Removed |Added
CC||marco.le...@gmx.de
https://d.puremagic.com/issues/show_bug.cgi?id=12440
--- Comment #5 from Vladimir Panteleev thecybersha...@gmail.com 2014-03-23
11:28:43 EET ---
With the current state of D shared libraries, how many of those do we have
anyway?
If a change improves performance for 99% of code and breaks 1%, I
https://d.puremagic.com/issues/show_bug.cgi?id=12316
--- Comment #3 from github-bugzi...@puremagic.com 2014-03-23 02:34:47 PDT ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd
https://d.puremagic.com/issues/show_bug.cgi?id=11461
--- Comment #14 from Rainer Schuetze r.sagita...@gmx.de 2014-03-23 02:32:33
PDT ---
I agree, it seems the better workaround. Clever compilers might notice that the
passed parameter introduces no sideeffects and might infer strong purity,
https://d.puremagic.com/issues/show_bug.cgi?id=12440
--- Comment #6 from Marco Leise marco.le...@gmx.de 2014-03-23 02:48:39 PDT ---
(In reply to comment #5)
With the current state of D shared libraries, how many of those do we have
anyway?
Close to none I guess.
If a change improves
https://d.puremagic.com/issues/show_bug.cgi?id=12432
Andrej Mitrovic andrej.mitrov...@gmail.com changed:
What|Removed |Added
Status|NEW |RESOLVED
https://d.puremagic.com/issues/show_bug.cgi?id=12382
--- Comment #4 from github-bugzi...@puremagic.com 2014-03-23 03:07:19 PDT ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd
https://d.puremagic.com/issues/show_bug.cgi?id=12443
Summary: Allow passing DLLs directly to DMD to avoid the need
for creating import libraries
Product: D
Version: D2
Platform: All
OS/Version: Windows
Status: NEW
https://d.puremagic.com/issues/show_bug.cgi?id=12441
Andrej Mitrovic andrej.mitrov...@gmail.com changed:
What|Removed |Added
CC|
https://d.puremagic.com/issues/show_bug.cgi?id=12443
Vladimir Panteleev thecybersha...@gmail.com changed:
What|Removed |Added
CC|
https://d.puremagic.com/issues/show_bug.cgi?id=12443
--- Comment #2 from Andrej Mitrovic andrej.mitrov...@gmail.com 2014-03-23
03:24:26 PDT ---
(In reply to comment #1)
For the record, Delphi does away with import libraries completely and solves
the DLL problem in the language. E.g.:
https://d.puremagic.com/issues/show_bug.cgi?id=11461
Rainer Schuetze r.sagita...@gmx.de changed:
What|Removed |Added
Keywords||pull
---
https://d.puremagic.com/issues/show_bug.cgi?id=12378
--- Comment #2 from github-bugzi...@puremagic.com 2014-03-23 03:41:20 PDT ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd
https://d.puremagic.com/issues/show_bug.cgi?id=11075
--- Comment #8 from github-bugzi...@puremagic.com 2014-03-23 03:41:11 PDT ---
Commit pushed to master at https://github.com/D-Programming-Language/dmd
https://d.puremagic.com/issues/show_bug.cgi?id=12443
--- Comment #4 from Vladimir Panteleev thecybersha...@gmail.com 2014-03-23
12:44:20 EET ---
It would be simpler if the project is already using some non-trivial build
system. Allowing specifying it in the source code has the same advantage
https://d.puremagic.com/issues/show_bug.cgi?id=12443
--- Comment #3 from Andrej Mitrovic andrej.mitrov...@gmail.com 2014-03-23
03:42:05 PDT ---
(In reply to comment #2)
-
version (Windows) extern(dll, user32.dll)
extern(C) void foo();
void main()
{
foo(); // would fail on
https://d.puremagic.com/issues/show_bug.cgi?id=12443
--- Comment #5 from Andrej Mitrovic andrej.mitrov...@gmail.com 2014-03-23
03:47:16 PDT ---
(In reply to comment #4)
It would be simpler if the project is already using some non-trivial build
system. Allowing specifying it in the source
https://d.puremagic.com/issues/show_bug.cgi?id=12444
Summary: std.array uninitializedArray
minimallyInitializedArray missing APPENDABLE attribute
/ capacity info
Product: D
Version: D2
Platform: All
https://d.puremagic.com/issues/show_bug.cgi?id=9106
--- Comment #12 from Ivan Kazmenko ga...@mail.ru 2014-03-23 04:02:39 PDT ---
(In reply to comment #9)
(In reply to comment #8)
So, for me, the problem reduced to whether randomCover could use a wholly
different, better name. So, how is
https://d.puremagic.com/issues/show_bug.cgi?id=9106
--- Comment #13 from bearophile_h...@eml.cc 2014-03-23 04:09:19 PDT ---
(In reply to comment #12)
No, I didn't see a similar function in other languages. The function itself
seems a bit odd to me, even after I got an explanation of a
https://d.puremagic.com/issues/show_bug.cgi?id=12403
--- Comment #2 from Vladimir Panteleev thecybersha...@gmail.com 2014-03-23
16:38:05 EET ---
I guess it's not related to issue 12316, because the pull that fixed it did not
fix this issue.
--
Configure issuemail:
https://d.puremagic.com/issues/show_bug.cgi?id=9106
--- Comment #14 from Joseph Rushton Wakeling joseph.wakel...@webdrake.net
2014-03-23 07:59:45 PDT ---
(In reply to comment #12)
No, I didn't see a similar function in other languages. The function itself
seems a bit odd to me, even after I
https://d.puremagic.com/issues/show_bug.cgi?id=9106
--- Comment #15 from Ivan Kazmenko ga...@mail.ru 2014-03-23 08:10:27 PDT ---
(In reply to comment #14)
The rationale that I can see for randomCover would be that it ought to provide
a non-destructive (i.e. no in-place shuffling),
https://d.puremagic.com/issues/show_bug.cgi?id=12242
--- Comment #6 from Kenji Hara k.hara...@gmail.com 2014-03-23 08:57:48 PDT ---
(In reply to comment #4)
This is not a compiler bug. It has nothing to do with 314.
The problem is that 'strip' is defined in both std.string and std.algorithm.
https://d.puremagic.com/issues/show_bug.cgi?id=12445
Summary: std.bitmanip.read should have overloads specifying the
count of bytes to read
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
https://d.puremagic.com/issues/show_bug.cgi?id=12445
--- Comment #1 from Andrej Mitrovic andrej.mitrov...@gmail.com 2014-03-23
09:11:51 PDT ---
Sorry, the terminology is wrong. It should say count of elements, not number
of bytes. The function operates on ranges of bytes.
--
Configure
https://d.puremagic.com/issues/show_bug.cgi?id=12442
Andrej Mitrovic andrej.mitrov...@gmail.com changed:
What|Removed |Added
CC|
https://d.puremagic.com/issues/show_bug.cgi?id=9106
--- Comment #16 from Joseph Rushton Wakeling joseph.wakel...@webdrake.net
2014-03-23 11:56:05 PDT ---
(In reply to comment #15)
I don't think a no-allocation version would be possible at all. Consider
having already covered N/2 elements
https://d.puremagic.com/issues/show_bug.cgi?id=12179
yebblies yebbl...@gmail.com changed:
What|Removed |Added
CC||yebbl...@gmail.com
https://d.puremagic.com/issues/show_bug.cgi?id=9106
--- Comment #17 from Ivan Kazmenko ga...@mail.ru 2014-03-23 13:10:11 PDT ---
(In reply to comment #16)
(In reply to comment #15)
I don't think a no-allocation version would be possible at all. Consider
having already covered N/2 elements
https://d.puremagic.com/issues/show_bug.cgi?id=12446
Summary: std.parallelism.amap prefer iteration to indexing
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P2
https://d.puremagic.com/issues/show_bug.cgi?id=12446
--- Comment #1 from safety0ff.bugz safety0ff.b...@gmail.com 2014-03-23
13:54:09 PDT ---
(In reply to comment #0)
This matters when random access is more expensive than iteration.
Iteration, if properly implemented, should always at least
https://d.puremagic.com/issues/show_bug.cgi?id=12446
safety0ff.bugz safety0ff.b...@gmail.com changed:
What|Removed |Added
Keywords||pull
---
https://d.puremagic.com/issues/show_bug.cgi?id=12446
Andrei Alexandrescu and...@erdani.com changed:
What|Removed |Added
CC|
https://d.puremagic.com/issues/show_bug.cgi?id=12446
--- Comment #4 from Andrei Alexandrescu and...@erdani.com 2014-03-23 14:55:56
PDT ---
... But there's always a way to test by measuring :o). Try it on a few typical
ranges. (Typical == cost of random access, if offered, shouldn't be
https://d.puremagic.com/issues/show_bug.cgi?id=12446
--- Comment #5 from safety0ff.bugz safety0ff.b...@gmail.com 2014-03-23
15:26:51 PDT ---
(In reply to comment #4)
... But there's always a way to test by measuring :o). Try it on a few typical
ranges. (Typical == cost of random access, if
https://d.puremagic.com/issues/show_bug.cgi?id=12446
--- Comment #6 from github-bugzi...@puremagic.com 2014-03-23 16:00:39 PDT ---
Commits pushed to master at https://github.com/D-Programming-Language/phobos
https://d.puremagic.com/issues/show_bug.cgi?id=12447
Summary: variadic template functions hijack all eponymous enum
and alias template overloads
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
https://d.puremagic.com/issues/show_bug.cgi?id=12316
Kenji Hara k.hara...@gmail.com changed:
What|Removed |Added
Status|NEW |RESOLVED
https://d.puremagic.com/issues/show_bug.cgi?id=12382
Kenji Hara k.hara...@gmail.com changed:
What|Removed |Added
Status|NEW |RESOLVED
https://d.puremagic.com/issues/show_bug.cgi?id=12378
Kenji Hara k.hara...@gmail.com changed:
What|Removed |Added
Status|NEW |RESOLVED
https://d.puremagic.com/issues/show_bug.cgi?id=9515
Kenji Hara k.hara...@gmail.com changed:
What|Removed |Added
Severity|normal |enhancement
---
https://d.puremagic.com/issues/show_bug.cgi?id=11461
--- Comment #16 from github-bugzi...@puremagic.com 2014-03-23 18:11:42 PDT ---
Commit pushed to master at https://github.com/D-Programming-Language/druntime
https://d.puremagic.com/issues/show_bug.cgi?id=9515
--- Comment #4 from Jonathan M Davis jmdavisp...@gmx.com 2014-03-23 18:28:11
PDT ---
UFCS is not designed to work for local symbols.
It may very well be an enhancement rather than a bug to get it working with
local symbols, but given that
https://d.puremagic.com/issues/show_bug.cgi?id=9515
--- Comment #5 from Kenji Hara k.hara...@gmail.com 2014-03-23 18:45:17 PDT ---
(In reply to comment #4)
UFCS is not designed to work for local symbols.
[snip]
Certainly, I don't know why we wouldn't implement this.
My concern case is:
https://d.puremagic.com/issues/show_bug.cgi?id=12448
--- Comment #1 from bearophile_h...@eml.cc 2014-03-23 20:17:01 PDT ---
To avoid future possible problems with scope, using const string s is also
enough.
--
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
---
https://d.puremagic.com/issues/show_bug.cgi?id=12448
Summary: in argument for std.string.toStringz
Product: D
Version: D2
Platform: x86
OS/Version: Windows
Status: NEW
Severity: enhancement
Priority: P2
https://d.puremagic.com/issues/show_bug.cgi?id=12413
kekeni...@yahoo.co.jp changed:
What|Removed |Added
CC||kekeni...@yahoo.co.jp
---
https://d.puremagic.com/issues/show_bug.cgi?id=12446
safety0ff.bugz safety0ff.b...@gmail.com changed:
What|Removed |Added
Status|NEW |RESOLVED
https://d.puremagic.com/issues/show_bug.cgi?id=12444
safety0ff.bugz safety0ff.b...@gmail.com changed:
What|Removed |Added
Keywords||pull
---
57 matches
Mail list logo