What is the state of D for game development?

2015-12-17 Thread Ali Çehreli via Digitalmars-d
I am stealing HerrDrFaust's question from the following Reddit thread: https://www.reddit.com/r/programming/comments/3wqt3p/programming_in_d_ebook_is_at_major_retailers_and/ Please answer here or there. Thank you, Ali

Re: What is the state of D for game development?

2015-12-17 Thread BLM768 via Digitalmars-d
On Thursday, 17 December 2015 at 17:38:31 UTC, Ali Çehreli wrote: I am stealing HerrDrFaust's question from the following Reddit thread: https://www.reddit.com/r/programming/comments/3wqt3p/programming_in_d_ebook_is_at_major_retailers_and/ Please answer here or there. Thank you, Ali Well,

Re: What is the state of D for game development?

2015-12-17 Thread BLM768 via Digitalmars-d
On Friday, 18 December 2015 at 00:03:06 UTC, extrawurst wrote: What PR is that ? Link ? --Stephan https://github.com/D-Programming-Language/dmd/pull/5290 It adds some __traits that would make it easier for me to introspect my binding modules and generate glue code. Right now, I'm using

Re: What is the state of D for game development?

2015-12-17 Thread extrawurst via Digitalmars-d
On Thursday, 17 December 2015 at 17:46:15 UTC, BLM768 wrote: On Thursday, 17 December 2015 at 17:38:31 UTC, Ali Çehreli wrote: I am stealing HerrDrFaust's question from the following Reddit thread:

Re: D for Game Development

2015-08-13 Thread Mike Parker via Digitalmars-d
On Wednesday, 12 August 2015 at 14:57:17 UTC, jmh530 wrote: Regardless, my point is more about the importance of a seamless installation on Windows than necessarily about what is required or not. This isn't unique to D. I just tried to install the Clang Windows binary and I got a message

Re: D for Game Development

2015-08-13 Thread Kagamin via Digitalmars-d
On Wednesday, 12 August 2015 at 13:32:10 UTC, kink wrote: Afaik DMD for Win64 requires the MS linker, so good luck without Visual Studio then. Same goes for LDC on Win64, although an LLVM COFF linker is under development. Serious system programming on Windows without MSVC and its C runtime?

Re: D for Game Development

2015-08-12 Thread jmh530 via Digitalmars-d
On Wednesday, 12 August 2015 at 13:32:10 UTC, kink wrote: Afaik DMD for Win64 requires the MS linker, so good luck without Visual Studio then. Same goes for LDC on Win64, although an LLVM COFF linker is under development. Serious system programming on Windows without MSVC and its C runtime?

Re: D for Game Development

2015-08-12 Thread Jacob Carlborg via Digitalmars-d
On 2015-08-11 09:08, Timothee Cour via Digitalmars-d wrote: on OSX I only see libphobos2.a (including dmd 2.068) It's not supported on OS X. -- /Jacob Carlborg

Re: D for Game Development

2015-08-12 Thread kink via Digitalmars-d
On Wednesday, 12 August 2015 at 14:57:17 UTC, jmh530 wrote: Well I'm not sure what percent serious system programming is done by other people, but I don't do any. I understand your points. I meant to say that D is a system programming language (too), so it's tightly coupled to some internals

Re: D for Game Development

2015-08-12 Thread kink via Digitalmars-d
On Tuesday, 11 August 2015 at 00:56:57 UTC, Manu wrote: On 11 August 2015 at 01:15, jmh530 via Digitalmars-d digitalmars-d@puremagic.com wrote: One big positive for DMD is that it is very easy to install on Windows. Just about anyone can get up and running quite easily. It doesn't require the

Re: D for Game Development

2015-08-11 Thread Walter Bright via Digitalmars-d
On 8/11/2015 12:57 AM, Benjamin Thaut wrote: Also the front end transition from C++ to D hits me hard also. It's going to hit everyone hard who works on the front end.

Re: D for Game Development

2015-08-11 Thread Benjamin Thaut via Digitalmars-d
On Monday, 10 August 2015 at 05:23:20 UTC, Walter Bright wrote: On 8/9/2015 9:26 PM, Tofu Ninja wrote: On Sunday, 9 August 2015 at 20:51:32 UTC, Walter Bright wrote: On 8/9/2015 4:38 AM, Manu via Digitalmars-d wrote: On 9 August 2015 at 15:31, Walter Bright via Digitalmars-d I agree, and

Re: D for Game Development

2015-08-11 Thread via Digitalmars-d
On Monday, 10 August 2015 at 19:31:55 UTC, David Gileadi wrote: …[insert your language here] has a long way to go… :) Yes, the real culprit is getting really good IDE support, and for that one need to write a high quality analyzer that can provide more information than a compiler. As far

Re: D for Game Development

2015-08-11 Thread via Digitalmars-d
On Monday, 10 August 2015 at 19:34:26 UTC, rsw0x wrote: On Monday, 10 August 2015 at 19:31:55 UTC, David Gileadi wrote: On 8/10/15 12:25 PM, Ola Fosheim =?UTF-8?B?R3LDuHN0YWQi?= ola.fosheim.grostad+dl...@gmail.com wrote: [...] …[insert your language here] has a long way to go… :) Which is

