[Issue 14834] [REG 2.068-b2] dirEntries with mask stopped working with -inline -debug

2015-07-30 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14834 --- Comment #4 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/e5e0c3ebb1de765895d7ec0001bfe6e22cedb64f fix Issue 14834 -

[Issue 14836] [REG2.068a] Multiple variadic template argument trick broken

2015-07-30 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14836 --- Comment #6 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/11e4a08146a9751cb3d6b965be5867835ea756d1 fix Issue 14836 - Multiple

Re: Working with pdf

2015-07-30 Thread JN via Digitalmars-d
On Thursday, 30 July 2015 at 11:19:48 UTC, Kingsley wrote: Hi Can anyone recommend any ways of pdf creation using D. I am generating an HTML and JavaScript page but I would like it in pdf format as well. http://libharu.org/ could try this, haven't used it myself but Wt Toolkit (C++ web

Re: D Web Services Application Potential?

2015-07-30 Thread Sebastiaan Koppe via Digitalmars-d
On Wednesday, 29 July 2015 at 17:25:17 UTC, Etienne wrote: I can't share source but the idea is simple. You configure a DNS subdomain my.domain.com = 127.0.0.1, and test that address with javascript when a logins to the public website, if it doesn't work you show a message plugin required. The

Re: Rant after trying Rust a bit

2015-07-30 Thread Timon Gehr via Digitalmars-d
On 07/30/2015 11:25 AM, Chris wrote: On Thursday, 30 July 2015 at 02:30:45 UTC, Ola Fosheim Grøstad wrote: On Tuesday, 28 July 2015 at 09:29:28 UTC, Chris wrote: [1] I wonder what kind of bugs will be introduced, when if-else is used as an expression. I believe most Algol-like languages

Re: extern(C) with function returning user type

2015-07-30 Thread bachmeier via Digitalmars-d-learn
On Thursday, 30 July 2015 at 01:14:06 UTC, Mike Parker wrote: On Wednesday, 29 July 2015 at 18:42:45 UTC, Kyoji Klyden wrote: Thanks for the replies, This issue really highlights one of D's weak points I think. I've atleast got a round about solution almost working. :P Really? I see it as

Re: Working with pdf

2015-07-30 Thread Daniel Kozák via Digitalmars-d
I use wkhtmltopdf: http://wkhtmltopdf.org On Thu, 30 Jul 2015 11:19:45 + Kingsley via Digitalmars-d digitalmars-d@puremagic.com wrote: Hi Can anyone recommend any ways of pdf creation using D. I am generating an HTML and JavaScript page but I would like it in pdf format as well.

Re: Dependent types in half of D

2015-07-30 Thread Timon Gehr via Digitalmars-d
On 07/30/2015 12:40 PM, Max Klyga wrote: Just noticed a nice blog post about mapping dependent type applications to D. http://www.infognition.com/blog/2015/dependent_types_in_d.html reddit: https://www.reddit.com/r/programming/comments/3f59f4/dependent_types_in_half_of_d/ As already noted on

Re: D for Game Development

2015-07-30 Thread Mike Parker via Digitalmars-d
On Thursday, 30 July 2015 at 13:43:35 UTC, karabuta wrote: For some time I have been seeing some cool game engine being developed in the DUB repo. What more is happening? I don't see derelictSDl and derelictSFML activities much. Whatup? The Derelict packages are fairly stable. You aren't

Re: Working with pdf

