Switching from Java to D: Beginner questions, multiplatform issues, etc.

2014-02-27 Thread DS6
Though this post may seem long, my questions are indeed asked. I just kinda started typing and didn't stop; I guess this is both a question post and a vent post. Please bear with me. Hello, I'm a hobbyist programmer, and I'm tired of the way things are going. I'm looking for a change. I must a

Re: Switching from Java to D: Beginner questions, multiplatform issues, etc.

2014-02-27 Thread John Colvin
On Thursday, 27 February 2014 at 10:23:40 UTC, DS6 wrote: Okay, down to the questions I have about D: - Why should I use D over another language? What general benefits does it provide me, in relation to the points I made about it above? Is it a solid base to build off of, but still simple in

Re: Switching from Java to D: Beginner questions, multiplatform issues, etc.

2014-02-27 Thread DS6
On Thursday, 27 February 2014 at 10:52:51 UTC, John Colvin wrote: It's a flexible, well designed language. Many things that are complex and/or slow in other languages can be written in a readable and performant manner, with fewer nasty surprises. I find I usually run into some "nasty surprises

Re: Switching from Java to D: Beginner questions, multiplatform issues, etc.

2014-02-27 Thread Jeremy DeHaan
On Thursday, 27 February 2014 at 22:40:36 UTC, DS6 wrote: What exactly is the difference between C and D headers? D does not have any separation between header and code files like C or C++. There are files with the .di extension which are similar, but not quite the same. What he meant is that

Re: Switching from Java to D: Beginner questions, multiplatform issues, etc.

2014-02-27 Thread Ali Çehreli
On 02/27/2014 02:40 PM, DS6 wrote: > What exactly is the difference between C and D headers? D code that needs to use a C library must use "D bindings" of that C library. Here is Deimos, a collection of D bindings of many C libraries: https://github.com/D-Programming-Deimos More informatio

Re: Switching from Java to D: Beginner questions, multiplatform issues, etc.

2014-02-27 Thread Simon Bürger
What exactly is the difference between C and D headers? D itself does not use headers at all. But you will need "D headers", if you want to call a C library from D. The translation is mostly syntatic and straight forward like: * replace #define-constants with enums * replace macros with (templa

Re: Switching from Java to D: Beginner questions, multiplatform issues, etc.

2014-02-27 Thread DS6
On Thursday, 27 February 2014 at 22:58:40 UTC, Ali Çehreli wrote: But of course: :) Yeah I found that out already; I have schoolwork to do but D is really interesting and stuff and argh. I think one of the things I also like about D so far is the community. Most Java communities, when I asked

Re: Switching from Java to D: Beginner questions, multiplatform issues, etc.

2014-02-27 Thread DS6
Also *3: Not having to make an account to post here is also nice. I don't really like signing up for things.

Re: Switching from Java to D: Beginner questions, multiplatform issues, etc.

2014-02-27 Thread Ali Çehreli
On 02/27/2014 03:09 PM, DS6 wrote: Also *3: Not having to make an account to post here is also nice. I don't really like signing up for things. Because this is actually a newsgroup (i.e. NNTP), pretending to be a forum. :) Ali

Re: Switching from Java to D: Beginner questions, multiplatform issues, etc.

2014-02-27 Thread DS6
On Thursday, 27 February 2014 at 23:12:16 UTC, Ali Çehreli wrote: Because this is actually a newsgroup (i.e. NNTP), pretending to be a forum. :) I could kinda tell from both the URL and the "Posting to digitalmars.D.learn" line. I've never used a newsgroup before, cool.

Re: Switching from Java to D: Beginner questions, multiplatform issues, etc.

2014-02-28 Thread Bienlein
This topic mentions IMHO an important point: D is not only interesting for C++ people, but also for Java developers. Companies that are happy with Java may have little incentive to change to D or maybe Go. But when starting something new D can be an alternative to Java as it also can be used fo

Re: Switching from Java to D: Beginner questions, multiplatform issues, etc.

2014-02-28 Thread Jesse Phillips
On Friday, 28 February 2014 at 12:10:17 UTC, Bienlein wrote: This topic mentions IMHO an important point: D is not only interesting for C++ people, but also for Java developers. Companies that are happy with Java may have little incentive to change to D or maybe Go. But when starting something