On Fri, Sep 07, 2007 at 05:09:26AM +0000, Walter Bright wrote:=20 =20 =20 =20 =20 =20 Well, to me D has two significant drawbacks to be "ready to use". The first one is that it doesn't has bit-fields. I often deal with bit-fields on structures that have a _lot_ of instances in my program, and the bit-field is chosen for code readability _and_ structure size efficiency. I know you pretend that using masks manually often generates better code. But in my case, speed does not matter _that_ much. I mean it does, but not that this micro-level as access to the bit-field is not my inner-loop. The other second issue I have, is that there is no way to do: import (C) "foo.h" And this is a big no-go (maybe not for git, but as a general issue) because it impedes the use of external libraries with a C interface a _lot_. E.g. I'd really like to use it to use some GNU libc extensions, but I can't because it has too many dependencies (some async getaddrinfo interface, that need me to import all the signal events and so on extensions in the libc, with bitfields, wich send us back to the first point). I also have a third, but non critical issue, I absolutely don't like phobos :) Though I'm obviously free to chose another library. D has definitely many many many real advances over C (like the .init, .size, =2E.. and so on fields, known types, and whatever portability nightmare the C impose us). In fact I like to use D like I code in C, using modules and functions, and very few classes, as few as I can. And even (under- ?) using D like this, it is a real pleasure to work with. I'm really eager to see gdc be more stable. --=20 =C2=B7O=C2=B7 Pierre Habouzit =C2=B7=C2=B7O madcoder@debia= n.org OOO http://www.madism.org
| Arjan van de Ven | [patch] Add basic sanity checks to the syscall execution patch |
| Andi Kleen | [PATCH CPA] [1/28] Shrink __PAGE_KERNEL/__PAGE_KERNEL_EXEC on non PAE kernels |
| Alex Dubov | Re: [2.6.20] tifm_7xx1/mmc not working |
| Jared Hulbert | [PATCH 00/10] AXFS: Advanced XIP filesystem |
git: | |
| Junio C Hamano | More precise tag following |
| walt | git versus CVS (versus bk) |
| Stephen R. van den Berg | RFC: grafts generalised |
| Pierre Habouzit | [PATCH 1/2] Add strbuf_cmp. |
| Richard Stallman | Real men don't attack straw men |
| K K | Re: No Blob without Puffy |
| Stephan A. Rickauer | Re: Net-SNMP segfaults under OpenBSD 4.3 |
| Brian A. Seklecki | sshd_config(5) PermitRootLogin yes |
| Jim Winstead Jr. | Re: Root Disk/Book Disk Compatibility |
| Howard Wei-Hao Pan | [Q] Does Linux work with PCMCIA devices? |
| Curtis Yarvin | Re: Problem with UNCOMPRESS |
| Ross Sponholtz | Re: S3 |