2015-07-30 Thread Adrian Matoga via Digitalmars-d
On Thursday, 30 July 2015 at 11:19:48 UTC, Kingsley wrote: Hi Can anyone recommend any ways of pdf creation using D. I am generating an HTML and JavaScript page but I would like it in pdf format as well. Another indirect solution would be to generate PostScript (there's no existing lib in

Re: D for Game Development

2015-07-30 Thread deadalnix via Digitalmars-d
On Thursday, 30 July 2015 at 13:43:35 UTC, karabuta wrote: D is really cool and makes a good candidate for developing a game. Are there any guys out there using D for indie games? For some time I have been seeing some cool game engine being developed in the DUB repo. What more is happening? I

D for Game Development

2015-07-30 Thread karabuta via Digitalmars-d
D is really cool and makes a good candidate for developing a game. Are there any guys out there using D for indie games? For some time I have been seeing some cool game engine being developed in the DUB repo. What more is happening? I don't see derelictSDl and derelictSFML activities much.

Re: Working with pdf

2015-07-30 Thread Andy Smith via Digitalmars-d
On Thursday, 30 July 2015 at 11:19:48 UTC, Kingsley wrote: Hi Can anyone recommend any ways of pdf creation using D. I am generating an HTML and JavaScript page but I would like it in pdf format as well. Hi Kingsley, Python reportlab via PyD maybe? Obviously not as good as pure d solution

[Issue 14829] [REG2.066.0] wrong code with -O -inline

2015-07-30 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14829 --- Comment #10 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/758561893df09001cc8a1d9b0352633087fb3793 fix Issue 14829 -

[Issue 14814] ld: GOT load reloc does not point to a movq instruction

2015-07-30 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14814 --- Comment #10 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/afc3ace1fadbe47fb7bacc4ba93f3c3582f1c475 fix Issue 14814 - ld: GOT

[Issue 14838] [REG 2.066] Wrong attribute inference for auto-generated class destructor with static array of non-POD type

2015-07-30 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14838 --- Comment #8 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/d167403e777bcf91c50a7fd8eedf5100ac1ab50d fix Issue 14838 - Wrong

Re: [blog post] Dependent types in (half of) D

2015-07-30 Thread Timon Gehr via Digitalmars-d-announce
On 07/30/2015 09:31 AM, thedeemon wrote: I had this idea for a long time but a recent talk about a real dependently typed language helped me with nice examples to demonstrate on. The interpreted part of D is actually dependently typed!

Re: Rant after trying Rust a bit

2015-07-30 Thread Bruno Medeiros via Digitalmars-d
On 22/07/2015 19:47, simendsjo wrote: Long rant ahead - a bit dipsy.. TL;DR: Rust has momentum, manpower and tooling. Tooling matters. Safe defaults. Ergonomics like expressions and deconstructing rocks. Tooling doesn't just matters. Tooling trumps everything else. I've skimmed through

Re: [blog post] Dependent types in (half of) D

2015-07-30 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 7/30/15 3:31 AM, thedeemon wrote: I had this idea for a long time but a recent talk about a real dependently typed language helped me with nice examples to demonstrate on. The interpreted part of D is actually dependently typed! http://www.infognition.com/blog/2015/dependent_types_in_d.html

Re: Working with pdf

2015-07-30 Thread John Colvin via Digitalmars-d
On Thursday, 30 July 2015 at 11:19:48 UTC, Kingsley wrote: Hi Can anyone recommend any ways of pdf creation using D. I am generating an HTML and JavaScript page but I would like it in pdf format as well. I don't know of any pdf handling libraries in D Definitely check first to see if a

Re: Compare types with `static if` in template function.

2015-07-30 Thread Vladde Nordholm via Digitalmars-d-learn
On Wednesday, 29 July 2015 at 22:40:08 UTC, Ali Çehreli wrote: You seem to be using type names instead of member names: static if(is(typeof(c) == dchar) || is(typeof(c) == char)) { slots[xy.y][xy.x].character = c; } else

Re: Read text file fast, how?

2015-07-30 Thread Andrei Alexandrescu via Digitalmars-d
On 7/27/15 8:03 AM, Johan Holmberg via Digitalmars-d wrote: On Sun, Jul 26, 2015 at 5:36 PM, Andrei Alexandrescu via Digitalmars-d digitalmars-d@puremagic.com mailto:digitalmars-d@puremagic.com wrote: On 7/26/15 10:35 AM, Johan Holmberg via Digitalmars-d wrote: On Sat, Jul 25,

Re: D for Game Development

2015-07-30 Thread CraigDillabaugh via Digitalmars-d
On Thursday, 30 July 2015 at 14:18:21 UTC, Brandon Ragland wrote: On Thursday, 30 July 2015 at 13:44:41 UTC, deadalnix wrote: On Thursday, 30 July 2015 at 13:43:35 UTC, karabuta wrote: D is really cool and makes a good candidate for developing a game. Are there any guys out there using D for

Re: Yes or No Options

2015-07-30 Thread Alex via Digitalmars-d-learn
My father owns a small software company, specialized in market data products. www.bccgi.com (in case anyone is interested) So programming was basically around all my life. I do a small job in his company and my next task was to learn D. There are two trainees and the three of us have to

Re: D for Game Development

2015-07-30 Thread Laeeth Isharc via Digitalmars-d
On Thursday, 30 July 2015 at 13:43:35 UTC, karabuta wrote: D is really cool and makes a good candidate for developing a game. Are there any guys out there using D for indie games? For some time I have been seeing some cool game engine being developed in the DUB repo. What more is happening? I

Re: Yes or No Options

2015-07-30 Thread Chris via Digitalmars-d-learn
On Thursday, 30 July 2015 at 14:20:41 UTC, Alex wrote: My father owns a small software company, specialized in market data products. www.bccgi.com (in case anyone is interested) So programming was basically around all my life. I do a small job in his company and my next task was to learn D.

Re: D for Game Development

2015-07-30 Thread karabuta via Digitalmars-d
On Thursday, 30 July 2015 at 14:18:21 UTC, Brandon Ragland wrote: On Thursday, 30 July 2015 at 13:44:41 UTC, deadalnix wrote: On Thursday, 30 July 2015 at 13:43:35 UTC, karabuta wrote: D is really cool and makes a good candidate for developing a game. Are there any guys out there using D for

Re: D for Game Development

2015-07-30 Thread Brandon Ragland via Digitalmars-d
On Thursday, 30 July 2015 at 14:44:30 UTC, CraigDillabaugh wrote: On Thursday, 30 July 2015 at 14:18:21 UTC, Brandon Ragland wrote: On Thursday, 30 July 2015 at 13:44:41 UTC, deadalnix wrote: On Thursday, 30 July 2015 at 13:43:35 UTC, karabuta wrote: D is really cool and makes a good candidate

Re: Rant after trying Rust a bit

2015-07-30 Thread deadalnix via Digitalmars-d
On Thursday, 30 July 2015 at 14:23:34 UTC, Alex Parrill wrote: On Thursday, 30 July 2015 at 11:46:02 UTC, Bruno Medeiros wrote: Tooling doesn't just matters. Tooling trumps everything else. I don't agree. IMO reducing the need for tools would be a better solution. For example, there's no

Re: D for Game Development

2015-07-30 Thread Minas Mina via Digitalmars-d
On Thursday, 30 July 2015 at 13:44:41 UTC, deadalnix wrote: On Thursday, 30 July 2015 at 13:43:35 UTC, karabuta wrote: D is really cool and makes a good candidate for developing a game. Are there any guys out there using D for indie games? For some time I have been seeing some cool game

Re: D for Game Development

2015-07-30 Thread Minas Mina via Digitalmars-d
On Thursday, 30 July 2015 at 14:18:21 UTC, Brandon Ragland wrote: On Thursday, 30 July 2015 at 13:44:41 UTC, deadalnix wrote: On Thursday, 30 July 2015 at 13:43:35 UTC, karabuta wrote: D is really cool and makes a good candidate for developing a game. Are there any guys out there using D for

Re: Working with pdf

2015-07-30 Thread tcak via Digitalmars-d
On Thursday, 30 July 2015 at 11:19:48 UTC, Kingsley wrote: Hi Can anyone recommend any ways of pdf creation using D. I am generating an HTML and JavaScript page but I would like it in pdf format as well. In 2013, I had started developing a module to create PDF files based on version 1.5

Re: D Web Services Application Potential?

2015-07-30 Thread Brandon Ragland via Digitalmars-d
On Thursday, 30 July 2015 at 05:50:56 UTC, Ola Fosheim Gr wrote: On Thursday, 30 July 2015 at 03:56:25 UTC, Brandon Ragland wrote: Regarding JavaScript being slower, this benchmark[1] seems to indicate that on average, JavaScript on V8 is at-least 4X slower than a g++ compiled native package.

Re: Rant after trying Rust a bit

2015-07-30 Thread Chris via Digitalmars-d
On Thursday, 30 July 2015 at 13:32:29 UTC, Timon Gehr wrote: On 07/30/2015 11:25 AM, Chris wrote: On Thursday, 30 July 2015 at 02:30:45 UTC, Ola Fosheim Grøstad wrote: On Tuesday, 28 July 2015 at 09:29:28 UTC, Chris wrote: [1] I wonder what kind of bugs will be introduced, when if-else is

Re: D for Game Development

2015-07-30 Thread Brandon Ragland via Digitalmars-d
On Thursday, 30 July 2015 at 13:44:41 UTC, deadalnix wrote: On Thursday, 30 July 2015 at 13:43:35 UTC, karabuta wrote: D is really cool and makes a good candidate for developing a game. Are there any guys out there using D for indie games? For some time I have been seeing some cool game

Re: Rant after trying Rust a bit

2015-07-30 Thread Alex Parrill via Digitalmars-d
On Thursday, 30 July 2015 at 11:46:02 UTC, Bruno Medeiros wrote: Tooling doesn't just matters. Tooling trumps everything else. I don't agree. IMO reducing the need for tools would be a better solution. For example, there's no need for a memory checker if you're writing in Python, but if

Re: Last call for AliasSeq

2015-07-30 Thread via Digitalmars-d
On Thursday, 30 July 2015 at 09:45:31 UTC, Timon Gehr wrote: On 07/30/2015 09:39 AM, Ola Fosheim =?UTF-8?B?R3LDuHN0YWQi?= ola.fosheim.grostad+dl...@gmail.com wrote: On Thursday, 30 July 2015 at 04:20:41 UTC, Timon Gehr wrote: type exists in the latter system. D does not have a design that is

Re: D for Game Development

2015-07-30 Thread Alex Parrill via Digitalmars-d
On Thursday, 30 July 2015 at 15:10:59 UTC, Brandon Ragland wrote: It's a dog because Java is a dog. But that's not because of the GC. It's not really that bad either, I can open up Minecraft at any time and have it sit in the background quietly using ~800Mb ram and virtually no cpu time.

Re: std.data.json formal review

2015-07-30 Thread Walter Bright via Digitalmars-d
On 7/30/2015 9:58 AM, Brad Anderson wrote: If we can't have the minimal necessary module paths then I'm completely in favor of parseJSONStream over the more general parseStream. I want that json in there one way or another (preferably by the method which makes it optional while maintaining

Re: force inline/not-inline

2015-07-30 Thread David Nadlinger via Digitalmars-d
On Thursday, 30 July 2015 at 18:41:51 UTC, Steven Schveighoffer wrote: So you are saying the first interpretation is correct? As far as I can see, this is what the implementation currently does, yes. — David

Re: D for Game Development

2015-07-30 Thread deadalnix via Digitalmars-d
On Thursday, 30 July 2015 at 14:12:32 UTC, Minas Mina wrote: On Thursday, 30 July 2015 at 13:44:41 UTC, deadalnix wrote: On Thursday, 30 July 2015 at 13:43:35 UTC, karabuta wrote: D is really cool and makes a good candidate for developing a game. Are there any guys out there using D for indie

Re: D for Android

2015-07-30 Thread Joakim via Digitalmars-d
On Monday, 25 May 2015 at 20:08:48 UTC, Joakim wrote: On Monday, 18 May 2015 at 15:47:07 UTC, Joakim wrote: Sure, have fun with your new devices. :) Hopefully, I'll get Android/ARM working before then, but I don't and won't have any AArch64 devices to test. Not that it matters, as 64-bit ARM

Re: D for Game Development

2015-07-30 Thread deadalnix via Digitalmars-d
On Thursday, 30 July 2015 at 15:10:59 UTC, Brandon Ragland wrote: It's a dog because Java is a dog. But that's not because of the GC. It's not really that bad either, I can open up Minecraft at any time and have it sit in the background quietly using ~800Mb ram and virtually no cpu time.

std.container.array - are these arrays passed by reference?

2015-07-30 Thread Harry P via Digitalmars-d-learn
I'm trying to avoid the gc so I'm using std.container.array arrays instead of the standard ones. I know the standard arrays return by reference so I imagine that the nogc alternative is also passed by reference because it'd be a struct with a pointer and a length, yeah? I just want to check

Re: std.data.json formal review

2015-07-30 Thread H. S. Teoh via Digitalmars-d
On Thu, Jul 30, 2015 at 12:43:40PM -0700, Walter Bright via Digitalmars-d wrote: On 7/30/2015 9:58 AM, Brad Anderson wrote: If we can't have the minimal necessary module paths then I'm completely in favor of parseJSONStream over the more general parseStream. I want that json in there one way

Re: std.data.json formal review

2015-07-30 Thread H. S. Teoh via Digitalmars-d
On Thu, Jul 30, 2015 at 01:26:17PM -0700, Walter Bright via Digitalmars-d wrote: On 7/30/2015 12:57 PM, H. S. Teoh via Digitalmars-d wrote: Yeah, local imports are fast becoming my preferred D coding style, because it makes code portable -- if you move a function to a new module, you don't

[Issue 14829] [REG2.066.0] wrong code with -O -inline

2015-07-30 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14829 --- Comment #11 from github-bugzi...@puremagic.com --- Commit pushed to dmd-1.x at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/52dc462188c66960d88cb8afd5c0f3a746adc8a8 Merge pull request #4841

[Issue 14844] [REG2.068a] __traits(allMembers) must not visit yet not instantiated template members

2015-07-30 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14844 --- Comment #5 from github-bugzi...@puremagic.com --- Commits pushed to stable at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/9e6ad65840b86acc7406f30704e898366bb93cb8 fix Issue 14844 -

Re: std.data.json formal review

2015-07-30 Thread Walter Bright via Digitalmars-d
On 7/30/2015 12:57 PM, H. S. Teoh via Digitalmars-d wrote: Yeah, local imports are fast becoming my preferred D coding style, because it makes code portable -- if you move a function to a new module, you don't have to untangle its import dependencies if all imports are local. It's one of those

Re: force inline/not-inline

2015-07-30 Thread Jonathan M Davis via Digitalmars-d
On Thursday, 30 July 2015 at 18:41:51 UTC, Steven Schveighoffer wrote: OK, that is what I first thought. Then I thought it meant that for that function, it works as if -inline was passed on the command line (i.e. try to inline if possible, if not, don't worry about it). So you are saying the

Re: D for Game Development

2015-07-30 Thread via Digitalmars-d
On Thursday, 30 July 2015 at 21:27:09 UTC, deadalnix wrote: On Thursday, 30 July 2015 at 15:10:59 UTC, Brandon Ragland wrote: It's a dog because Java is a dog. But that's not because of the GC. It's not really that bad either, I can open up Minecraft at any time and have it sit in the

[Issue 14849] Visual Studio 2015 not detected during installation

2015-07-30 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14849 Joseph Cassman josephcass...@hotmail.com changed: What|Removed |Added CC|

Re: Helpers for writing unittests

2015-07-30 Thread Jonathan M Davis via Digitalmars-d
On Friday, 31 July 2015 at 00:07:43 UTC, Idan Arye wrote: Thoughts? Some unit test helpers for this sort of thing might be nice, but I don't think that it really buys us much with this particular case. You could just as easily do unittest { foreach(T; TypeTuple!(ubyte, byte, ushort,

[Issue 14849] Visual Studio 2015 not detected during installation

2015-07-30 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14849 --- Comment #4 from Joseph Cassman josephcass...@hotmail.com --- Created attachment 1535 -- https://issues.dlang.org/attachment.cgi?id=1535action=edit Visual Studio Community 2013 with Update 5 + dmd-2.068.0-b2.exe --

[Issue 14828] duplicate symbol __ModuleInfoZ depending on ordering of files passed to dmd

2015-07-30 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14828 --- Comment #11 from Kenji Hara k.hara...@gmail.com --- (In reply to Timothee Cour from comment #9) duplicate symbol _D4foo212__ModuleInfoZ in: out.o libproj6.a(foo2.o) ld: 1 duplicate symbol for architecture x86_64 clang: error: linker

Helpers for writing unittests

2015-07-30 Thread Idan Arye via Digitalmars-d
The Rant after trying Rust a bit thread(http://forum.dlang.org/thread/ckjukjfkgrguhfhkd...@forum.dlang.org) talks mostly about traits, and how people want Rust's traits(or C++'s Concepts) in D. As a general rule, I believe that taking a feature from one language and sticking it in another works

[Issue 14849] Visual Studio 2015 not detected during installation

2015-07-30 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14849 --- Comment #6 from Joseph Cassman josephcass...@hotmail.com --- Created attachment 1537 -- https://issues.dlang.org/attachment.cgi?id=1537action=edit Diff VS 2013 with 2015 DMD sc.ini files --

[Issue 14849] Visual Studio 2015 not detected during installation

2015-07-30 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14849 --- Comment #5 from Joseph Cassman josephcass...@hotmail.com --- Created attachment 1536 -- https://issues.dlang.org/attachment.cgi?id=1536action=edit Visual Studio Community 2015 + dmd-2.068.0-b2.exe --

Re: D for Game Development

2015-07-30 Thread lobo via Digitalmars-d
On Thursday, 30 July 2015 at 21:27:09 UTC, deadalnix wrote: On Thursday, 30 July 2015 at 15:10:59 UTC, Brandon Ragland wrote: It's a dog because Java is a dog. But that's not because of the GC. It's not really that bad either, I can open up Minecraft at any time and have it sit in the

Re: DerelictCocoa

2015-07-30 Thread ponce via Digitalmars-d-announce
On Thursday, 30 July 2015 at 18:23:21 UTC, Jacob Carlborg wrote: On 2015-07-30 12:19, ponce wrote: Based on prior Jacob Carlborg'work (AFAIK) and inspired by DerelictCF (https://github.com/Extrawurst/DerelictCF), DerelictCocoa is an elaborated hack to be able to use Cocoa without Xcode (tm).

Re: Helpers for writing unittests

2015-07-30 Thread Idan Arye via Digitalmars-d
On Friday, 31 July 2015 at 00:30:23 UTC, Jonathan M Davis wrote: On Friday, 31 July 2015 at 00:07:43 UTC, Idan Arye wrote: Thoughts? Some unit test helpers for this sort of thing might be nice, but I don't think that it really buys us much with this particular case. You could just as easily

Re: D for Android

2015-07-30 Thread Etienne Cimon via Digitalmars-d
On Thursday, 30 July 2015 at 19:38:12 UTC, Joakim wrote: On Monday, 25 May 2015 at 20:08:48 UTC, Joakim wrote: On Monday, 18 May 2015 at 15:47:07 UTC, Joakim wrote: Sure, have fun with your new devices. :) Hopefully, I'll get Android/ARM working before then, but I don't and won't have any

What is the current status of D build systems?

2015-07-30 Thread Yuxuan Shui via Digitalmars-d
Hi, I'm working on a project that mixes both C and D code, and does code generation as well. I've been using a shell script to hack this together, since I can't figure out how to do this with dub. Now I'm looking for a proper build system for building this project. reggae

[Issue 2548] Array ops that return value to a new array should work.

2015-07-30 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=2548 Jesse Phillips jesse.k.phillip...@gmail.com changed: What|Removed |Added Status|RESOLVED|REOPENED

[Issue 14845] [REG 2.068] some rangified Char[] functions no longer take a static array

2015-07-30 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14845 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added CC|

Re: Beta D 2.068.0-b2

2015-07-30 Thread Joseph Cassman via Digitalmars-d-announce
On Thursday, 30 July 2015 at 00:59:16 UTC, Joseph Cassman wrote: On Wednesday, 29 July 2015 at 07:16:39 UTC, Martin Nowak wrote: [...] Martin, appreciate the help with this issue. I have investigated further and it looks like there is a work-around (item [3] below). Here is a synopsis of

Re: Helpers for writing unittests

2015-07-30 Thread jmh530 via Digitalmars-d
On Friday, 31 July 2015 at 00:07:43 UTC, Idan Arye wrote: people want Rust's traits(or C++'s Concepts) in D. Just to quibble, that wasn't my take-a-way from the thread. My take-a-way is that Jonathan Davis is really good at explaining things.

Re: Interfaces, traits, concepts, and my idea for a DIP

2015-07-30 Thread Sean Campbell via Digitalmars-d
On Tuesday, 28 July 2015 at 18:23:02 UTC, Tofu Ninja wrote: On Tuesday, 28 July 2015 at 13:23:37 UTC, Daniel Kozák wrote: [...] I have actually thought about this as well, and a thing that could actually make this possible is if UDAs could get the thing they are attached to. I realized it

Re: D for Android

2015-07-30 Thread Rikki Cattermole via Digitalmars-d
On 31/07/2015 7:38 a.m., Joakim wrote: On Monday, 25 May 2015 at 20:08:48 UTC, Joakim wrote: On Monday, 18 May 2015 at 15:47:07 UTC, Joakim wrote: Sure, have fun with your new devices. :) Hopefully, I'll get Android/ARM working before then, but I don't and won't have any AArch64 devices to

