"D Language and Fortran DLL" article

2012-08-02 Thread Michael

Hi all,

I would like to annonce "D Language and Fortran DLL" article that 
writen in Russian.


Link: 
http://www.m1xa.com/ru/article/d-language-and-fortran-dll.html


It's happy end of this topic 
http://forum.dlang.org/thread/wjbjanlmgytnnkjxm...@forum.dlang.org


Comments are welcome.

Thanks)

P.S.: And I did not find any appropriate russian community 
website about D Language, they exists?


Re: "D Language and Fortran DLL" article

2012-08-09 Thread Minas Mina
P.S.: And I did not find any appropriate russian community 
website about D Language, they exists?


I don't think so. There are only a few in English...


Re: "D Language and Fortran DLL" article

2012-08-09 Thread Maxim Fomin

On Thursday, 2 August 2012 at 20:38:45 UTC, Michael wrote:


P.S.: And I did not find any appropriate russian community 
website about D Language, they exists?


I guess there were http://dprogramming.ru but now is dead
(last updated in fall 2010).
However, I noticed some increase in D concern couple of
month ago, so maybe in future situation will be better.



Re: "D Language and Fortran DLL" article

2012-08-10 Thread Suliman

On Thursday, 9 August 2012 at 17:50:52 UTC, Maxim Fomin wrote:

On Thursday, 2 August 2012 at 20:38:45 UTC, Michael wrote:


P.S.: And I did not find any appropriate russian community 
website about D Language, they exists?


I guess there were http://dprogramming.ru but now is dead
(last updated in fall 2010).
However, I noticed some increase in D concern couple of
month ago, so maybe in future situation will be better.


I am working on Russian site, it will be opened in end of 
September.


Re: "D Language and Fortran DLL" article

2012-08-14 Thread xenon325

On Friday, 10 August 2012 at 15:44:34 UTC, Suliman wrote:
I am working on Russian site, it will be opened in end of 
September.


Nice! What is supposed domain ?

P.S. don't forget to announce it here.



Re: "D Language and Fortran DLL" article

2012-08-14 Thread xenon325

nitpicks:

1. why not use DDoc ? E.g. @Author, @License
   (http://dlang.org/ddoc.html)

2. formatting :). I know, I know it's a moot point.
   Now it looks a bit like Windows version is "more primary".
   I like it more:

version ( ) {
...
}
else version ( ){
...
}
else{

}

3. Some lines of code are outside of main area (like 49, 50).
   Tested on Opera, FF, IE.



Re: "D Language and Fortran DLL" article

2012-08-14 Thread Ali Çehreli

On 08/09/2012 10:30 AM, Minas Mina wrote:

P.S.: And I did not find any appropriate russian community website
about D Language, they exists?


I don't think so. There are only a few in English...


According to dlang.org (rather, digitalmars.com that is linked from it 
;)) there are Japanese, German, Russian, Chinese, and Turkish forums:


  http://digitalmars.com/d/dlinks.html

I follow the Turkish forum. It is active with very roughly (by eye 
balling) 2-3 topics, average around 10-20, sometimes up to 40 messages a 
day:


  http://ddili.org/forum/forum

Ali


Re: "D Language and Fortran DLL" article

2012-08-14 Thread Michael

On Tuesday, 14 August 2012 at 15:36:42 UTC, Ali Çehreli wrote:
According to dlang.org (rather, digitalmars.com that is linked 
from it ;)) there are Japanese, German, Russian, Chinese...


Current russian website seems to died and resurrected at 2010 as 
copy from web archive.






Re: "D Language and Fortran DLL" article

2012-08-14 Thread Michael

On Tuesday, 14 August 2012 at 07:32:05 UTC, xenon325 wrote:

nitpicks:

1. why not use DDoc ? E.g. @Author, @License
   (http://dlang.org/ddoc.html)


Added.


2. formatting :). I know, I know it's a moot point.
   Now it looks a bit like Windows version is "more primary".
   I like it more:

version ( ) {
...
}
else version ( ){
...
}
else{

}


Windows is main dev OS.
Braces: http://dlang.org/dstyle.html


3. Some lines of code are outside of main area (like 49, 50).
   Tested on Opera, FF, IE.

BitBucket bug, but fixed manually.




Re: "D Language and Fortran DLL" article

2012-08-14 Thread xenon325

On Tuesday, 14 August 2012 at 22:00:26 UTC, Michael wrote:

Braces: http://dlang.org/dstyle.html


I was referring to indentation, i.e.
version
else version
else



On Tuesday, 14 August 2012 at 07:32:05 UTC, xenon325 wrote:

3. Some lines of code are outside of main area (like 49, 50).
  Tested on Opera, FF, IE.

BitBucket bug, but fixed manually.


Hm, I still see lines are outside.


Another one. I don't have d compiler at hand (and for some reason 
DPaste isn't working too), but I think this should work fine:


void checkAndThrow(void * pointer, int line = __LINE__)

and than call it just like

checkAndThrow( ptr);


Re: "D Language and Fortran DLL" article

2012-08-15 Thread Michael

I was referring to indentation, i.e.
version
else version
else


Without indentation it looks like C++ #if defined that's ugly for 
me.





On Tuesday, 14 August 2012 at 07:32:05 UTC, xenon325 wrote:

3. Some lines of code are outside of main area (like 49, 50).
 Tested on Opera, FF, IE.

BitBucket bug, but fixed manually.


Hm, I still see lines are outside.

What is your browser? IE, FF, Chrome, Opera - ok.



Another one. I don't have d compiler at hand (and for some 
reason DPaste isn't working too), but I think this should work 
fine:


void checkAndThrow(void * pointer, int line = __LINE__)

and than call it just like

checkAndThrow( ptr);

Thanks, it works on dmd 2.060.




Re: "D Language and Fortran DLL" article

2012-08-15 Thread xenon325

On Wednesday, 15 August 2012 at 19:17:42 UTC, Michael wrote:
Without indentation it looks like C++ #if defined that's ugly 
for me.


Ok, no problem.


On Tuesday, 14 August 2012 at 07:32:05 UTC, xenon325 wrote:

3. Some lines of code are outside of main area (like 49, 50).
Tested on Opera, FF, IE.

BitBucket bug, but fixed manually.


Hm, I still see lines are outside.

What is your browser? IE, FF, Chrome, Opera - ok.


Opera 12.0  - ok (it should be because of cache, though I could
  swear I've tried to reload it yesterday)
FF 12.0 - ok (same as Opera)
IE 9.0.8112 - ok (damn!)