Re: My first experience as a D Newbie

2017-10-13 Thread Peter R via Digitalmars-d
Replying to a couple of the comments here "I don't know if it's a different expectation or a different mindset or something else." I'd like to think I'm fairly knowledgeable, but Yes, I expect installing/configuring to be easy and quick, so I can get to the actual programming. I expect solid d

My first experience as a D Newbie

2017-10-11 Thread Peter R via Digitalmars-d
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 o

Re: [WORK] std.file.update function

2016-10-18 Thread R via Digitalmars-d
On Monday, 19 September 2016 at 02:57:01 UTC, Chris Wright wrote: You have an operating system that automatically checksums every file? There are a few filesystems that keep checksums of blocks, but I don't see one that keeps file checksums.

Re: iPhone vs Android

2016-09-15 Thread R via Digitalmars-d
On Monday, 12 September 2016 at 22:57:23 UTC, Andrei Alexandrescu wrote: [snip] If it is, that provides more impetus for reference counting for D by the following logic: (a) it is likely that in the future more code will run on portable, battery-powered systems; (b) battery power does not follo

Re: Promotion rules ... why no float?

2016-09-07 Thread R via Digitalmars-d
On Tuesday, 6 September 2016 at 15:00:48 UTC, Sai wrote: Thanks for the replies. I tend to use a lot of float math (robotics and automation) so I almost always want float output in case of division. And once in a while I bump into this issue. I am wondering what are the best ways to work aro

Re: associative arrays: how to insert key and return pointer in 1 step to avoid searching twice

2016-09-07 Thread R via Digitalmars-d
On Tuesday, 6 September 2016 at 04:32:52 UTC, Daniel Kozak wrote: Dne 6.9.2016 v 06:14 mogu via Digitalmars-d napsal(a): On Tuesday, 6 September 2016 at 01:17:00 UTC, Timothee Cour wrote: is there a way to do this efficiently with associative arrays: aa[key]=value; auto ptr=key in aa; withou

Question about version ( ) keyword

2016-03-21 Thread Vincent R via Digitalmars-d
Hi, When looking at core definitions like core.sys.posix.pthread I can see some "duplicated" code because it seems version doesn't support Or as we would do in C/C++ with #ifdefined. For instance if can read this: version( CRuntime_Glibc ) { enum PTHREAD_BARRIER_SERIAL_THREAD = -1; i

Re: How can I report what I think a compiler's frontend bug

2016-03-21 Thread Vincent R via Digitalmars-d
On Monday, 21 March 2016 at 11:00:08 UTC, Vincent R wrote: On Monday, 21 March 2016 at 09:46:18 UTC, Vincent R wrote: On Monday, 21 March 2016 at 01:51:09 UTC, Marco Leise wrote: Am Sun, 20 Mar 2016 22:37:37 + schrieb Vincent R : [...] Thanks and you see I was right to post here since I

Re: How can I report what I think a compiler's frontend bug

2016-03-21 Thread Vincent R via Digitalmars-d
On Monday, 21 March 2016 at 09:46:18 UTC, Vincent R wrote: On Monday, 21 March 2016 at 01:51:09 UTC, Marco Leise wrote: Am Sun, 20 Mar 2016 22:37:37 + schrieb Vincent R : [...] Thanks and you see I was right to post here since I finally found the problem and got an answer :-) Unfortuna

Re: How can I report what I think a compiler's frontend bug

2016-03-21 Thread Vincent R via Digitalmars-d
On Monday, 21 March 2016 at 01:51:09 UTC, Marco Leise wrote: Am Sun, 20 Mar 2016 22:37:37 + schrieb Vincent R : [...] Thanks and you see I was right to post here since I finally found the problem and got an answer :-)

Re: How can I report what I think a compiler's frontend bug