Re: What is the current status of D build systems?

2015-07-30 Thread Yuxuan Shui via Digitalmars-d
On Friday, 31 July 2015 at 02:00:41 UTC, Mike Parker wrote: On Friday, 31 July 2015 at 00:13:42 UTC, Yuxuan Shui wrote: are there any other build systems I should look into? Premake [1] supports mixing languages in the same build script. It's not a build tool itself, but can generate

Re: D for Game Development

2015-07-30 Thread Brandon Ragland via Digitalmars-d
On Thursday, 30 July 2015 at 21:27:09 UTC, deadalnix wrote: On Thursday, 30 July 2015 at 15:10:59 UTC, Brandon Ragland wrote: It's a dog because Java is a dog. But that's not because of the GC. It's not really that bad either, I can open up Minecraft at any time and have it sit in the

Re: D for Game Development

2015-07-30 Thread Brandon Ragland via Digitalmars-d
On Thursday, 30 July 2015 at 22:39:38 UTC, Márcio Martins wrote: On Thursday, 30 July 2015 at 21:27:09 UTC, deadalnix wrote: On Thursday, 30 July 2015 at 15:10:59 UTC, Brandon Ragland wrote: It's a dog because Java is a dog. But that's not because of the GC. It's not really that bad either,

Re: extern(C) with function returning user type

