Re: D/Objective-C 64bit

2014-11-01 Thread Jacob Carlborg via Digitalmars-d-announce
On 2014-11-01 01:54, Michel Fortin wrote: I can't remember if this is an oversight or just something that I hadn't got to yet. In my mind this was already done. I did a grep for dealloc and couldn't find anything related. Anyway, the answer is *yes*: the destructor should be mapped to the

Re: D/Objective-C 64bit

2014-11-01 Thread Jacob Carlborg via Digitalmars-d-announce
On 2014-11-01 01:58, Michel Fortin wrote: That said, there are other parts of D/Objective-C that could pose difficulties to existing languages tools, some syntactic (__selector, or this.class to get the metaclass) this.class could perhaps be called this.classof, at least that's valid syntax.

TDPL is Deal of the Day at informit.com!

2014-11-01 Thread Kai Nacke via Digitalmars-d-announce
If you still need a copy of Andrei's great book: http://www.informit.com/deals/ Regards, Kai

Re: Endovena: a dependency injection framework.

2014-11-01 Thread JN via Digitalmars-d-announce
I may be ignorant, can someone explain what's the difference between: Container container; container.register!(IGreeter, Greeter); auto greeter = container.get!IGreeter(); writefln(greeter.greet) and auto greeter = new Greeter(); writefln(greeter.greet) ?

Re: Endovena: a dependency injection framework.

2014-11-01 Thread Gary Willoughby via Digitalmars-d-announce
On Saturday, 1 November 2014 at 16:36:02 UTC, JN wrote: I may be ignorant, can someone explain what's the difference between: Container container; container.register!(IGreeter, Greeter); auto greeter = container.get!IGreeter(); writefln(greeter.greet) and auto greeter = new Greeter();

Re: Endovena: a dependency injection framework.

2014-11-01 Thread JN via Digitalmars-d-announce
On Saturday, 1 November 2014 at 18:54:04 UTC, Gary Willoughby wrote: It's the fundamental way dependency injection containers are used. Instead of having complex dependencies on other resources you can just rely on the container to serve resources as needed. For example if you have a class

Re: Endovena: a dependency injection framework.

2014-11-01 Thread Kagamin via Digitalmars-d-announce
Usually an object receives all needed dependencies with the constructor and thus doesn't need the container itself. Well, either way, it's better to pass one object around instead of ~10 or more.

Re: Blog Post - Reducing vibe.d turnaround time (Part 1 Faster Linking)

2014-11-01 Thread Nordlöw
On Thursday, 30 October 2014 at 01:02:40 UTC, Martin Nowak wrote: https://code.dawg.eu/reducing-vibed-turnaround-time-part-1-faster-linking.html Could you add a reference on how to DUB-build a library as dynamic instead of static library to easy the process for newcomers?

DMD and dub available via chocolatey

2014-11-01 Thread Daniel Jost via Digitalmars-d-announce
From the homepage[1]: Chocolatey is a Machine Package Manager, somewhat like apt-get, but built with Windows in mind. I have added dmd[2] and dub[3] as packages. This means you can do command line installation and have them ready to go in one step. I also made sure to allow users to change

Re: DMD and dub available via chocolatey

2014-11-01 Thread Brad Anderson via Digitalmars-d-announce
On Sunday, 2 November 2014 at 01:52:27 UTC, Daniel Jost wrote: From the homepage[1]: Chocolatey is a Machine Package Manager, somewhat like apt-get, but built with Windows in mind. I have added dmd[2] and dub[3] as packages. This means you can do command line installation and have them ready