Jump to page: 1 28  
Page
Thread overview
My first experience as a D Newbie
Oct 11, 2017
Peter R
Oct 11, 2017
rikki cattermole
Oct 11, 2017
jmh530
Oct 11, 2017
Dmitry
Oct 11, 2017
jmh530
Oct 11, 2017
WhatMeWorry
Oct 11, 2017
jmh530
Oct 11, 2017
Rion
Oct 12, 2017
Dmitry
Oct 12, 2017
Jonathan M Davis
Oct 12, 2017
Dmitry
Oct 12, 2017
jmh530
Oct 12, 2017
Jesse Phillips
Oct 12, 2017
Jacob Carlborg
Oct 12, 2017
Jacob Carlborg
Oct 13, 2017
bauss
Oct 11, 2017
qznc
Oct 11, 2017
Rion
Oct 12, 2017
jmh530
Oct 12, 2017
Dennis Cote
Oct 12, 2017
Dennis Cote
Oct 12, 2017
Vadim Lopatin
Oct 13, 2017
Dennis Cote
Oct 13, 2017
Vadim Lopatin
Oct 13, 2017
Vadim Lopatin
Oct 12, 2017
Vadim Lopatin
Oct 12, 2017
Rion
Oct 12, 2017
jmh530
Oct 13, 2017
Peter R
Oct 13, 2017
jmh530
Oct 13, 2017
Rion
Oct 15, 2017
Jacob Carlborg
Oct 15, 2017
Laeeth Isharc
Oct 16, 2017
Rion
Oct 16, 2017
rikki cattermole
Oct 16, 2017
jmh530
Oct 16, 2017
Rion
Oct 18, 2017
Ecstatic Coder
Oct 19, 2017
codephantom
Oct 19, 2017
Laeeth Isharc
Oct 19, 2017
Ecstatic Coder
Oct 19, 2017
Moritz Maxeiner
Oct 19, 2017
Ecstatic Coder
Oct 19, 2017
codephantom
Oct 19, 2017
Ecstatic Coder
Oct 19, 2017
Ecstatic Coder
Oct 19, 2017
Moritz Maxeiner
Oct 19, 2017
Ecstatic Coder
Oct 19, 2017
Ecstatic Coder
Oct 19, 2017
codephantom
Oct 19, 2017
Ecstatic Coder
Oct 19, 2017
Moritz Maxeiner
Oct 19, 2017
Ecstatic Coder
Oct 19, 2017
codephantom
Oct 19, 2017
Ecstatic Coder
Oct 19, 2017
Ecstatic Coder
Oct 19, 2017
codephantom
Oct 19, 2017
jmh530
Oct 19, 2017
H. S. Teoh
Oct 19, 2017
Ecstatic Coder
Oct 19, 2017
H. S. Teoh
Oct 19, 2017
Rion
Oct 19, 2017
lobo
Oct 19, 2017
codephantom
Oct 20, 2017
Mark
Oct 21, 2017
codephantom
Oct 21, 2017
Mark
Oct 23, 2017
Laeeth Isharc
Oct 19, 2017
Laeeth Isharc
Oct 19, 2017
Jonathan M Davis
Oct 19, 2017
Nicholas Wilson
Oct 15, 2017
Laeeth Isharc
Oct 16, 2017
Random D user
Oct 18, 2017
codephantom
October 11, 2017
I've recently started evaluating D, and I thought as a D newbie (but 20 year game dev veteran) I should share the things I felt were missing or unclear, so you can decide if you want to do something to cater new users. So my first notes are

1. Reading about D online: There is a decent amount of information seems old, and it's hard to tell for newbies that D1 and D2 are different. Andrei's book seems like it is still the best reference for the actual language, but since it is 7 years old, as a newbie I expected it to be out of date. Maybe a 2nd edition?
2. Set up the dev environment: While the language is solid, and the base DMD install and "hello world" are easy to get going, getting a full IDE configured is a lot more work. I would really like a comprehensive guide to go from there to having a full environment set up in for example VS Code. I've spent weeks trying to get VS Code configured, and still haven't gotten debugging to work. An idiot-proof step by step guide would be nice, maybe like this "step 1 install VS Code from this link, DMD from this link, Dub from this link, step 2 install these 5 extensions in VS Code, step 3 make these manual changes to the configuration, step 4 download this sample project and open it, step 5 here are the 5 important commands you need to build and run". If there was a 15-minute guide, it would be much easier to get to the parts that matter.
3. Setting up the dev env,take 2: Visual-D seems a lot easier to configure, and it had functional samples. However, it was strange that it doesn't use dub files directly and instead needs them converted to visual studio build projects. I would prefer if it the msbuild projects would just directly call Dub, as Dub seems like the gold standard. My first attempt at generating a solution from a dub project failed, so it feels maybe a bit unfinished. It would also be great if Visual-D had a few more detailed templates built in, maybe a Derelict SDL window, for example.
4. it took a while to see that the DMD builds come with x86 windows libraries, but no x64 windows libraries. That seems strange in this day and age

