https://issues.dlang.org/show_bug.cgi?id=21083
Mathias LANG changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://issues.dlang.org/show_bug.cgi?id=21539
RazvanN changed:
What|Removed |Added
CC||razvan.nitu1...@gmail.com
--- Comment #3 from Razv
https://issues.dlang.org/show_bug.cgi?id=21539
--- Comment #4 from Steven Schveighoffer ---
At first, I thought I had an easy counter-case, but this also doesn't work:
void main()
{
import std.stdio;
.writeln("hello"); // error, no symbol writeln
}
And this case is not a regression (at le
https://issues.dlang.org/show_bug.cgi?id=9889
--- Comment #9 from Dlang Bot ---
@berni44 created dlang/phobos pull request #7757 "Partial replace call to
snprintf for formating floatingpoint numbers for %f and %F" fixing this issue:
- Fix Issue 9889 - Incorrect rounding on floating value formatt
https://issues.dlang.org/show_bug.cgi?id=20371
--- Comment #4 from Dlang Bot ---
@berni44 created dlang/phobos pull request #7757 "Partial replace call to
snprintf for formating floatingpoint numbers for %f and %F" mentioning this
issue:
- Fix partially Issue 20371 - std.format limited to 500 ch
https://issues.dlang.org/show_bug.cgi?id=20320
--- Comment #5 from Dlang Bot ---
@berni44 created dlang/phobos pull request #7757 "Partial replace call to
snprintf for formating floatingpoint numbers for %f and %F" mentioning this
issue:
- Fix partially Issue 20320 - format("%f") leeds to wrong
https://issues.dlang.org/show_bug.cgi?id=21560
Issue ID: 21560
Summary: md5
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status: NEW
Severity: enhancement
Priority: P1
Component: phob
https://issues.dlang.org/show_bug.cgi?id=21560
Witold Baryluk changed:
What|Removed |Added
Summary|md5 |md5 poor performance out of
https://issues.dlang.org/show_bug.cgi?id=21560
--- Comment #2 from Witold Baryluk ---
void main(string[] args) {
import std.digest.md : MD5, toHexString;
import std.digest : LetterCase;
import std.stdio : File, writefln;
foreach (filename; args[1..$]) {
ubyte[32768] buffer_ = void;
https://issues.dlang.org/show_bug.cgi?id=21561
Issue ID: 21561
Summary: Unsafe aliasing of immutable union member allowed in
@safe code
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status: NEW
https://issues.dlang.org/show_bug.cgi?id=21561
Paul Backus changed:
What|Removed |Added
Keywords||safe
--
https://issues.dlang.org/show_bug.cgi?id=21560
--- Comment #3 from Witold Baryluk ---
also openssl 1.1.1i-2 from Debian testing (uses 8kiB buffers):
MD5(/usr/lib/live/mount/overlay/rw/var/lib/docker/devicemapper/devicemapper/data)=
009f07e9b8fb09a820dd180441502d46
real2m18.517s
Similar to m
https://issues.dlang.org/show_bug.cgi?id=21560
--- Comment #4 from Witold Baryluk ---
FYI. Using File(filename).byChunk(32*1024)), to allocate buffer once on a heap,
instead on a stack (which could be unaligned and use big stack offsets, leading
to a bit more poor instruction encodings), leads to
https://issues.dlang.org/show_bug.cgi?id=21561
Chloé changed:
What|Removed |Added
CC||chloe...@use.startmail.com
--- Comment #1 from Chloé
https://issues.dlang.org/show_bug.cgi?id=21560
Basile-z changed:
What|Removed |Added
CC||b2.t...@gmx.com
--- Comment #5 from Basile-z ---
https://issues.dlang.org/show_bug.cgi?id=21560
--- Comment #6 from Chloé ---
Since you have 128 GB memory you could load the entire file into a byte array
and compute the hash from there. Start the timer after loading the entire file.
This should eliminate any potential difference in I/O from the
https://issues.dlang.org/show_bug.cgi?id=21561
Bolpat changed:
What|Removed |Added
CC||qs.il.paperi...@gmail.com
Hardware|x86_64
https://issues.dlang.org/show_bug.cgi?id=21561
--- Comment #2 from Paul Backus ---
Yes, because the data can still be modified by assigning a new value to the
whole union.
---
void oops()
{
U a = { y: 0 };
U b = { x: 1 };
assert(a.y == 0);
a = b;
assert(a.y == 1);
}
---
Stri
https://issues.dlang.org/show_bug.cgi?id=21562
Bolpat changed:
What|Removed |Added
CC||qs.il.paperi...@gmail.com
--
https://issues.dlang.org/show_bug.cgi?id=21562
Issue ID: 21562
Summary: Allow mixin template declarations without parentheses
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: enhancement
https://issues.dlang.org/show_bug.cgi?id=21562
Mathias LANG changed:
What|Removed |Added
CC||pro.mathias.l...@gmail.com
--- Comment #1 fro
https://issues.dlang.org/show_bug.cgi?id=21563
Issue ID: 21563
Summary: Make shadowing mixin template names an error
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: enhancement
P
https://issues.dlang.org/show_bug.cgi?id=12298
Bolpat changed:
What|Removed |Added
CC||qs.il.paperi...@gmail.com
--
https://issues.dlang.org/show_bug.cgi?id=16025
Bolpat changed:
What|Removed |Added
CC||qs.il.paperi...@gmail.com
--
https://issues.dlang.org/show_bug.cgi?id=21564
Issue ID: 21564
Summary: Allow assignment syntax for instantiating mixin
templates
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
https://issues.dlang.org/show_bug.cgi?id=21563
Bolpat changed:
What|Removed |Added
CC||qs.il.paperi...@gmail.com
--
https://issues.dlang.org/show_bug.cgi?id=21564
Bolpat changed:
What|Removed |Added
CC||qs.il.paperi...@gmail.com
--
https://issues.dlang.org/show_bug.cgi?id=21565
Issue ID: 21565
Summary: @safe code allows modification of a scalar that
overlaps with a pointer
Product: D
Version: D2
Hardware: All
OS: All
Status:
https://issues.dlang.org/show_bug.cgi?id=21565
ag0aep6g changed:
What|Removed |Added
CC||ag0ae...@gmail.com
--- Comment #1 from ag0aep6g
https://issues.dlang.org/show_bug.cgi?id=21560
--- Comment #7 from Witold Baryluk ---
(In reply to Basile-z from comment #5)
> using ldc2 too ? there are option to enable best vectorization and bit op
Quite a bit better with ldc2 (1.24.0 with LLVM 11.0.0, -release -mcpu=native
-O3):
009f07e9b8f
https://issues.dlang.org/show_bug.cgi?id=21560
--- Comment #8 from Witold Baryluk ---
BTW. When using precompiled dmd and phobos, from dmd 2.095 from dlang.org. It
is really really slow:
dmd -O -inline -release -mcpu=avx2 -boundscheck=off md5.d
009f07e9b8fb09a820dd180441502d46
/usr/lib/live/mo
https://issues.dlang.org/show_bug.cgi?id=21565
Paul Backus changed:
What|Removed |Added
CC||snarwin+bugzi...@gmail.com
--- Comment #2 from
https://issues.dlang.org/show_bug.cgi?id=21566
Issue ID: 21566
Summary: gen_man.d and docs/ missing in source tarball
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status: NEW
Severity: enhancement
https://issues.dlang.org/show_bug.cgi?id=21567
Issue ID: 21567
Summary: build.d install fails, can't find dmd.conf
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status: NEW
Severity: enhancement
https://issues.dlang.org/show_bug.cgi?id=21568
Issue ID: 21568
Summary: druntime posix.mak assumes git tree - fails to build
using just tarball
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Sta
https://issues.dlang.org/show_bug.cgi?id=21565
--- Comment #3 from Steven Schveighoffer ---
A union between a pointer and integer is most definitely unsafe in all
instances. If you never intend to access the int*, in any circumstance, then
why have a union?
If you do intend to access the int *,
https://issues.dlang.org/show_bug.cgi?id=21569
Issue ID: 21569
Summary: Unable to rebuild DMD build using win32.mak - v2.095.0
Product: D
Version: D2
Hardware: x86_64
OS: Windows
Status: NEW
Severity: normal
https://issues.dlang.org/show_bug.cgi?id=21560
--- Comment #9 from Witold Baryluk ---
In-memory tests, on 16384 byte blocks (should fit nicely in caches).
OpenSSL 1.1.1i (gcc-10.2.1 -fPIC -O2 -fstack-protector-strong ... -DOPENSSL_PIC
-DMD5_ASM ...):
833MB/s
standard/optimized (non-asm) C versi
https://issues.dlang.org/show_bug.cgi?id=9902
Jesse Phillips changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://issues.dlang.org/show_bug.cgi?id=21565
--- Comment #4 from Paul Backus ---
Consider the following example:
---
union T { int x; int* y; }
@trusted void example(T t)
{
import std.stdio;
t.x = 123;
writeln(t.x);
t.y = new int;
writeln(t.y);
}
---
This code is memory-
https://issues.dlang.org/show_bug.cgi?id=21539
--- Comment #5 from RazvanN ---
(In reply to Steven Schveighoffer from comment #4)
> If I use:
>
> mixin template T()
> {
>import std.stdio;
>alias X = T.File;
> }
>
> It doesn't work.
>
> I may have to remove all . scope operators in Phob
41 matches
Mail list logo