2016-03-20 Thread Vincent R via Digitalmars-d
On Sunday, 20 March 2016 at 19:06:32 UTC, Johan Engelen wrote: On Sunday, 20 March 2016 at 17:57:12 UTC, Vincent R wrote: On Sunday, 20 March 2016 at 16:16:18 UTC, Marco Leise wrote: Am Sun, 20 Mar 2016 11:28:19 + schrieb Vincent R : Hi, I would like to start a new project (a bonjour/zer

Re: How can I report what I think a compiler's frontend bug

2016-03-20 Thread Vincent R via Digitalmars-d
On Sunday, 20 March 2016 at 16:16:18 UTC, Marco Leise wrote: Am Sun, 20 Mar 2016 11:28:19 + schrieb Vincent R : Hi, I would like to start a new project (a bonjour/zeroconf wrapper and a gui browser using it). For the gui part I would like to use my existing skills using wxWidgets wrapper (

How can I report what I think a compiler's frontend bug

2016-03-20 Thread Vincent R via Digitalmars-d
Hi, I would like to start a new project (a bonjour/zeroconf wrapper and a gui browser using it). For the gui part I would like to use my existing skills using wxWidgets wrapper (wxD). So I have started to report a problem a few months ago: https://forum.dlang.org/post/rtarlodeojnmedgsn...@foru

Re: Linker error with dmd when trying to generate wxWidgets wrapper on Windows (msys2/mingw-w64)

2015-12-09 Thread Vincent R via Digitalmars-d
On Tuesday, 1 December 2015 at 16:46:21 UTC, Vincent R wrote: On Tuesday, 1 December 2015 at 10:21:11 UTC, Luis wrote: On Monday, 30 November 2015 at 09:23:33 UTC, Vincent R wrote: On Friday, 27 November 2015 at 09:56:10 UTC, Kagamin wrote: The bug report is https://issues.dlang.org/show_bug.c

Re: Linker error with dmd when trying to generate wxWidgets wrapper on Windows (msys2/mingw-w64)

2015-12-01 Thread Vincent R via Digitalmars-d
On Tuesday, 1 December 2015 at 10:21:11 UTC, Luis wrote: On Monday, 30 November 2015 at 09:23:33 UTC, Vincent R wrote: On Friday, 27 November 2015 at 09:56:10 UTC, Kagamin wrote: The bug report is https://issues.dlang.org/show_bug.cgi?id=15324 Just hope it will be fixed soon because I gave up

Re: Linker error with dmd when trying to generate wxWidgets wrapper on Windows (msys2/mingw-w64)

2015-11-30 Thread Vincent R via Digitalmars-d
On Friday, 27 November 2015 at 09:56:10 UTC, Kagamin wrote: The bug report is https://issues.dlang.org/show_bug.cgi?id=15324 Just hope it will be fixed soon because I gave up D 7 years ago (too many bugs, war between phobos, tango, very young language) and now I realize it still very complica

Linker error with dmd when trying to generate wxWidgets wrapper on Windows (msys2/mingw-w64)

2015-11-26 Thread Vincent R via Digitalmars-d
Hi, I have a problem to generate D wrapper for wxWidgets (wxD) on msys2/mingw64. Here is how to reproduce it: 1) Install msys2 from here http://msys2.github.io/ 2) Launch msys2 terminal and add dmc/dmd to PATH $ mkdir tmp && cd tmp $ export PATH="C:\Developer\D\dm\bin":"C:\Developer\D\dmd2\

Re: Generate wxD with dmc/dmd

2015-11-09 Thread Vincent R via Digitalmars-d
On Saturday, 7 November 2015 at 22:12:55 UTC, Vincent R wrote: Hi, I am trying to generate the wxWidgets wrapper wxD on Windows through msys/mingw64(or cygwin). So I have downloaded wxWidgets-2.8.12 and dmd c++/d compiler respectively dmc/dmd but I still have an error. Let's consider we are u

Generate wxD with dmc/dmd

2015-11-07 Thread Vincent R via Digitalmars-d
Hi, I am trying to generate the wxWidgets wrapper wxD on Windows through msys/mingw64(or cygwin). So I have downloaded wxWidgets-2.8.12 and dmd c++/d compiler respectively dmc/dmd but I still have an error. Let's consider we are using cygwin: $ export PATH="C:\Developer\D\dm\bin":"C:\Develop