On Saturday, 8 June 2013 at 22:55:20 UTC, Walter Bright wrote:
On 6/8/2013 2:23 PM, bearophile wrote:
- D integer types have guaranteed sizes, but
they're not obvious from the name
- Why not have int8, uint8, int32, uint32, etc. in
default namespace, encourage their use?
I agree. It's hard
Slide 61:
- Be open minded: faster CTFE opens doors
- Generating procedural content at compile time
- If you build it, they will come
There are many applications for compile-time computation, this
small thread discusses about applications of a compile-time
constraint solver:
Am Sun, 9 Jun 2013 01:53:23 +0200
schrieb Andrej Mitrovic andrej.mitrov...@gmail.com:
On 6/9/13, bearophile bearophileh...@lycos.com wrote:
The size of byte is easy, it's 1 byte, but if you ask me a byte
is unsigned. I have learnt to be careful with byte/ubyte in D
You, me, and Don, and
On 09/06/13 14:03, Jonathan M Davis wrote:
If I had been designing the language, I might have gone for int8, uint8,
int16, uint16, etc. (in which case, _all_ of them would have had sizes with no
aliases without - it seems overkill to me to have both), but I also don't
think that it's a big deal
On Sunday, June 09, 2013 15:40:40 Peter Williams wrote:
On 09/06/13 14:03, Jonathan M Davis wrote:
If I had been designing the language, I might have gone for int8, uint8,
int16, uint16, etc. (in which case, _all_ of them would have had sizes
with no aliases without - it seems overkill to
Andrei Alexandrescu:
http://www.reddit.com/r/programming/comments/1fv4zx/dconf_2013_day_2_talk_6_higgs_an_experimental_jit/
A nice talk. Some comments on the slides:
Slide 34:
- If you know C++, you can write D code
- Similar enough, easy adaptation
- Slightly
On 6/8/2013 2:23 PM, bearophile wrote:
- D integer types have guaranteed sizes, but
they're not obvious from the name
- Why not have int8, uint8, int32, uint32, etc. in
default namespace, encourage their use?
I agree. It's hard to guess the size and signedness of types as byte, ubyte,
Walter Bright:
It would only be a trivial problem for 5 minutes, only for
ex-C/C++ programmers who are used to suffering under variable
sized ints, and will never be a problem again.
Is it really a problem to guess the size of 'byte'? Or that
'ubyte' is unsigned? Come on, bearophile!
The
On 6/8/2013 4:08 PM, bearophile wrote:
It took me two or three years to to remember what's the length of dchar and
wchar.
I don't believe that!
New D programmer should not be need to learn such arbitrary naming scheme,
inherited from C++ :-)
It's also seen in other obscure languages like
On Saturday, June 08, 2013 15:55:17 Walter Bright wrote:
On 6/8/2013 2:23 PM, bearophile wrote:
- D integer types have guaranteed sizes, but
they're not obvious from the name
- Why not have int8, uint8, int32, uint32, etc. in
default namespace, encourage their use?
I
Reddit:
http://www.reddit.com/r/programming/comments/1fv4zx/dconf_2013_day_2_talk_6_higgs_an_experimental_jit/
Hackernews: https://news.ycombinator.com/item?id=5839283
Twitter: https://twitter.com/D_Programming/status/343019685744369664
Facebook:
On Friday, 7 June 2013 at 15:05:15 UTC, Andrei Alexandrescu wrote:
Reddit:
http://www.reddit.com/r/programming/comments/1fv4zx/dconf_2013_day_2_talk_6_higgs_an_experimental_jit/
Hackernews: https://news.ycombinator.com/item?id=5839283
Twitter:
On Fri, 07 Jun 2013 11:05:14 -0400
Andrei Alexandrescu seewebsiteforem...@erdani.org wrote:
Reddit:
http://www.reddit.com/r/programming/comments/1fv4zx/dconf_2013_day_2_talk_6_higgs_an_experimental_jit/
Hackernews: https://news.ycombinator.com/item?id=5839283
Twitter:
13 matches
Mail list logo