digitalmars.D - Recent Phobos changes
- Jason House (4/4) Feb 26 2009 There's been a flurry of commits lately. I noticed two strange things:
-
Don
(3/8)
Feb 26 2009
You're missing an intermediate compiler release
. You're seeing stuff... - Jason House (2/11) Feb 26 2009 I'm hoping that pointing out stuff when I see it is helpful because they...
- Don (5/17) Mar 02 2009 Pointing out inconsistencies in naming would be particularly helpful.
- Leandro Lucarella (12/27) Mar 02 2009 Good commit messages can help a lot here. Something like "this commit is
- Don (10/30) Mar 03 2009 But that's not true...
- Walter Bright (4/7) Feb 26 2009 Look earlier in the file, there's a
There's been a flurry of commits lately. I noticed two strange things: 1. Unlike other intrinsics, bswap was not marked nothrow (only pure). This seems odd considering what the function does. 2. The math changes removed a lot of float-based prototypes when adding faster functions. That will cause difficulty for those who use floats. Ignoring speed loss for conversions, this will also require explicit casts. Are these bugs, or am I missing something?
Feb 26 2009
Jason House wrote:There's been a flurry of commits lately. I noticed two strange things: 1. Unlike other intrinsics, bswap was not marked nothrow (only pure). This seems odd considering what the function does. 2. The math changes removed a lot of float-based prototypes when adding faster functions. That will cause difficulty for those who use floats. Ignoring speed loss for conversions, this will also require explicit casts. Are these bugs, or am I missing something?You're missing an intermediate compiler release <g>. You're seeing stuff in a peculiar intermediate state. Yes, there are weird bugs.
Feb 26 2009
Don Wrote:Jason House wrote:I'm hoping that pointing out stuff when I see it is helpful because they could get missed. I don't know of the proper way to point out things or if I should just stay silent on the sidelines...There's been a flurry of commits lately. I noticed two strange things: 1. Unlike other intrinsics, bswap was not marked nothrow (only pure). This seems odd considering what the function does. 2. The math changes removed a lot of float-based prototypes when adding faster functions. That will cause difficulty for those who use floats. Ignoring speed loss for conversions, this will also require explicit casts. Are these bugs, or am I missing something?You're missing an intermediate compiler release <g>. You're seeing stuff in a peculiar intermediate state. Yes, there are weird bugs.
Feb 26 2009
Jason House wrote:Don Wrote:Pointing out inconsistencies in naming would be particularly helpful. Also aspects of design or nomenclature which are confusing. Bugs on non-released code are not usually useful. Bugs on released code should go into Bugzilla.Jason House wrote:I'm hoping that pointing out stuff when I see it is helpful because they could get missed. I don't know of the proper way to point out things or if I should just stay silent on the sidelines...There's been a flurry of commits lately. I noticed two strange things: 1. Unlike other intrinsics, bswap was not marked nothrow (only pure). This seems odd considering what the function does. 2. The math changes removed a lot of float-based prototypes when adding faster functions. That will cause difficulty for those who use floats. Ignoring speed loss for conversions, this will also require explicit casts. Are these bugs, or am I missing something?You're missing an intermediate compiler release <g>. You're seeing stuff in a peculiar intermediate state. Yes, there are weird bugs.
Mar 02 2009
Jason House, el 26 de febrero a las 12:13 me escribiste:Don Wrote:Good commit messages can help a lot here. Something like "this commit is incomplete because float stuff is missing but this will be added in the future" could help people who like to review the code to know if missing stuff is intentional or an error/omission. -- Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar/blog/ ---------------------------------------------------------------------------- GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05) ---------------------------------------------------------------------------- CAYO HUGO CONZI --- TENIA PUESTA PELUCA -- Crónica TVJason House wrote:I'm hoping that pointing out stuff when I see it is helpful because they could get missed. I don't know of the proper way to point out things or if I should just stay silent on the sidelines...There's been a flurry of commits lately. I noticed two strange things: 1. Unlike other intrinsics, bswap was not marked nothrow (only pure). This seems odd considering what the function does. 2. The math changes removed a lot of float-based prototypes when adding faster functions. That will cause difficulty for those who use floats. Ignoring speed loss for conversions, this will also require explicit casts. Are these bugs, or am I missing something?You're missing an intermediate compiler release <g>. You're seeing stuff in a peculiar intermediate state. Yes, there are weird bugs.
Mar 02 2009
Leandro Lucarella wrote:Jason House, el 26 de febrero a las 12:13 me escribiste:But that's not true... I gave the wrong impression, neither of the things which were reported were bugs. The float stuff has never been present on D1. There are no speed impacts, and no casts are required. The reported bug is false. The only consequence of the float stuff was if you're using 'auto' heavily, and even then, it's doubtful that float overloads are actually helpful. The point I was trying to make was that (unlike all other dsource projects), you don't necessarily know which compiler is being used. It makes reviewing the code pretty difficult! Don't be alarmed.Don Wrote:Good commit messages can help a lot here. Something like "this commit is incomplete because float stuff is missing but this will be added in the future" could help people who like to review the code to know if missing stuff is intentional or an error/omission.Jason House wrote:I'm hoping that pointing out stuff when I see it is helpful because they could get missed. I don't know of the proper way to point out things or if I should just stay silent on the sidelines...There's been a flurry of commits lately. I noticed two strange things: 1. Unlike other intrinsics, bswap was not marked nothrow (only pure). This seems odd considering what the function does. 2. The math changes removed a lot of float-based prototypes when adding faster functions. That will cause difficulty for those who use floats. Ignoring speed loss for conversions, this will also require explicit casts. Are these bugs, or am I missing something?You're missing an intermediate compiler release <g>. You're seeing stuff in a peculiar intermediate state. Yes, there are weird bugs.
Mar 03 2009
Jason House wrote:There's been a flurry of commits lately. I noticed two strange things: 1. Unlike other intrinsics, bswap was not marked nothrow (only pure). This seems odd considering what the function does.Look earlier in the file, there's a nothrow: statement, which marks the rest of the file as being nothrow.
Feb 26 2009