Very short article with with manual memory management in C++ and D.

2013-02-06 Thread Paulo Pinto
Hi, long time ago I wrote a short article about doing manual memory management from C++. http://www.progtools.org/compilers/tutorials/queue/article.html This was based on a job offer I saw in a games magazine. Eventually I ported the solution to D, while keeping the code as close as

Re: Very short article with with manual memory management in C++ and D.

2013-02-06 Thread MattCoder
On Wednesday, 6 February 2013 at 09:36:32 UTC, Paulo Pinto wrote: Eventually I ported the solution to D, while keeping the code as close as possible to the original C++ version. Paulo, can you tell why you chose to keep the D code much as the same the C++ version?

Re: An article about contract programming

2013-02-06 Thread bearophile
Walter Bright: Invariants, per the spec, [...] Right, I was proposing a little spec change. Don: Sounds like bug 519 to me. http://d.puremagic.com/issues/show_bug.cgi?id=519 Hours ago I have added this: http://d.puremagic.com/issues/show_bug.cgi?id=9454 They are

Re: Very short article with with manual memory management in C++ and D.

2013-02-06 Thread Paulo Pinto
On Wednesday, 6 February 2013 at 10:13:49 UTC, MattCoder wrote: On Wednesday, 6 February 2013 at 09:36:32 UTC, Paulo Pinto wrote: Eventually I ported the solution to D, while keeping the code as close as possible to the original C++ version. Paulo, can you tell why you chose to keep the D

Re: D Language, chained null checks and the Maybe monad - article

2013-02-06 Thread Oleg Kuporosov
On Tuesday, 5 February 2013 at 20:13:51 UTC, Michael wrote: Inspired by. It's noted at top) Yep, but not in English. Michael, it is good code, may be it make sense to add it into std.functional after some refactoring?

Re: Higgs, a JavaScript JIT done in D

2013-02-06 Thread Matthew Caron
On 02/05/2013 09:01 PM, bearophile wrote: Walter Bright: Yeah, autodeclaration is one of those things that gets regularly invented by newbies who think the rest of us are idiots for not having thought of it! Still, I prefer to use Python in many situations, like when I design a new

Re: Higgs, a JavaScript JIT done in D

2013-02-06 Thread Michael
As she noted in its journal, maybe she give a keynote talk at DConf 2013. Additionaly, I think it would be great to take an interview with her.