2015-07-30 Thread Kyoji Klyden via Digitalmars-d-learn
On Thursday, 30 July 2015 at 11:32:10 UTC, bachmeier wrote: On Thursday, 30 July 2015 at 01:14:06 UTC, Mike Parker wrote: On Wednesday, 29 July 2015 at 18:42:45 UTC, Kyoji Klyden wrote: Thanks for the replies, This issue really highlights one of D's weak points I think. I've atleast got a

Re: Rant after trying Rust a bit

2015-07-30 Thread Enamex via Digitalmars-d
On Wednesday, 22 July 2015 at 18:47:33 UTC, simendsjo wrote: Long rant ahead - a bit dipsy.. TL;DR: Rust has momentum, manpower and tooling. Tooling matters. Safe defaults. Ergonomics like expressions and deconstructing rocks. [...] But again... After playing a bit with Rust, I feel it

Re: Rant after trying Rust a bit

2015-07-30 Thread Enamex via Digitalmars-d
On Friday, 31 July 2015 at 03:41:35 UTC, Enamex wrote: [...] Mostly my experience, so far. If I have to choose the 'most important' things that Rust has that I'd *definitely* want in D, I'd pick (in order): * A really nicely integrated package manager like Cargo that goes seamlessly

[Issue 14828] duplicate symbol __ModuleInfoZ depending on ordering of files passed to dmd

