Re: Facebook is using D in production starting today

2013-10-16 Thread Pedro Rodrigues
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

Re: Matrix creation quiz

2011-04-28 Thread Pedro Rodrigues
of bug that would keep me up at night. Cheers, Pedro Rodrigues

Re: Matrix creation quiz

2011-04-28 Thread Pedro Rodrigues
, but on the other hand it avoids many hard to detected bugs (like this one). Pedro Rodrigues

Re: std.socket is horrible.

2010-08-23 Thread 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);

Re: Self-compilation

2010-08-22 Thread Pedro Rodrigues
There are already projects aiming to write a D compiler in D: http://www.dsource.org/projects/ddmd http://github.com/azizk/dil/ Regards

Re: std.socket is horrible.

2010-08-22 Thread Pedro Rodrigues
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

Re: Unused variables, better as error or warning?

2010-08-20 Thread Pedro Rodrigues
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

Contributing

2010-08-16 Thread Pedro Rodrigues
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