Re: D for Game Development

2015-08-11 Thread Timothee Cour via Digitalmars-d
On Sun, Aug 9, 2015 at 12:33 AM, Walter Bright via Digitalmars-d digitalmars-d@puremagic.com wrote: On 8/9/2015 12:18 AM, Iain Buclaw via Digitalmars-d wrote: If the libraries were shared, this would reduce linking time, which in various benchmarks I've done is where most small projects

Re: D for Game Development

2015-08-10 Thread Jacob Carlborg via Digitalmars-d
On 10/08/15 14:25, Manu via Digitalmars-d wrote: I wonder how .so files to work on those platforms? I expect iOS would leverage OSX support almost verbatim? Shared libraries are not supported on OS X, at least not with DMD, not sure about LDC. On Android, all binaries are .so files; but I

Re: D for Game Development

2015-08-10 Thread via Digitalmars-d
On Sunday, 9 August 2015 at 02:41:00 UTC, Manu wrote: People keep talking about Rust, I'm thinking of giving it a shot. I feel there is something wrong with the Rust and Go agendas, both languages have interesting features, but then they seem to get too moralistic/political. Is there a way

Re: D for Game Development

2015-08-10 Thread jmh530 via Digitalmars-d
On Monday, 10 August 2015 at 14:13:53 UTC, Manu wrote: I really hope this is a top-priority goal for the switch to DDMD. My understanding is that 2.069 is supposed to bring DDMD support. I think there has been a lot of heated discussion about something that really isn't that far away.

Re: D for Game Development

2015-08-10 Thread ponce via Digitalmars-d
On Monday, 10 August 2015 at 14:44:42 UTC, Jacob Carlborg wrote: Shared libraries are not supported on OS X, at least not with DMD, not sure about LDC. Shared libraries works well here on OS X with LDC 0.15.2-beta2 (and only with LDC).

Re: D for Game Development

2015-08-10 Thread David Gileadi via Digitalmars-d
On 8/10/15 12:25 PM, Ola Fosheim =?UTF-8?B?R3LDuHN0YWQi?= ola.fosheim.grostad+dl...@gmail.com wrote: On Sunday, 9 August 2015 at 02:41:00 UTC, Manu wrote: People keep talking about Rust, I'm thinking of giving it a shot. I feel there is something wrong with the Rust and Go agendas, both

Re: D for Game Development

2015-08-10 Thread Tofu Ninja via Digitalmars-d
On Monday, 10 August 2015 at 19:34:26 UTC, rsw0x wrote: On Monday, 10 August 2015 at 19:31:55 UTC, David Gileadi wrote: On 8/10/15 12:25 PM, Ola Fosheim =?UTF-8?B?R3LDuHN0YWQi?= ola.fosheim.grostad+dl...@gmail.com wrote: [...] …[insert your language here] has a long way to go… :) Which is

Re: D for Game Development

2015-08-10 Thread rsw0x via Digitalmars-d
On Monday, 10 August 2015 at 20:20:36 UTC, Tofu Ninja wrote: On Monday, 10 August 2015 at 19:34:26 UTC, rsw0x wrote: On Monday, 10 August 2015 at 19:31:55 UTC, David Gileadi wrote: On 8/10/15 12:25 PM, Ola Fosheim =?UTF-8?B?R3LDuHN0YWQi?= ola.fosheim.grostad+dl...@gmail.com wrote: [...]

Re: D for Game Development

2015-08-10 Thread rsw0x via Digitalmars-d
On Monday, 10 August 2015 at 19:25:45 UTC, Ola Fosheim Grøstad wrote: On Sunday, 9 August 2015 at 02:41:00 UTC, Manu wrote: People keep talking about Rust, I'm thinking of giving it a shot. I feel there is something wrong with the Rust and Go agendas, both languages have interesting

Re: D for Game Development

2015-08-10 Thread rsw0x via Digitalmars-d
On Monday, 10 August 2015 at 19:31:55 UTC, David Gileadi wrote: On 8/10/15 12:25 PM, Ola Fosheim =?UTF-8?B?R3LDuHN0YWQi?= ola.fosheim.grostad+dl...@gmail.com wrote: [...] …[insert your language here] has a long way to go… :) Which is why I think people are attracted towards D. It's very

Re: D for Game Development

2015-08-10 Thread Manu via Digitalmars-d
On 11 August 2015 at 01:15, jmh530 via Digitalmars-d digitalmars-d@puremagic.com wrote: On Monday, 10 August 2015 at 14:13:53 UTC, Manu wrote: I really hope this is a top-priority goal for the switch to DDMD. My understanding is that 2.069 is supposed to bring DDMD support. I think there

Re: D for Game Development

2015-08-10 Thread John Colvin via Digitalmars-d
On Sunday, 9 August 2015 at 05:31:41 UTC, Walter Bright wrote: I agree, and now we ship a Phobos DLL, resolving that issue. I think most people these days associate DLL exclusively with windows. I certainly do.