2015-07-30 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14828 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Attachment #1534|0 |1 is obsolete|

Re: What is the current status of D build systems?

2015-07-30 Thread Mike Parker via Digitalmars-d
On Friday, 31 July 2015 at 00:13:42 UTC, Yuxuan Shui wrote: are there any other build systems I should look into? Premake [1] supports mixing languages in the same build script. It's not a build tool itself, but can generate makefiles and IDE projects. Manu [2] maintains extensions for D

Re: D for Game Development

2015-07-30 Thread Danni Coy via Digitalmars-d
Using C code from D is actually a fairly straightforward to do, all you need to do is write a D version of the function signature you want to call and tell D to mangle it as a C function eg extern(C) { int SDL_Init(uint flags); } now you just need to tell the linker to link in libsdl and you are

Re: std.container.array - are these arrays passed by reference?

2015-07-30 Thread Jonathan M Davis via Digitalmars-d-learn
On Thursday, July 30, 2015 21:05:24 Harry P via Digitalmars-d-learn wrote: I'm trying to avoid the gc so I'm using std.container.array arrays instead of the standard ones. I know the standard arrays return by reference so I imagine that the nogc alternative is also passed by reference because

Re: D for Game Development

2015-07-30 Thread Mike Parker via Digitalmars-d
Everyone always references Minecraft, but that's not the only Java game out there. There are quite a few on Steam. You'll never even know they're Java if you don't follow their development, as they ship with a bundled JRE. The Java games that perform poorly or hog resources are always held up

