On Friday, 11 October 2013 at 00:36:12 UTC, Andrei Alexandrescu
wrote:
Today I committed the first 5112 lines of D code to Facebook's
repository. The project is in heavy daily use at Facebook.
Compared to the original version (written in C++) we've
measured massive wins in all of source code
of bug that would keep me up at night.
Cheers,
Pedro Rodrigues
, but on the other hand it avoids many hard to detected bugs
(like this one).
Pedro Rodrigues
Yes, that would most certainly help a lot.
cemiller ch...@dprogramming.com wrote in message
news:op.vhu594gqycw...@christop...
Would the problems be resolved with the following changes?
Add a Socket class constructor:
this(socket_t sock, AddressFamily af)
{
assert(sock != socket_t.init);
There are already projects aiming to write a D compiler in D:
http://www.dsource.org/projects/ddmd
http://github.com/azizk/dil/
Regards
I've run into similar problems and also ended up having to re-implement a
great part of the sockets module. A fix for these issues would be much
welcomed.
Regards
I agree, unused variables should be treated as warnings.
In my opinion, warnings should be employed only in situations where the
compiler detects that the programmer might have made a mistake, but which
are not impeditive of compiling and running the program. Having unused
variables clearly
Hello!
While working on some pet project using D 2.0, I stumbled on a Phobos module
poorly documented (std.date). I had to check the source code to understand
what was going on.
This made me think, I could help the next guy that stumbles on the same
problem, by writing the missing