Re: D for Game Development

2015-08-10 Thread ponce via Digitalmars-d
On Monday, 10 August 2015 at 01:26:44 UTC, Walter Bright wrote: On 8/9/2015 2:03 PM, ponce wrote: Once I get back to Windows I will post the report. Thank you. https://issues.dlang.org/show_bug.cgi?id=14896

Re: D for Game Development

2015-08-10 Thread Jacob Carlborg via Digitalmars-d
On 10/08/15 10:43, John Colvin wrote: I think most people these days associate DLL exclusively with windows. I certainly do. Exactly. DLL on Windows and shared library on Posix. Although I think it's dynamic library on OS X. -- /Jacob Carlborg

Re: D for Game Development

2015-08-10 Thread Iain Buclaw via Digitalmars-d
On 10 August 2015 at 12:29, Jacob Carlborg via Digitalmars-d digitalmars-d@puremagic.com wrote: On 10/08/15 10:43, John Colvin wrote: I think most people these days associate DLL exclusively with windows. I certainly do. Exactly. DLL on Windows and shared library on Posix. Although I

Re: D for Game Development

2015-08-10 Thread Walter Bright via Digitalmars-d
On 8/10/2015 3:32 AM, ponce wrote: On Monday, 10 August 2015 at 01:26:44 UTC, Walter Bright wrote: On 8/9/2015 2:03 PM, ponce wrote: Once I get back to Windows I will post the report. Thank you. https://issues.dlang.org/show_bug.cgi?id=14896 Good!

Re: D for Game Development

2015-08-10 Thread Manu via Digitalmars-d
On 10 August 2015 at 05:00, Jacob Carlborg via Digitalmars-d digitalmars-d@puremagic.com wrote: On 09/08/15 13:38, Manu via Digitalmars-d wrote: In fact, we've been discussing for a few months that we'd have have another very promising opportunity to use D at work in a really appropriate

Re: D for Game Development

2015-08-10 Thread Manu via Digitalmars-d
On 10 August 2015 at 06:51, Walter Bright via Digitalmars-d digitalmars-d@puremagic.com wrote: On 8/9/2015 4:38 AM, Manu via Digitalmars-d wrote: On 9 August 2015 at 15:31, Walter Bright via Digitalmars-d But waiting for someone else to discover the same thing on some other piece of code

Re: D for Game Development

2015-08-09 Thread Dmitry Olshansky via Digitalmars-d
On 09-Aug-2015 12:33, Manu via Digitalmars-d wrote: On 9 August 2015 at 13:34, Rikki Cattermole via Digitalmars-d digitalmars-d@puremagic.com wrote: On 9/08/2015 2:40 p.m., Manu via Digitalmars-d wrote: [snip] Even though it is hard for you to still be here, I hope you do continue to help D

Re: D for Game Development

2015-08-09 Thread Jacob Carlborg via Digitalmars-d
On 09/08/15 11:04, Johannes Pfau wrote: Do you support shared libraries on OSX with that emulated TLS system for all use cases? Shared libraries are not supported at all on OS X. -- /Jacob Carlborg

Re: D for Game Development

2015-08-09 Thread Manu via Digitalmars-d
On 9 August 2015 at 15:31, Walter Bright via Digitalmars-d digitalmars-d@puremagic.com wrote: On 8/8/2015 7:40 PM, Manu via Digitalmars-d wrote: 1. DMD has unsatisfactory codegen for anything other than debug builds. Do you mean the codegen is slower? But consider that the bottleneck in most

Re: D for Game Development

2015-08-09 Thread NVolcz via Digitalmars-d
On Sunday, 9 August 2015 at 10:21:06 UTC, NVolcz wrote: There seems like there are many problems with DMD and many problems asked here in the newsgroup are answered with don't use DMD. Maybe it's time to deprecate DMD? Maybe at least make sure it's up to date with the ecosystem. Sorry didn't

Re: D for Game Development

2015-08-09 Thread Jacob Carlborg via Digitalmars-d
On 09/08/15 09:33, Walter Bright wrote: We ship Phobos as a shared library on Linux, OSX and FreeBSD. No on OS X. -- /Jacob Carlborg

Re: D for Game Development

2015-08-09 Thread NVolcz via Digitalmars-d
On Sunday, 9 August 2015 at 02:41:00 UTC, Manu wrote: snip / It's not so much language problems, it's tooling problems. It's the most important and perhaps most neglected aspect of the D ecosystem. 1. DMD has unsatisfactory codegen for anything other than debug builds. 2. DMD generates x87

Re: D for Game Development

2015-08-09 Thread Manu via Digitalmars-d
On 9 August 2015 at 20:04, Dmitry Olshansky via Digitalmars-d digitalmars-d@puremagic.com wrote: On 09-Aug-2015 12:33, Manu via Digitalmars-d wrote: On 9 August 2015 at 13:34, Rikki Cattermole via Digitalmars-d digitalmars-d@puremagic.com wrote: On 9/08/2015 2:40 p.m., Manu via Digitalmars-d