Re: D for Android

2015-07-30 Thread Elvis Zhou via Digitalmars-d
On Thursday, 30 July 2015 at 19:38:12 UTC, Joakim wrote: On Monday, 25 May 2015 at 20:08:48 UTC, Joakim wrote: [...] Some good news, I've made progress on the port to Android/ARM, using ldc's 2.067 branch. Currently, all 46 modules in druntime and 85 of 88 modules in phobos pass their

Re: std.data.json formal review

2015-07-30 Thread Jacob Carlborg via Digitalmars-d
On 2015-07-30 06:41, Walter Bright wrote: I agree with your goal of readability. And if someone wants to write code that emphasizes it's JSON, they can write it as std.data.json.parseStream. (It's not about saving typing, it's about avoiding extra redundant redundancy, I'm a big fan of Strunk

Re: force inline/not-inline

2015-07-30 Thread Steven Schveighoffer via Digitalmars-d
On 7/28/15 6:12 PM, David Nadlinger wrote: On Tuesday, 28 July 2015 at 21:29:45 UTC, Steven Schveighoffer wrote: On 7/28/15 5:28 PM, Steven Schveighoffer wrote: On 7/28/15 5:24 PM, David Nadlinger wrote: On Tuesday, 28 July 2015 at 15:56:52 UTC, Jonathan M Davis wrote: It[Accepting

Re: Beta D 2.068.0-b2

2015-07-30 Thread Rainer Schuetze via Digitalmars-d-announce
On 30.07.2015 20:27, Rainer Schuetze wrote: On 30.07.2015 09:49, Sönke Ludwig wrote: Am 30.07.2015 um 02:59 schrieb Joseph Cassman: 4) The VS 2015 Community 2015 installation [2] also includes a complete build system. However, the DMD Windows installer does not recognize it and fails to

