https://issues.dlang.org/show_bug.cgi?id=14519
--- Comment #13 from Walter Bright bugzi...@digitalmars.com ---
Vladimir, you bring up good points. I'll try to address them. First off, why do
this?
1. much faster
2. string processing can be @nogc and nothrow. If you follow external
discussions
https://issues.dlang.org/show_bug.cgi?id=14521
Issue ID: 14521
Summary: Glossary page needs updating
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P1
https://issues.dlang.org/show_bug.cgi?id=14519
--- Comment #19 from Vladimir Panteleev thecybersha...@gmail.com ---
(In reply to Vladimir Panteleev from comment #16)
(In reply to Walter Bright from comment #15)
It still allocates memory. But it's worth thinking about. Maybe assert()?
Sure.
https://issues.dlang.org/show_bug.cgi?id=14519
Marc Schütz schue...@gmx.net changed:
What|Removed |Added
CC||schue...@gmx.net
--- Comment
https://issues.dlang.org/show_bug.cgi?id=14519
--- Comment #20 from Vladimir Panteleev thecybersha...@gmail.com ---
(In reply to Marc Schütz from comment #18)
Data with other (or unknown) encodings needs to be stored in `ubyte[]`.
Have you tried using ubyte[] to process ASCII text? It's
https://issues.dlang.org/show_bug.cgi?id=14519
--- Comment #15 from Walter Bright bugzi...@digitalmars.com ---
(In reply to Vladimir Panteleev from comment #14)
If I understand correctly, throwing Error instead of Exception will also
solve the performance issues
It still allocates memory. But
https://issues.dlang.org/show_bug.cgi?id=14519
--- Comment #16 from Vladimir Panteleev thecybersha...@gmail.com ---
(In reply to Walter Bright from comment #15)
It still allocates memory. But it's worth thinking about. Maybe assert()?
Sure.
I did not mean Unicode normalization - it was a
https://issues.dlang.org/show_bug.cgi?id=14519
--- Comment #17 from Vladimir Panteleev thecybersha...@gmail.com ---
Let's see if I understand the situation correctly... let's say we have a chain:
str.a.b.c
So, str is a UTF-8 string, and a, b and c are range algorithms (they use
.front/.popFront
https://issues.dlang.org/show_bug.cgi?id=14519
--- Comment #6 from Jonathan M Davis issues.dl...@jmdavisprog.com ---
(In reply to Vladimir Panteleev from comment #4)
Here's a counter-proposal: when encountering invalid UTF-8, instead of
throwing exceptions, throw errors. This will fix the
https://issues.dlang.org/show_bug.cgi?id=14519
--- Comment #7 from Vladimir Panteleev thecybersha...@gmail.com ---
(In reply to Jonathan M Davis from comment #6)
Yikes. That is far worse than throwing Exceptions, since it would kill your
program, and it's indicative of a bug in the program
https://issues.dlang.org/show_bug.cgi?id=14519
--- Comment #9 from Jonathan M Davis issues.dl...@jmdavisprog.com ---
Most string-based functions work perfectly well with invalid Unicode. Does find
care? Does startsWith? Does filter? The replacement character simply won't
match what you're looking
https://issues.dlang.org/show_bug.cgi?id=14519
--- Comment #5 from Sobirari Muhomori dfj1es...@sneakemail.com ---
Or provide a global override similar to assertHandler.
--
https://issues.dlang.org/show_bug.cgi?id=14519
--- Comment #10 from Vladimir Panteleev thecybersha...@gmail.com ---
OK, I see from your post that you don't see many of the problems with the
replacement character. Let me show you some example problematic situations:
1.
Bob wants to update his
https://issues.dlang.org/show_bug.cgi?id=14519
bearophile_h...@eml.cc changed:
What|Removed |Added
CC||bearophile_h...@eml.cc
--- Comment
https://issues.dlang.org/show_bug.cgi?id=14519
Jonathan M Davis issues.dl...@jmdavisprog.com changed:
What|Removed |Added
CC|
https://issues.dlang.org/show_bug.cgi?id=14519
--- Comment #4 from Vladimir Panteleev thecybersha...@gmail.com ---
Here's a counter-proposal: when encountering invalid UTF-8, instead of throwing
exceptions, throw errors. This will fix the nothrow and performance problems,
and will avoid the risk
https://issues.dlang.org/show_bug.cgi?id=14519
--- Comment #3 from Vladimir Panteleev thecybersha...@gmail.com ---
it's hugely annoying when you need to actually process invalid unicode
Yeah, and it'll me a lot more than just annoying when you discover too late
that your data's been
https://issues.dlang.org/show_bug.cgi?id=14522
Issue ID: 14522
Summary: Postfix array declaration examples should be removed
from arrays.html
Product: D
Version: D2
Hardware: All
OS: All
Status:
https://issues.dlang.org/show_bug.cgi?id=14328
Gary Willoughby d...@nomad.so changed:
What|Removed |Added
Keywords||pull
CC|
https://issues.dlang.org/show_bug.cgi?id=14522
Vladimir Panteleev thecybersha...@gmail.com changed:
What|Removed |Added
CC|
https://issues.dlang.org/show_bug.cgi?id=14519
--- Comment #14 from Vladimir Panteleev thecybersha...@gmail.com ---
(In reply to Walter Bright from comment #13)
Vladimir, you bring up good points. I'll try to address them. First off, why
do this?
1. much faster
If I understand correctly,
https://issues.dlang.org/show_bug.cgi?id=14519
--- Comment #11 from Walter Bright bugzi...@digitalmars.com ---
https://github.com/D-Programming-Language/druntime/pull/1240
--
https://issues.dlang.org/show_bug.cgi?id=14519
--- Comment #12 from Walter Bright bugzi...@digitalmars.com ---
(In reply to bearophile_hugs from comment #8)
Another solution is to deprecate foreach iteration on strings, and require
something like foreach(c; mystring.byCharThrowing) and similar
https://issues.dlang.org/show_bug.cgi?id=14470
Walter Bright bugzi...@digitalmars.com changed:
What|Removed |Added
CC|
https://issues.dlang.org/show_bug.cgi?id=14277
--- Comment #4 from Ketmar Dark ket...@ketmar.no-ip.org ---
this also ruing things like `typeof(smth).stringof[$-2..$] == []` for
example. so it's unusable.
--
https://issues.dlang.org/show_bug.cgi?id=14519
--- Comment #21 from Sobirari Muhomori dfj1es...@sneakemail.com ---
(In reply to Vladimir Panteleev from comment #16)
Global opt-in for foreach is not feasible.
I agree - some libraries will expect one thing, and others another.
Libraries don't
https://issues.dlang.org/show_bug.cgi?id=14497
Rainer Schuetze r.sagita...@gmx.de changed:
What|Removed |Added
CC||r.sagita...@gmx.de
---
https://issues.dlang.org/show_bug.cgi?id=14524
Issue ID: 14524
Summary: Right clicking in solution explorer to add folders
does not work as expected
Product: D
Version: D2
Hardware: x86_64
OS: Windows
https://issues.dlang.org/show_bug.cgi?id=14523
Issue ID: 14523
Summary: New Windows Application uses incorrect
initialization/termination code
Product: D
Version: D2
Hardware: x86_64
OS: Windows
https://issues.dlang.org/show_bug.cgi?id=14519
--- Comment #22 from Marc Schütz schue...@gmx.net ---
(In reply to Vladimir Panteleev from comment #20)
(In reply to Marc Schütz from comment #18)
Data with other (or unknown) encodings needs to be stored in `ubyte[]`.
Have you tried using
https://issues.dlang.org/show_bug.cgi?id=14215
Joakim db...@joakim.fea.st changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://issues.dlang.org/show_bug.cgi?id=14525
Issue ID: 14525
Summary: Cannot access help information from getopt if a
required parameter is not given
Product: D
Version: D2
Hardware: All
OS: All
https://issues.dlang.org/show_bug.cgi?id=14497
--- Comment #2 from Manu turkey...@gmail.com ---
Yeah, requiring that the program link is annoying, and if the program is big
(mine are), then the build times can get long, and iteration is slow.
Short of source, at very least, there needs to be
https://issues.dlang.org/show_bug.cgi?id=14526
Issue ID: 14526
Summary: GetOptException DDOC needs cleanup
Product: D
Version: D2
Hardware: All
URL: http://dlang.org/phobos/std_getopt.html#.GetOptExcepti
on
https://issues.dlang.org/show_bug.cgi?id=13440
Gary Willoughby d...@nomad.so changed:
What|Removed |Added
CC||d...@nomad.so
--- Comment #1
https://issues.dlang.org/show_bug.cgi?id=12803
Gary Willoughby d...@nomad.so changed:
What|Removed |Added
Keywords||pull
CC|
https://issues.dlang.org/show_bug.cgi?id=14473
--- Comment #1 from Gary Willoughby d...@nomad.so ---
Discussion regarding this issue:
http://forum.dlang.org/thread/fmgylnkatvuuoeosc...@forum.dlang.org
--
https://issues.dlang.org/show_bug.cgi?id=13867
nick nicolas.jincher...@gmail.com changed:
What|Removed |Added
Severity|enhancement |normal
--
https://issues.dlang.org/show_bug.cgi?id=13433
--- Comment #14 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/D-Programming-Language/druntime
https://github.com/D-Programming-Language/druntime/commit/8e29e0621b074a8d368b4d7d344281adb7a91e54
Add ClockType
https://issues.dlang.org/show_bug.cgi?id=14520
Vladimir Panteleev thecybersha...@gmail.com changed:
What|Removed |Added
Keywords||rejects-valid
https://issues.dlang.org/show_bug.cgi?id=13374
Vladimir Panteleev thecybersha...@gmail.com changed:
What|Removed |Added
See Also|
https://issues.dlang.org/show_bug.cgi?id=14520
Vladimir Panteleev thecybersha...@gmail.com changed:
What|Removed |Added
See Also|
https://issues.dlang.org/show_bug.cgi?id=14527
Issue ID: 14527
Summary: [Enh] Instrument calls to operator new with
-profilenew compiler switch
Product: D
Version: D2
Hardware: All
OS: All
Status:
https://issues.dlang.org/show_bug.cgi?id=14528
Issue ID: 14528
Summary: GIT HEAD: can't pass protected member to template by
alias
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
https://issues.dlang.org/show_bug.cgi?id=12803
github-bugzi...@puremagic.com changed:
What|Removed |Added
Status|NEW |RESOLVED
https://issues.dlang.org/show_bug.cgi?id=12803
--- Comment #2 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/D-Programming-Language/dlang.org
https://github.com/D-Programming-Language/dlang.org/commit/884f46101ea0cdb611cc3c5c43a1961202818980
Fix issue 12803
https://issues.dlang.org/show_bug.cgi?id=14529
Issue ID: 14529
Summary: Bug in Regex insensitive match
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status: NEW
Severity: major
Priority: P1
47 matches
Mail list logo