Re: D for Game Development

2015-08-09 Thread Manu via Digitalmars-d
On 9 August 2015 at 13:34, Rikki Cattermole via Digitalmars-d digitalmars-d@puremagic.com wrote: On 9/08/2015 2:40 p.m., Manu via Digitalmars-d wrote: [...] Don't worry about it! But I see your point. All we can do is truck on. You will enjoy my latest blog post I think[0]. I reiterate

Re: D for Game Development

2015-08-09 Thread Johannes Pfau via Digitalmars-d
Am Sun, 9 Aug 2015 02:17:11 -0700 schrieb Walter Bright newshou...@digitalmars.com: On 8/9/2015 2:07 AM, Johannes Pfau wrote: DMD has the advantage that whenever a frontend pull request requires glue layer changes you get at and once by the contributor. But for LDC and GDC the glue layer

Re: D for Game Development

2015-08-09 Thread Walter Bright via Digitalmars-d
On 8/9/2015 2:33 AM, Johannes Pfau wrote: Sure. I'm not arguing that LDC or GDC should be the default, just wanted to explain why we could really need some more contributors for GDC/LDC ;-) We could use more contributors in general!

Re: D for Game Development

2015-08-09 Thread Walter Bright via Digitalmars-d
On 8/9/2015 2:25 AM, Iain Buclaw via Digitalmars-d wrote: Now we have the testsuite, which seems to be a good enough gauge for finding problems. However if there's been a change (eg: refactor) between what codegen is lowered in the frontend vs. glue, then it becomes a commit hunt trawling

Re: D for Game Development

2015-08-09 Thread Iain Buclaw via Digitalmars-d
On 9 Aug 2015 11:35 am, Johannes Pfau via Digitalmars-d digitalmars-d@puremagic.com wrote: Am Sun, 9 Aug 2015 02:17:11 -0700 schrieb Walter Bright newshou...@digitalmars.com: On 8/9/2015 2:07 AM, Johannes Pfau wrote: DMD has the advantage that whenever a frontend pull request requires

Re: D for Game Development

2015-08-09 Thread Iain Buclaw via Digitalmars-d
On 9 August 2015 at 07:31, Walter Bright via Digitalmars-d digitalmars-d@puremagic.com wrote: On 8/8/2015 7:40 PM, Manu via Digitalmars-d wrote: 1. DMD has unsatisfactory codegen for anything other than debug builds. Do you mean the codegen is slower? But consider that the bottleneck in

Re: D for Game Development

2015-08-09 Thread Tofu Ninja via Digitalmars-d
On Sunday, 9 August 2015 at 05:18:33 UTC, rsw0x wrote: On Sunday, 9 August 2015 at 02:41:00 UTC, Manu wrote: ... This pretty much hit the nail on the head on why dmd needs deprecated. I'm tired of seeing 'BUT IT WORKS ON WINDOWS' as an excuse. I don't care if it works on windows, it

Re: D for Game Development

2015-08-09 Thread Iain Buclaw via Digitalmars-d
On 9 August 2015 at 08:36, Tofu Ninja via Digitalmars-d digitalmars-d@puremagic.com wrote: On Sunday, 9 August 2015 at 05:18:33 UTC, rsw0x wrote: On Sunday, 9 August 2015 at 02:41:00 UTC, Manu wrote: ... This pretty much hit the nail on the head on why dmd needs deprecated. I'm tired

Re: D for Game Development

2015-08-09 Thread rsw0x via Digitalmars-d
On Sunday, 9 August 2015 at 06:59:15 UTC, Iain Buclaw wrote: On 9 August 2015 at 08:36, Tofu Ninja via Digitalmars-d digitalmars-d@puremagic.com wrote: [...] (Neo)Vim? :o) [...] Not sure which environment you refer to, but most times I've been pinged into discussion, the problem was

Re: D for Game Development

2015-08-09 Thread Iain Buclaw via Digitalmars-d
On 9 August 2015 at 09:03, rsw0x via Digitalmars-d digitalmars-d@puremagic.com wrote: On Sunday, 9 August 2015 at 06:59:15 UTC, Iain Buclaw wrote: On 9 August 2015 at 08:36, Tofu Ninja via Digitalmars-d digitalmars-d@puremagic.com wrote: [...] (Neo)Vim? :o) [...] Not sure which

Re: D for Game Development

