Re: How to use D for cross platform development?

2012-03-30 Thread Chris W.
That's all great stuff. Thanks guys. I think in this respect D could really take off, i.e. as the natively compiled, portable core language that can easily interface to platform specific frameworks through C and C++. This, among other things, got me interested in D in the first place. I think

Re: How to use D for cross platform development?

2012-03-29 Thread Chris W.
On Wednesday, 28 March 2012 at 15:31:26 UTC, Bennie Copeland wrote: Great to hear someone with experience with it. Was there any issues with the code that had to be tweaked depending on the OS? When I was looking at C++, there was implementation defined data type sizes, endieness,

Re: How to use D for cross platform development?

2012-03-29 Thread Chris W.
On Thursday, 29 March 2012 at 12:10:17 UTC, Jacob Carlborg wrote: I have some with using Objective-C together with D. It's a lot more verbose and quite more complicated than using a C library with D. How complicated it is depends on what one want to do with the Objective-C library. Obviously

Re: How to use D for cross platform development?

2012-03-26 Thread Chris W.
I am using D for cross platform development. I recently implemented C wrappers for D. It works fine (Mac OS X). I could also create a Python module that consists of both D and C code (the C code is really just the wrapper for the module's functionality that is completely in D). It also works

Re: Stride

2012-03-14 Thread Chris W.
On Tuesday, 14 February 2012 at 21:09:09 UTC, Ali Çehreli wrote: On 02/14/2012 12:59 PM, RenatoL wrote: mmmhhh this is interesting nevertheless i don't understand the solution of my problem, and i cannot even understand it's origin: void main() { string s1 = abcd; s1 =

Calling D from C

2012-03-12 Thread Chris W.
I have a problem when calling D functions from C. While I can perform simple arithmetic operations (i.e. the calculation is performed in D and returned to C), I experience problems when trying to perform string/char operations or call functions from the D standard library (e.g. writefln()). The

Re: Calling D from C

2012-03-12 Thread Chris W.
On Monday, 12 March 2012 at 15:00:31 UTC, Steven Schveighoffer wrote: On Mon, 12 Mar 2012 10:53:09 -0400, Chris W. wend...@cd.ie wrote: I have a problem when calling D functions from C. While I can perform simple arithmetic operations (i.e. the calculation is performed in D and returned to C

Re: Calling D from C

2012-03-12 Thread Chris W.
On Monday, 12 March 2012 at 15:17:32 UTC, Alex Rønne Petersen wrote: On 12-03-2012 16:09, Chris W. wrote: On Monday, 12 March 2012 at 15:00:31 UTC, Steven Schveighoffer wrote: On Mon, 12 Mar 2012 10:53:09 -0400, Chris W. wend...@cd.ie wrote: I have a problem when calling D functions from C