Re: Software architecture support in D.

2011-10-30 Thread filgood
have you seen this? https://github.com/itiu/zeromq-connector On 25/10/2011 11:18, Gor Gyolchanyan wrote: yeah. 0MQ is the ultimate concurrency tool. I just love it. But i mean a D-solution, rather then a C-solution port. D's rich modeling power allows those concepts to be implemented in a

Re: Software architecture support in D.

2011-10-29 Thread Gor Gyolchanyan
It's a single instance which, in fact, is easier to translate. There are numerous mathematical libraries and stuff like libevent, which is WAY better to implement in D because of huge differentce of available tool set. On Fri, Oct 28, 2011 at 7:00 PM, Jose Armando Garcia jsan...@gmail.com wrote:

Re: Software architecture support in D.

2011-10-28 Thread Jose Armando Garcia
On Tue, Oct 25, 2011 at 4:49 AM, Gor Gyolchanyan gor.f.gyolchan...@gmail.com wrote: It's unclear whether a particular solution is easier to implement in D,  or is easier to translate from C. You can translate zeromq's headers to D in 10 minute. I will give you a day to make a D wrapper. I doubt

Software architecture support in D.

2011-10-25 Thread Gor Gyolchanyan
There are some very useful generic concepts, which are often used when designed a software architecture. A few of those are: * Message passing (event-driven programming). * State machines. * Component-driven programming. Having a proper support for these concepts means an easy and pleasant time,

Re: Software architecture support in D.

2011-10-25 Thread simendsjo
On 25.10.2011 12:07, Gor Gyolchanyan wrote: * Message passing (event-driven programming). std.concurrency and zeromq (missing a good wrapper). libev or libevent would be nice too.

Re: Software architecture support in D.

2011-10-25 Thread Gor Gyolchanyan
yeah. 0MQ is the ultimate concurrency tool. I just love it. But i mean a D-solution, rather then a C-solution port. D's rich modeling power allows those concepts to be implemented in a whole new and incredibly flexible and easy-to-use way. On Tue, Oct 25, 2011 at 2:14 PM, simendsjo

Re: Software architecture support in D.

2011-10-25 Thread Mirko Pilger
* State machines. http://www.complang.org/ragel/

Re: Software architecture support in D.

2011-10-25 Thread Gor Gyolchanyan
It generates D code externally for a specific state machine. I meant a purely library solution for a ready generic state machine to which you can hook pu your specific program logic. On Tue, Oct 25, 2011 at 2:29 PM, Mirko Pilger pil...@cymotec.de wrote: * State machines.

Re: Software architecture support in D.

2011-10-25 Thread simendsjo
On 25.10.2011 12:18, Gor Gyolchanyan wrote: yeah. 0MQ is the ultimate concurrency tool. I just love it. But i mean a D-solution, rather then a C-solution port. D's rich modeling power allows those concepts to be implemented in a whole new and incredibly flexible and easy-to-use way. Missing

Re: Software architecture support in D.

2011-10-25 Thread Gor Gyolchanyan
It's unclear whether a particular solution is easier to implement in D, or is easier to translate from C. These cases, which i enumerated seem to be easier to implement in D, because they're very high-level, which C doesn't work too good with. On Tue, Oct 25, 2011 at 2:30 PM, simendsjo