2015-08-09 Thread Walter Bright via Digitalmars-d
On 8/8/2015 11:38 PM, Iain Buclaw via Digitalmars-d wrote: I know that at least for the benefit of std.math, we should allow any precision without expensive casting to and from real, which has been found to be a performance problem on various benchmarks (GDC, LDC, DMD, doesn't matter). I

Re: D for Game Development

2015-08-09 Thread Walter Bright via Digitalmars-d
On 8/9/2015 12:18 AM, Iain Buclaw via Digitalmars-d wrote: If the libraries were shared, this would reduce linking time, which in various benchmarks I've done is where most small projects spend the majority of their time doing. But no one has as of yet come up with a feasibly implementable idea

Re: D for Game Development

2015-08-09 Thread Walter Bright via Digitalmars-d
On 8/8/2015 11:36 PM, Tofu Ninja wrote: On Sunday, 9 August 2015 at 05:18:33 UTC, rsw0x wrote: dmd not being deprecated continues the cycle of gdc/ldc lagging versions behind and being understaffed in manpower. I think another point to look at is how far gdc and ldc have come while still

Re: D for Game Development

2015-08-09 Thread Iain Buclaw via Digitalmars-d
On 9 August 2015 at 09:28, Walter Bright via Digitalmars-d digitalmars-d@puremagic.com wrote: On 8/8/2015 11:38 PM, Iain Buclaw via Digitalmars-d wrote: I know that at least for the benefit of std.math, we should allow any precision without expensive casting to and from real, which has been

Re: D for Game Development

2015-08-09 Thread Iain Buclaw via Digitalmars-d
On 9 August 2015 at 09:33, Walter Bright via Digitalmars-d digitalmars-d@puremagic.com wrote: On 8/9/2015 12:18 AM, Iain Buclaw via Digitalmars-d wrote: If the libraries were shared, this would reduce linking time, which in various benchmarks I've done is where most small projects spend the

Re: D for Game Development

2015-08-09 Thread Walter Bright via Digitalmars-d
On 8/9/2015 12:36 AM, Iain Buclaw via Digitalmars-d wrote: What about intrinsics? https://github.com/D-Programming-Language/phobos/blob/94f718e5c69939f595fb839d3aae24878f126d78/std/math.d#L630 There isn't a simd cosine instruction, so making cos(double) builtin accomplishes nothing. However,

Re: D for Game Development

2015-08-09 Thread Iain Buclaw via Digitalmars-d
On 9 August 2015 at 09:53, Walter Bright via Digitalmars-d digitalmars-d@puremagic.com wrote: On 8/9/2015 12:36 AM, Iain Buclaw via Digitalmars-d wrote: What about intrinsics? https://github.com/D-Programming-Language/phobos/blob/94f718e5c69939f595fb839d3aae24878f126d78/std/math.d#L630

Re: D for Game Development

2015-08-09 Thread Walter Bright via Digitalmars-d
On 8/9/2015 12:51 AM, Iain Buclaw via Digitalmars-d wrote: On 9 August 2015 at 09:33, Walter Bright via Digitalmars-d digitalmars-d@puremagic.com mailto:digitalmars-d@puremagic.com wrote: On 8/9/2015 12:18 AM, Iain Buclaw via Digitalmars-d wrote: If the libraries were shared, this

Re: D for Game Development

2015-08-09 Thread Walter Bright via Digitalmars-d
On 8/9/2015 1:05 AM, Iain Buclaw via Digitalmars-d wrote: This is on Windows? I'm not seeing this on Linux. http://goo.gl/58yhwU You're seeing that on Linux because doubles are passed/returned in XMM0 on Linux, and the only way to load XMM0 into the x87 is to pass it through a memory

Re: D for Game Development

2015-08-09 Thread Walter Bright via Digitalmars-d
On 8/9/2015 1:11 AM, Walter Bright wrote: You're seeing that on Linux because doubles are passed/returned in XMM0 on Linux, and the only way to load XMM0 into the x87 is to pass it through a memory location. There's still no casting to/from real, even in that asm code. BTW, if you want to

Re: D for Game Development

2015-08-09 Thread Johannes Pfau via Digitalmars-d
Am Sun, 9 Aug 2015 01:05:35 -0700 schrieb Walter Bright newshou...@digitalmars.com: I don't understand your question. On Linux, TLS data is inserted into the same section that gcc puts it. On OSX, where gcc didn't support TLS, dmd did create it into a data segment. Every time a new thread was

Re: D for Game Development

2015-08-09 Thread Johannes Pfau via Digitalmars-d
Am Sun, 9 Aug 2015 00:32:00 -0700 schrieb Walter Bright newshou...@digitalmars.com: On 8/8/2015 11:36 PM, Tofu Ninja wrote: On Sunday, 9 August 2015 at 05:18:33 UTC, rsw0x wrote: dmd not being deprecated continues the cycle of gdc/ldc lagging versions behind and being understaffed in

Re: D for Game Development

2015-08-09 Thread Walter Bright via Digitalmars-d
On 8/9/2015 2:07 AM, Johannes Pfau wrote: DMD has the advantage that whenever a frontend pull request requires glue layer changes you get at and once by the contributor. But for LDC and GDC the glue layer changes have to be implemented by GDC/LDC devs. If LDC were the default, then the GDC

Re: D for Game Development

2015-08-09 Thread Walter Bright via Digitalmars-d
On 8/9/2015 2:04 AM, Johannes Pfau wrote: That statement is too broad to be true ;-) GCC's emulated TLS doesn't have adjacent memory for TLS variables and it works fine with D (and the GC). It is a little bit slower than if we had adjacent memory. OTOH this approach works with all kinds of

