Re: D2 port of Sociomantic CDGC available for early experiments

2014-10-22 Thread Regan Heath via Digitalmars-d-announce
On Tue, 21 Oct 2014 23:52:22 +0100, Leandro Lucarella l...@llucax.com.ar  
wrote:

The runtime is not platform independent AT ALL.

  ^ implementation


Why should you provide a platform agnostic way to configure it?


Because it makes life easier for developers and cross platform  
development, not to mention documentation.  The benefits far outweigh the  
costs.



I can understand it if it's free,
but if you have to sacrifice something just to get a platform agnostic
mechanism, for me it's not worth it at all.


Reasonable people may disagree.


All these fear about how this can obscurely affect programs
is totally unfunded. That just does not happen. Not at least commonly
enough to ignore all the other advantages of it.

Sure, but past/current env vars being used are used *privately* to a
single program.


NO, this is completely false, and why I think you are not entirely
familiar with env vars in posix. LD_PRELOAD and LD_LIBRARY_PATH affects
ALL, EACH and EVERY program for example. D or not D. Every single
dynamically linked program.


True.  And the reason these behave this way is because we *always* want  
them to - the same is NOT true of the proposed vars for D.  Which is my  
point.



This is a super common mechanism. I never ever had problems with this.
Did you? Did honestly you even know they existed?


Yes.  But this is beside the point, which I hope I have clarified now?

Regan

--
Using Opera's revolutionary email client: http://www.opera.com/mail/


LDC 0.15.0 alpha1 released! Please help test!

2014-10-22 Thread Kai Nacke via Digitalmars-d-announce

Hi everyone,

LDC 0.15.0-alpha1, the LLVM-based D compiler, is available for 
download!
This alpha release is based on the 2.066.1-rc2 frontend and 
standard library and supports LLVM 3.1-3.5 (OS X: no support for 
3.3).


Please help testing this release!

As usual, you can find links to the changelog and the binary 
packages over at digitalmars.D.ldc:

http://forum.dlang.org/post/rasmbswfitzcscjxu...@forum.dlang.org

Regards,
Kai


Re: Endovena: a dependency injection framework.

2014-10-22 Thread Orfeo via Digitalmars-d-announce

-8-

Container gets confusing with std.container.

-8-

I agree with you, but 'Container' is widely used in DI context, 
for example:


* SimpleInjector (C#) uses Container
* LightInjector uses ServiceContainer
* Autofac uses ContainerBuilder
* LightCore  uses ContainerBuilder
* Hiro uses MicroContainer
* LinFu uses ServiceContainer
* HaveBox uses Container
* Spring (Java) uses Container
* Hypodermic (C++) ContainerBuilder
* Poodins (D) uses Container


Furthermore std.container doesn't have a class named Container, 
so it's
difficult to confuse class endovena.Container with module 
sdt.container...anyway, I'll think about it.


Thank you very much for your feedback