I'm still very new on the actual language, but thought it better that I share this while it is still fresh.

October 11, 2017
On 11/10/2017 8:23 AM, Peter R wrote:

snip

> 4. it took a while to see that the DMD builds come with x86 windows libraries, but no x64 windows libraries. That seems strange in this day and age

We should document this on the download page making it obvious why you also need VS.

October 11, 2017
On Wednesday, 11 October 2017 at 07:23:02 UTC, Peter R wrote:
> [snip] I've spent weeks trying to get VS Code configured, and still haven't gotten debugging to work. An idiot-proof step by step guide would be nice, maybe like this "step 1 install VS Code from this link, DMD from this link, Dub from this link, step 2 install these 5 extensions in VS Code, step 3 make these manual changes to the configuration, step 4 download this sample project and open it, step 5 here are the 5 important commands you need to build and run". If there was a 15-minute guide, it would be much easier to get to the parts that matter.

I don't use VS Code, but this is probably worth doing. I don't think I've ever set up debugging on Windows for D. I just put in writeln statements to try and figure out what's going on.
October 11, 2017
On Wednesday, 11 October 2017 at 11:57:18 UTC, jmh530 wrote:
> I just put in writeln statements to try and figure out what's going on.

It depends on what programs you are doing. There are a huge number of cases when this way takes lot more time/efforts than using debugger.
October 11, 2017
On Wednesday, 11 October 2017 at 14:25:34 UTC, Dmitry wrote:
> It depends on what programs you are doing. There are a huge number of cases when this way takes lot more time/efforts than using debugger.

Haha, yeah I know...
October 11, 2017
On Wednesday, 11 October 2017 at 07:23:02 UTC, Peter R wrote:
> [...]

+10  We need a walkthru of how to set up everything. It's like a new cook being give all the ingredients but no recipe instructions.
October 11, 2017
On 10/11/17 1:42 PM, WhatMeWorry wrote:
> On Wednesday, 11 October 2017 at 07:23:02 UTC, Peter R wrote:
>> [...]
> 
> +10  We need a walkthru of how to set up everything. It's like a new cook being give all the ingredients but no recipe instructions.

I have to say as someone who uses mostly non-windows systems, these problems only seem to crop up for Windows developers.

I don't know if it's a different expectation or a different mindset or something else.

-Steve
October 11, 2017
On Wednesday, 11 October 2017 at 17:55:18 UTC, Steven Schveighoffer wrote:
>
> I have to say as someone who uses mostly non-windows systems, these problems only seem to crop up for Windows developers.
>
> I don't know if it's a different expectation or a different mindset or something else.
>
> -Steve

I don't know if it's that everything seems to be more difficult on Windows or that the average user of Linux is more knowledgeable than the average Windows user, or both. Regardless, if you want to reach more Windows users, spelling things out clearly is helpful.
October 11, 2017
At least on Ubuntu, this gives me an IDE:

  dub run dlangide

I have not used it much and I don't know if it works on Windows, but it might be the easiest way once you installed dmd and dub.
October 11, 2017
On Wednesday, 11 October 2017 at 17:55:18 UTC, Steven Schveighoffer wrote:
>
> I have to say as someone who uses mostly non-windows systems, these problems only seem to crop up for Windows developers.
>
> I don't know if it's a different expectation or a different mindset or something else.

Its probably more the fact that most of the developers use Unix based system for development, be it OSx or Linux. As a result Windows is the overlooked system what results in a lack of testing.

You really do not want to know the amount of times issues showed up because editor plugins crashes or did not work on windows properly. Very frustrating when its your first experience with a language.

It also helps that for instance has a more unified package manager so for people it can simply be apt-get install a few packages and that is it. The patting and other issues are most of the time properly resolved.

And it does not help when most plugins are developed by one developer, that is on the above mentioned Unix based systems.
« First   ‹ Prev
1 2 3 4 5 6 7 8