Re: D for Game Development

2015-08-09 Thread Iain Buclaw via Digitalmars-d
On 9 August 2015 at 11:07, Johannes Pfau via Digitalmars-d digitalmars-d@puremagic.com wrote: Am Sun, 9 Aug 2015 00:32:00 -0700 schrieb Walter Bright newshou...@digitalmars.com: On 8/8/2015 11:36 PM, Tofu Ninja wrote: On Sunday, 9 August 2015 at 05:18:33 UTC, rsw0x wrote: dmd not

Re: D for Game Development

2015-08-09 Thread Dmitry Olshansky via Digitalmars-d
On 09-Aug-2015 15:27, Manu via Digitalmars-d wrote: On 9 August 2015 at 20:04, Dmitry Olshansky via Digitalmars-d digitalmars-d@puremagic.com wrote: On 09-Aug-2015 12:33, Manu via Digitalmars-d wrote: On 9 August 2015 at 13:34, Rikki Cattermole via Digitalmars-d digitalmars-d@puremagic.com

Re: D for Game Development

2015-08-09 Thread Andrei Alexandrescu via Digitalmars-d
On 8/9/15 5:15 AM, Walter Bright wrote: On 8/9/2015 2:04 AM, Johannes Pfau wrote: That statement is too broad to be true ;-) GCC's emulated TLS doesn't have adjacent memory for TLS variables and it works fine with D (and the GC). It is a little bit slower than if we had adjacent memory. OTOH

Re: D for Game Development

2015-08-09 Thread Manu via Digitalmars-d
On 9 August 2015 at 23:52, Dmitry Olshansky via Digitalmars-d digitalmars-d@puremagic.com wrote: On 09-Aug-2015 15:27, Manu via Digitalmars-d wrote: On 9 August 2015 at 20:04, Dmitry Olshansky via Digitalmars-d digitalmars-d@puremagic.com wrote: On 09-Aug-2015 12:33, Manu via Digitalmars-d

Re: D for Game Development

2015-08-09 Thread Jacob Carlborg via Digitalmars-d
On 09/08/15 15:53, Andrei Alexandrescu wrote: Where is the bugzilla issue etc :o). -- Andrei It's been there for a while [1] ;) [1] https://issues.dlang.org/show_bug.cgi?id=9476 -- /Jacob Carlborg

Re: D for Game Development

2015-08-09 Thread Jacob Carlborg via Digitalmars-d
On 09/08/15 13:38, Manu via Digitalmars-d wrote: In fact, we've been discussing for a few months that we'd have have another very promising opportunity to use D at work in a really appropriate context if I could rely on Android and iOS appearing within 6-12 months or so. There's been quite a

Re: D for Game Development

2015-08-09 Thread Walter Bright via Digitalmars-d
On 8/9/2015 4:38 AM, Manu via Digitalmars-d wrote: On 9 August 2015 at 15:31, Walter Bright via Digitalmars-d But waiting for someone else to discover the same thing on some other piece of code means you'll be waiting a long time. I understand, but that's not sustainable. We can't be in a

Re: D for Game Development

2015-08-09 Thread Walter Bright via Digitalmars-d
On 8/9/2015 12:59 PM, ponce wrote: Well, for Win64 the codegen is simply wrong. I don't even care if the codegen is fast or not, but correct should be a given. Biggest problem for me so far. There's nothing I nor anyone else can do with comments like this. It passes the executable part of the

Re: D for Game Development

2015-08-09 Thread ponce via Digitalmars-d
On Sunday, 9 August 2015 at 05:18:33 UTC, rsw0x wrote: On Sunday, 9 August 2015 at 02:41:00 UTC, Manu wrote: ... This pretty much hit the nail on the head on why dmd needs deprecated. I'm tired of seeing 'BUT IT WORKS ON WINDOWS' as an excuse. I don't care if it works on windows, it

Re: D for Game Development

2015-08-09 Thread ponce via Digitalmars-d
On Sunday, 9 August 2015 at 20:24:47 UTC, Walter Bright wrote: On 8/9/2015 12:59 PM, ponce wrote: Well, for Win64 the codegen is simply wrong. I don't even care if the codegen is fast or not, but correct should be a given. Biggest problem for me so far. There's nothing I nor anyone else can

Re: D for Game Development

2015-08-09 Thread Walter Bright via Digitalmars-d
On 8/9/2015 9:26 PM, Tofu Ninja wrote: On Sunday, 9 August 2015 at 20:51:32 UTC, Walter Bright wrote: On 8/9/2015 4:38 AM, Manu via Digitalmars-d wrote: On 9 August 2015 at 15:31, Walter Bright via Digitalmars-d I agree, and now we ship a Phobos DLL, resolving that issue. Really? Where is

Re: D for Game Development

2015-08-09 Thread Walter Bright via Digitalmars-d
On 8/9/2015 11:50 AM, Jacob Carlborg wrote: [1] https://issues.dlang.org/show_bug.cgi?id=9476 Thanks for helping out with this.