Re: Beta D 2.068.0-b2

2015-07-30 Thread Vladimir Panteleev via Digitalmars-d-announce
On Thursday, 30 July 2015 at 18:42:08 UTC, Rainer Schuetze wrote: Vladimir, can you just clean the page and add the link to the startpage and the github repo? It seems that has been done with the cv2pdb project. Done.

Re: Beta D 2.068.0-b2

2015-07-30 Thread Rainer Schuetze via Digitalmars-d-announce
On 30.07.2015 20:46, Vladimir Panteleev wrote: On Thursday, 30 July 2015 at 18:42:08 UTC, Rainer Schuetze wrote: Vladimir, can you just clean the page and add the link to the startpage and the github repo? It seems that has been done with the cv2pdb project. Done. That was fast. Thanks!

[Issue 14564] [REG2.067] dmd -property -unittest combination causes compiler error

2015-07-30 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14564 ag0ae...@gmail.com changed: What|Removed |Added Keywords||pull --- Comment #13 from

Re: Interfaces, traits, concepts, and my idea for a DIP

2015-07-30 Thread jmh530 via Digitalmars-d
On Thursday, 30 July 2015 at 10:40:59 UTC, Atila Neves wrote: You still wouldn't get a better error message here than with: struct MyRange { ... static assert(isInputRange!MyRange); } It's less typing, but you still wouldn't know why the static assertion failed. Now, if we make

