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

2013-02-07 Thread Paulo Pinto

On Wednesday, 6 February 2013 at 21:35:12 UTC, MattCoder wrote:
On Wednesday, 6 February 2013 at 13:16:45 UTC, Paulo Pinto 
wrote:
I just wanted to show that the pointer tricks for memory 
management are not an exclusivity from C and C++.


I get it! Just one more note, would you have done any benchmark 
test on between both versions?


Not really, it is very simple code to be worth doing any 
benchmarks.


Re: Another opportunity for a major design win has presented itself

2013-02-07 Thread Walter Bright

On 2/7/2013 12:34 PM, Andrej Mitrovic wrote:

What do you mean by design win? You mean we'd win another company over to D?


Yes (for a project of theirs).



Re: Another opportunity for a major design win has presented itself

2013-02-07 Thread Andrej Mitrovic
On 2/7/13, Walter Bright newshou...@digitalmars.com wrote:
 On 2/7/2013 12:34 PM, Andrej Mitrovic wrote:
 What do you mean by design win? You mean we'd win another company over
 to D?

 Yes (for a project of theirs).

Can you give us a teaser on generally what kind of work they do?


Re: Another opportunity for a major design win has presented itself

2013-02-07 Thread Maxim Fomin

On Thursday, 7 February 2013 at 20:16:03 UTC, Walter Bright wrote:
No, I can't say who it is at this time. Sorry. But it is a huge 
opportunity for us.


This is nice.


To get the design win, we need to:

(a) get dynamic linking and loading to work


Wasn't this realized before? By the way, last weeks there seems 
to be increasing dynamic linking  loading buzz like it was not 
an issue for ages.



(b) improve language safety without degrading efficiency


This is vague. Language safety (meaning design improvement) or 
implementation (fixing bugs)? How you can measure such 
improvement?



(c) improve quality as always


This is also vague. Quality of what: dmd/druntime/phobos?

Of course, these things benefit pretty much all D users anyway. 
Initially, (a) is the most important.


I guess recent patches dedicated to the issue came at right time.


Re: Another opportunity for a major design win has presented itself

2013-02-07 Thread Walter Bright

On 2/7/2013 1:01 PM, Maxim Fomin wrote:

I guess recent patches dedicated to the issue came at right time.


The timing is indeed fortuitous.

As for your comments about vagueness, yes, it is vague. The DLL support is 
clear, though, it either works or it doesn't. The other issues are a work in 
progress, and they understand that. We just have to make progress.




Re: Another opportunity for a major design win has presented itself

2013-02-07 Thread Nick B

On Thursday, 7 February 2013 at 21:11:18 UTC, Walter Bright wrote:

On 2/7/2013 1:01 PM, Maxim Fomin wrote:
I guess recent patches dedicated to the issue came at right 
time.


The timing is indeed fortuitous.

As for your comments about vagueness, yes, it is vague. The DLL 
support is clear, though, it either works or it doesn't. The 
other issues are a work in progress, and they understand that. 
We just have to make progress.


I know this is off-topic, but can/do companies purchase D support 
from you/Digital Mars ?


Nick



Re: Another opportunity for a major design win has presented itself

2013-02-07 Thread David
Am 07.02.2013 22:11, schrieb Walter Bright:
 On 2/7/2013 1:01 PM, Maxim Fomin wrote:
 I guess recent patches dedicated to the issue came at right time.
 
 The timing is indeed fortuitous.
 
 As for your comments about vagueness, yes, it is vague. The DLL support
 is clear, though, it either works or it doesn't. The other issues are a
 work in progress, and they understand that. We just have to make progress.
 
Well, 110 open pull requests on DMD, awaiting their merge, look like
progress to me

And Phobos has 43! Lot's of progress


Re: Another opportunity for a major design win has presented itself

2013-02-07 Thread Oleg Kuporosov

On Thursday, 7 February 2013 at 20:16:03 UTC, Walter Bright wrote:
No, I can't say who it is at this time. Sorry. But it is a huge 
opportunity for us.


To get the design win, we need to:

(a) get dynamic linking and loading to work

(b) improve language safety without degrading efficiency

(c) improve quality as always

Of course, these things benefit pretty much all D users anyway. 
Initially, (a) is the most important.


That is cool, but what is the target platform - Win/Lin, 32/64?

Oleg.


Re: Another opportunity for a major design win has presented itself

2013-02-07 Thread Marco Leise
Am Thu, 07 Feb 2013 22:01:10 +0100
schrieb Maxim Fomin ma...@maxim-fomin.ru:

 On Thursday, 7 February 2013 at 20:16:03 UTC, Walter Bright wrote:
  (a) get dynamic linking and loading to work
 
 Wasn't this realized before? By the way, last weeks there seems 
 to be increasing dynamic linking  loading buzz like it was not 
 an issue for ages.

It is like the news: Things boil up, get covered for a week and
disappear from public sight for a year.
It has been an issue but people have probably arranged with
static linking for now or not started to write a
particular program in D.
I remember I've tried to use structs with const members for a
while for example, but arranged with making every field
mutable. Now the topic showed up again after months.

-- 
Marco



Re: Another opportunity for a major design win has presented itself

2013-02-07 Thread Walter Bright

On 2/7/2013 10:36 PM, Oleg Kuporosov wrote:

That is cool, but what is the target platform - Win/Lin, 32/64?


Initially, Linux. Once that is worked out, doing the others should be 
straightforward.