Re: D for Game Development

2015-08-09 Thread Walter Bright via Digitalmars-d
On 8/9/2015 2:03 PM, ponce wrote: Once I get back to Windows I will post the report. Thank you. The problem is that from a selfish point of view I can better optimize for my time and just disable optimizations in the faulty code, moving on to the next task. A Tragedy of the commons

Re: D for Game Development

2015-08-09 Thread Tofu Ninja via Digitalmars-d
On Sunday, 9 August 2015 at 20:51:32 UTC, Walter Bright wrote: On 8/9/2015 4:38 AM, Manu via Digitalmars-d wrote: On 9 August 2015 at 15:31, Walter Bright via Digitalmars-d I agree, and now we ship a Phobos DLL, resolving that issue. Really? Where is it? (I can't see it in the

Re: D for Game Development

2015-08-09 Thread jmh530 via Digitalmars-d
On Sunday, 9 August 2015 at 12:27:26 UTC, Manu wrote: Yeah, I keep coming back to it, and getting myself stuck with various troubles making it work good. I'm perpetually unhappy with my code, and I just need a really good block of time to get through it. If people want to review std.color

Re: D for Game Development

2015-08-09 Thread Iain Buclaw via Digitalmars-d
On 10 August 2015 at 06:26, Tofu Ninja via Digitalmars-d digitalmars-d@puremagic.com wrote: On Sunday, 9 August 2015 at 20:51:32 UTC, Walter Bright wrote: On 8/9/2015 4:38 AM, Manu via Digitalmars-d wrote: On 9 August 2015 at 15:31, Walter Bright via Digitalmars-d I agree, and now we

Re: D for Game Development

2015-08-08 Thread lobo via Digitalmars-d
On Friday, 7 August 2015 at 04:56:39 UTC, Rikki Cattermole wrote: *whispers* Hey hey you. You want tests? Well here is something you'll like[0]. Oh and check out[1]. [0] http://www.libpng.org/pub/png/pngsuite.html [1] http://forum.dlang.org/post/zxbexpwmirzdkewhq...@forum.dlang.org Well

Re: D for Game Development

2015-08-08 Thread Rikki Cattermole via Digitalmars-d
On 8/08/2015 8:05 p.m., lobo wrote: On Friday, 7 August 2015 at 04:56:39 UTC, Rikki Cattermole wrote: *whispers* Hey hey you. You want tests? Well here is something you'll like[0]. Oh and check out[1]. [0] http://www.libpng.org/pub/png/pngsuite.html [1]

Re: D for Game Development

2015-08-08 Thread ponce via Digitalmars-d
On Saturday, 8 August 2015 at 08:05:27 UTC, lobo wrote: Sorry I don't mean to sound harsh but that's the reality I'm in right now pushing D on teams in my workplace. It would be much simpler if there were quality (idiomatic) D interfaces to existing quality C/C++ libraries. Have you looked

Re: D for Game Development

2015-08-08 Thread karabuta via Digitalmars-d
On Friday, 7 August 2015 at 20:24:54 UTC, jmh530 wrote: On Friday, 7 August 2015 at 17:40:16 UTC, deadalnix wrote: [...] I wouldn't think what you're saying is controversial...just a lot of work to do well. [...] +2000

Re: D for Game Development

2015-08-08 Thread Manu via Digitalmars-d
On 6 August 2015 at 21:46, Rikki Cattermole via Digitalmars-d digitalmars-d@puremagic.com wrote: On 6/08/2015 11:30 p.m., Manu via Digitalmars-d wrote: On 6 August 2015 at 21:23, Rikki Cattermole via Digitalmars-d digitalmars-d@puremagic.com wrote: On 6/08/2015 11:18 p.m., Manu via

Re: D for Game Development

2015-08-08 Thread Rikki Cattermole via Digitalmars-d
://cattermole.co.nz/blog/uncategorized/where-goes-game-development-in-d/

Re: D for Game Development

2015-08-08 Thread rsw0x via Digitalmars-d
On Sunday, 9 August 2015 at 02:41:00 UTC, Manu wrote: ... This pretty much hit the nail on the head on why dmd needs deprecated. I'm tired of seeing 'BUT IT WORKS ON WINDOWS' as an excuse. I don't care if it works on windows, it produces code slower than interpreted lua. Exactly what use

Re: D for Game Development

2015-08-08 Thread Walter Bright via Digitalmars-d
On 8/8/2015 7:40 PM, Manu via Digitalmars-d wrote: 1. DMD has unsatisfactory codegen for anything other than debug builds. Do you mean the codegen is slower? But consider that the bottleneck in most programs is a small section of code. Taking a good look at the generated code for that and

Re: D for Game Development

2015-08-07 Thread via Digitalmars-d
On Friday, 7 August 2015 at 07:24:29 UTC, Dmitry Olshansky wrote: Truth be told if we were willing to walk extra mile we'd have proper curl/zlib experience. But linking problems plague std.net.curl usage and both libs are permanently somewhat out of date. boost http is currently in review.

Re: D for Game Development

2015-08-07 Thread Suliman via Digitalmars-d
On Friday, 7 August 2015 at 08:25:04 UTC, Ola Fosheim Grøstad wrote: On Friday, 7 August 2015 at 07:24:29 UTC, Dmitry Olshansky wrote: Truth be told if we were willing to walk extra mile we'd have proper curl/zlib experience. But linking problems plague std.net.curl usage and both libs are

Re: D for Game Development

2015-08-07 Thread Dmitry Olshansky via Digitalmars-d
On 07-Aug-2015 08:08, Rikki Cattermole wrote: On 7/08/2015 10:48 a.m., Tofu Ninja wrote: On Thursday, 6 August 2015 at 06:30:06 UTC, Rikki Cattermole wrote: Here is what we need to do going forward (beyond what me and Manu are doing): 1. Derelict-Util needs to be put into Phobos. This is not

Re: D for Game Development

2015-08-07 Thread ponce via Digitalmars-d
On Friday, 7 August 2015 at 05:08:27 UTC, Rikki Cattermole wrote: Ok, here is what I'm willing to do. If you are willing to get Derelict-Util into Phobos and create the bindings for what ever (appropriate) c-library. I'm willing to create the wrappers around it to make it work with the

Re: D for Game Development

2015-08-07 Thread Dmitry Olshansky via Digitalmars-d
On 07-Aug-2015 11:39, Suliman wrote: On Friday, 7 August 2015 at 08:25:04 UTC, Ola Fosheim Grøstad wrote: On Friday, 7 August 2015 at 07:24:29 UTC, Dmitry Olshansky wrote: Truth be told if we were willing to walk extra mile we'd have proper curl/zlib experience. But linking problems plague

Re: D for Game Development

2015-08-07 Thread via Digitalmars-d
On Friday, 7 August 2015 at 08:41:11 UTC, Dmitry Olshansky wrote: I guess it's Boost C++ http. Certainly has nothing to do with D and anyhow porting the whole C++ Boost (even just the relevant parts) to D is quite an effort. It is relevant since Boost libraries often are precursors to C++

Re: D for Game Development

2015-08-07 Thread Dmitry Olshansky via Digitalmars-d
On 07-Aug-2015 12:16, Ola Fosheim =?UTF-8?B?R3LDuHN0YWQi?= ola.fosheim.grostad+dl...@gmail.com wrote: On Friday, 7 August 2015 at 08:41:11 UTC, Dmitry Olshansky wrote: I guess it's Boost C++ http. Certainly has nothing to do with D and anyhow porting the whole C++ Boost (even just the relevant

Re: D for Game Development

2015-08-07 Thread via Digitalmars-d
On Friday, 7 August 2015 at 09:43:13 UTC, Dmitry Olshansky wrote: Already have that it's called vibe.d. There must be other stuff floating around as well (e.g.Adam's tiny http server). That's not what I mean. I mean being able to interface with C++ counterparts in general. E.g. use the same