Re: Beta D 2.068.0-b2

2015-07-30 Thread Sönke Ludwig via Digitalmars-d-announce
Am 30.07.2015 um 02:59 schrieb Joseph Cassman: 4) The VS 2015 Community 2015 installation [2] also includes a complete build system. However, the DMD Windows installer does not recognize it and fails to update the sc.ini file accordingly. I will file a bug report shortly with details. I think

Re: Last call for AliasSeq

2015-07-30 Thread via Digitalmars-d
If in doubt, just google define:sequence and you'll get these two meanings: 1. a particular order in which related things follow each other. 2. a set of related events, movements, or items that follow each other in a particular order. Replace related with type and things with value.

Implement Parse implementation like in Red

2015-07-30 Thread Suliman via Digitalmars-d
Red have very nice future called Parse http://www.red-lang.org/2013/11/041-introducing-parse.html Is it's possible to implement something like it in D/Phobos?

[Issue 14849] New: Visual Studio 2015 not detected during installation

2015-07-30 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14849 Issue ID: 14849 Summary: Visual Studio 2015 not detected during installation Product: D Version: D2 Hardware: x86_64 OS: Windows Status: NEW Severity: normal

[Issue 14828] duplicate symbol __ModuleInfoZ depending on ordering of files passed to dmd

2015-07-30 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14828 --- Comment #6 from Martin Nowak c...@dawg.eu --- This might have the same cause as issue 14748. --

[Issue 14828] duplicate symbol __ModuleInfoZ depending on ordering of files passed to dmd

2015-07-30 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14828 Martin Nowak c...@dawg.eu changed: What|Removed |Added CC||c...@dawg.eu --- Comment #5 from

Re: Implement Parse implementation like in Red

2015-07-30 Thread Suliman via Digitalmars-d
On Thursday, 30 July 2015 at 08:14:44 UTC, tcak wrote: On Thursday, 30 July 2015 at 08:04:37 UTC, Suliman wrote: Red have very nice future called Parse http://www.red-lang.org/2013/11/041-introducing-parse.html Is it's possible to implement something like it in D/Phobos? I already have

Re: Last call for AliasSeq

2015-07-30 Thread via Digitalmars-d
On Thursday, 30 July 2015 at 04:20:41 UTC, Timon Gehr wrote: type exists in the latter system. D does not have a design that is as principled as that of the systems you draw inspiration from. I'm not drawing inspiration from anywhere. I'm talking about how the term sequence/seq is commonly

Re: std.data.json formal review

2015-07-30 Thread Sönke Ludwig via Digitalmars-d
Am 30.07.2015 um 05:25 schrieb Walter Bright: On 7/29/2015 1:41 PM, Sönke Ludwig wrote: The token level is useful for reasoning about the text representation. It could be used for example to implement syntax highlighting, or for using the location information to mark errors in the source code.

Re: std.data.json formal review

2015-07-30 Thread Sönke Ludwig via Digitalmars-d
Am 30.07.2015 um 09:27 schrieb Suliman: If this implementation will be merged with phobos will vibed migrate to it, or it would two similar libs? I'll then make the vibe.d JSON module compatible using alias this implicit conversions and then deprecate it over a longer period of time before

Re: Implement Parse implementation like in Red

2015-07-30 Thread tcak via Digitalmars-d
On Thursday, 30 July 2015 at 08:04:37 UTC, Suliman wrote: Red have very nice future called Parse http://www.red-lang.org/2013/11/041-introducing-parse.html Is it's possible to implement something like it in D/Phobos? I already have implemented a similar thing to it. A little more complex,

[Issue 14849] Visual Studio 2015 not detected during installation

2015-07-30 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14849 --- Comment #1 from Martin Nowak c...@dawg.eu --- Might be as simple to fix as adding the correct path here. https://github.com/D-Programming-Language/installer/blob/eee4042403a1067d74d548a42eca363d15abf1c1/windows/d2-installer.nsi#L268 --

  1   2   >