Re: D for Game Development

2015-08-07 Thread Rikki Cattermole via Digitalmars-d
On 8/08/2015 1:07 a.m., rsw0x wrote: On Friday, 7 August 2015 at 12:55:23 UTC, Andrei Alexandrescu wrote: On 8/6/15 6:48 PM, Tofu Ninja wrote: I really feel like D needs to get over it's not invented here syndrome, a much easier path would to just use a pre existing cross platform windowing

Re: D for Game Development

2015-08-07 Thread Tofu Ninja via Digitalmars-d
On Friday, 7 August 2015 at 13:07:59 UTC, rsw0x wrote: On Friday, 7 August 2015 at 12:55:23 UTC, Andrei Alexandrescu wrote: On 8/6/15 6:48 PM, Tofu Ninja wrote: I really feel like D needs to get over it's not invented here syndrome, a much easier path would to just use a pre existing cross

Re: D for Game Development

2015-08-07 Thread deadalnix via Digitalmars-d
On Friday, 7 August 2015 at 12:55:23 UTC, Andrei Alexandrescu wrote: On 8/6/15 6:48 PM, Tofu Ninja wrote: I really feel like D needs to get over it's not invented here syndrome, a much easier path would to just use a pre existing cross platform windowing library. I agree (though I don't

Re: D for Game Development

2015-08-07 Thread Andrei Alexandrescu via Digitalmars-d
On 8/6/15 6:48 PM, Tofu Ninja wrote: I really feel like D needs to get over it's not invented here syndrome, a much easier path would to just use a pre existing cross platform windowing library. I agree (though I don't know much about which library would be the best choice), at least on the

Re: D for Game Development

2015-08-07 Thread rsw0x via Digitalmars-d
On Friday, 7 August 2015 at 12:55:23 UTC, Andrei Alexandrescu wrote: On 8/6/15 6:48 PM, Tofu Ninja wrote: I really feel like D needs to get over it's not invented here syndrome, a much easier path would to just use a pre existing cross platform windowing library. I agree (though I don't

  1   2   >