[Issue 14459] String literal merge bug causes incorrect runtime program behavior

2015-08-06 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14459 --- Comment #6 from David Nadlinger c...@klickverbot.at --- (In reply to Kenji Hara from comment #5) I'm curious why the detailed analysis result couldn't put out actual PR. As for me, that's because Daniel already knew how to fix the issue, but I

[Issue 14868] MmFile destructor seems to corrupt memory

2015-08-06 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14868 --- Comment #10 from Dmitry Olshansky dmitry.o...@gmail.com --- - straightforward, to throw out enforce, it will work safely, guarantee Seems like the way to go. I'd think of it as hotfix, it's apparent that file descriptor may already be closed by

Re: D for Game Development

2015-08-06 Thread karabuta via Digitalmars-d
On Thursday, 6 August 2015 at 06:30:06 UTC, Rikki Cattermole wrote: On 6/08/2015 12:05 p.m., Tofu Ninja wrote: [...] [...] Here is what we need to do going forward (beyond what me and Manu are doing): [...] Don't you think that's a lot to ask from phobos?

[Issue 14881] New: [REG] posix.mak omits package.d files when building zip file

2015-08-06 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14881 Issue ID: 14881 Summary: [REG] posix.mak omits package.d files when building zip file Product: D Version: D2 Hardware: All OS: All Status: NEW

[Issue 14459] String literal merge bug causes incorrect runtime program behavior

2015-08-06 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14459 --- 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/3252ddcf36f53928d04b62a601c0b7bb9d911cba fix Issue 14459 - String

[Issue 14879] tuple documentation broken link

2015-08-06 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14879 ag0ae...@gmail.com changed: What|Removed |Added Keywords||pull CC|

Re: dip25 implementation

2015-08-06 Thread Steven Schveighoffer via Digitalmars-d
On 8/4/15 4:54 PM, Steven Schveighoffer wrote: How complete is the dip25 implementation? For example, should this be expected to be an error? struct S { int[5] x; auto foo() { return x[];} } I'll note, that dmd 2.067.0 with -dip25 considered this an error, head does not. Adding a

[Issue 14868] MmFile destructor seems to corrupt memory

2015-08-06 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14868 --- Comment #9 from Sergei Degtiarev sdegtia...@yahoo.com --- (In reply to Dmitry Olshansky from comment #8) Pull requests are welcome from anybody. Ok, good, I can do this. However I'm barely three days on the forum and don't know which way to go.

Re: dip25 implementation

2015-08-06 Thread via Digitalmars-d
On Tuesday, 4 August 2015 at 20:54:43 UTC, Steven Schveighoffer wrote: How complete is the dip25 implementation? For example, should this be expected to be an error? struct S { int[5] x; auto foo() { return x[];} } You need to (at least) qualify `foo` as @safe.

[Issue 14874] std.traits.functionAttributes does not support the new `return` attribute

2015-08-06 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14874 --- Comment #1 from monkeywork...@hotmail.com --- After some investigating, it seems that the fault lies with __traits(getFunctionAttributes). import std.traits; struct Test { int n; ref int getN() return { return n; } }

[Issue 14880] findSkip summary is wrong

2015-08-06 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14880 ag0ae...@gmail.com changed: What|Removed |Added CC||ag0ae...@gmail.com --- Comment #1 from

Re: trouble compiling Fiber example code from docs dmd linux v2.067.1

2015-08-06 Thread anonymous via Digitalmars-d-learn
On Thursday, 6 August 2015 at 20:21:38 UTC, Carl Sturtivant wrote: I took the example code from here, http://dlang.org/phobos/core_thread.html#.Fiber and wrapped the statements at the bottom inside main() and put import core.thread and std.stdio at the top, and the compiler gave me the

Re: dip25 implementation

2015-08-06 Thread Jonathan M Davis via Digitalmars-d
On Thursday, 6 August 2015 at 21:16:20 UTC, Steven Schveighoffer wrote: On 8/6/15 4:24 PM, Per =?UTF-8?B?Tm9yZGzDtnci?= per.nord...@gmail.com wrote: On Tuesday, 4 August 2015 at 20:54:43 UTC, Steven Schveighoffer wrote: How complete is the dip25 implementation? For example, should this be

Re: dip25 implementation

2015-08-06 Thread Jonathan M Davis via Digitalmars-d
On Thursday, 6 August 2015 at 21:18:13 UTC, Steven Schveighoffer wrote: On 8/6/15 4:11 PM, Xiaoxi wrote: On Thursday, 6 August 2015 at 19:55:20 UTC, Steven Schveighoffer wrote: On 8/4/15 4:54 PM, Steven Schveighoffer wrote: How complete is the dip25 implementation? For example, should this

[Issue 11933] A range wrapped in a Variant does not work with other ranges

2015-08-06 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=11933 monkeywork...@hotmail.com changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

Re: D for Game Development

2015-08-06 Thread karabuta via Digitalmars-d
On Thursday, 6 August 2015 at 00:05:34 UTC, Tofu Ninja 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: dip25 implementation

2015-08-06 Thread Xiaoxi via Digitalmars-d
On Thursday, 6 August 2015 at 19:55:20 UTC, Steven Schveighoffer wrote: On 8/4/15 4:54 PM, Steven Schveighoffer wrote: How complete is the dip25 implementation? For example, should this be expected to be an error? struct S { int[5] x; auto foo() { return x[];} } I'll note, that dmd

[Issue 14881] [REG] posix.mak omits package.d files when building zip file

2015-08-06 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14881 --- Comment #1 from Walter Bright bugzi...@digitalmars.com --- https://github.com/D-Programming-Language/phobos/pull/3530 --

[Issue 14876] Deprecation message is sometimes duplicated

2015-08-06 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14876 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Summary|Deprecation message is |Deprecation message is

Re: D for Game Development

2015-08-06 Thread Rikki Cattermole via Digitalmars-d
On 6/08/2015 8:27 p.m., Dmitry Olshansky wrote: On 06-Aug-2015 09:29, Rikki Cattermole wrote: On 6/08/2015 12:05 p.m., Tofu Ninja wrote: On Thursday, 30 July 2015 at 13:43:35 UTC, karabuta wrote: [snip] Also a thing I would really like is if all the new graphics related things went into a

Re: D for Game Development

2015-08-06 Thread Benjamin Thaut via Digitalmars-d
On Wednesday, 5 August 2015 at 16:44:03 UTC, jmh530 wrote: On Wednesday, 5 August 2015 at 08:53:39 UTC, Benjamin Thaut wrote: Regarding D's GC and Games written in D you can also take a look at a old project of mine and the results that came out of it. http://3d.benjamin-thaut.de/?p=20

Re: Rant after trying Rust a bit

2015-08-06 Thread Idan Arye via Digitalmars-d
On Thursday, 6 August 2015 at 06:54:45 UTC, Walter Bright wrote: On 8/3/2015 2:19 AM, Max Samukha wrote: The point is that '+' for string concatenation is no more of an 'idiot thing' than '~'. Sure it is. What if you've got: T add(T)(T a, T b) { return a + b; } and some idiot overloaded

Re: Creating a Priority Queue: An Adventure

2015-08-06 Thread via Digitalmars-d-learn
On Thursday, 6 August 2015 at 09:08:04 UTC, John Colvin wrote: Worst case for getting root off a binary heap is O(log(N)), copying the whole thing is O(N). Those numbers does not take into account the special properties of *in-array-packed* implementation of a binary heap. They are

[Issue 14875] New: A template instance with deprecated symbol/type needlessly repeats Deprecation: messages

2015-08-06 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14875 Issue ID: 14875 Summary: A template instance with deprecated symbol/type needlessly repeats Deprecation: messages Product: D Version: D2 Hardware: All OS: All

Re: D for project in computational chemistry

2015-08-06 Thread John Colvin via Digitalmars-d
On Thursday, 6 August 2015 at 08:11:49 UTC, Gerald Jansen wrote: On Wednesday, 5 August 2015 at 18:49:21 UTC, bachmeier wrote: Yes. The question is whether we can put together a group of developers to build the infrastructure, which is a lot more than just code. That means, in particular,

[Issue 14877] New: std.net.curl needs PATCH http method

2015-08-06 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14877 Issue ID: 14877 Summary: std.net.curl needs PATCH http method Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: enhancement

Re: D for Game Development

2015-08-06 Thread Iain Buclaw via Digitalmars-d
On 6 August 2015 at 11:18, Benjamin Thaut via Digitalmars-d digitalmars-d@puremagic.com wrote: On Wednesday, 5 August 2015 at 16:44:03 UTC, jmh530 wrote: On Wednesday, 5 August 2015 at 08:53:39 UTC, Benjamin Thaut wrote: Regarding D's GC and Games written in D you can also take a look at a

[Issue 14876] New: Deprecation message is sometimes duplicates

2015-08-06 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14876 Issue ID: 14876 Summary: Deprecation message is sometimes duplicates Product: D Version: D2 Hardware: All OS: All Status: NEW Keywords: diagnostic

Re: Thread communication

2015-08-06 Thread Chris via Digitalmars-d-learn
On Thursday, 6 August 2015 at 08:40:58 UTC, Kagamin wrote: } AFAIK, boost does it by integrating support for interruption into various functions, so IO, waits and locks reply to interrupt requests appropriately. You can do something similar. I understand the philosophy behind

Re: DUB RC 0.9.24-rc.1 ready for testing

2015-08-06 Thread yawniek via Digitalmars-d
On Tuesday, 21 July 2015 at 13:17:36 UTC, Andrei Alexandrescu wrote: At the first D meetup in the Silicon Valley, Vic (an accomplished entrepreneur who has been following up D'd path) discussed some ideas for improving D's adoption. He mentioned some other languages have improved adoption by

[Issue 13738] RTInfo generation on deprecated struct causes deprecation message

2015-08-06 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13738 --- Comment #4 from Kenji Hara k.hara...@gmail.com --- I think the root of diagnostic problem is issue 14875. If a template is instantiated with deprecated type, the touch to corresponding type parameter should not repeat redundant deprecation

[Issue 12750] VS2010 profiler doesn't seem to work

2015-08-06 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12750 --- Comment #4 from Manu turkey...@gmail.com --- Understand. It's probably best we start letting go of 2010 _ If only =2012 wasn't so rubbish! --

Re: Rant after trying Rust a bit

2015-08-06 Thread Walter Bright via Digitalmars-d
On 8/3/2015 2:19 AM, Max Samukha wrote: The point is that '+' for string concatenation is no more of an 'idiot thing' than '~'. Sure it is. What if you've got: T add(T)(T a, T b) { return a + b; } and some idiot overloaded + for T to be something other than addition?

Re: Rant after trying Rust a bit

2015-08-06 Thread Walter Bright via Digitalmars-d
On 8/2/2015 8:17 PM, Ola Fosheim =?UTF-8?B?R3LDuHN0YWQi?= ola.fosheim.grostad+dl...@gmail.com wrote: It's a weird thing to do for a C-decendant as I would expect ~= to do binary negation. If you really felt this way, you'd expect the C != operator a != b to be the same as: a = !b

trouble compiling Fiber example code from docs dmd linux v2.067.1

2015-08-06 Thread Carl Sturtivant via Digitalmars-d-learn
I took the example code from here, http://dlang.org/phobos/core_thread.html#.Fiber and wrapped the statements at the bottom inside main() and put import core.thread and std.stdio at the top, and the compiler gave me the following. /usr/include/dmd/druntime/import/core/thread.d(3894): Error:

Re: Concurrency Confusion

2015-08-06 Thread 岩倉 澪
On Tuesday, 4 August 2015 at 08:35:10 UTC, Dicebot wrote: // in real app use `receiveTimeout` to do useful stuff until // result message is received auto output = receiveOnly!(immutable(Bar)[]); New question: how would I receive a immutable value with receiveTimeout? I need the

Re: dip25 implementation

2015-08-06 Thread Steven Schveighoffer via Digitalmars-d
On 8/6/15 4:11 PM, Xiaoxi wrote: On Thursday, 6 August 2015 at 19:55:20 UTC, Steven Schveighoffer wrote: On 8/4/15 4:54 PM, Steven Schveighoffer wrote: How complete is the dip25 implementation? For example, should this be expected to be an error? struct S { int[5] x; auto foo() {

Re: dip25 implementation

2015-08-06 Thread Steven Schveighoffer via Digitalmars-d
On 8/6/15 4:24 PM, Per =?UTF-8?B?Tm9yZGzDtnci?= per.nord...@gmail.com wrote: On Tuesday, 4 August 2015 at 20:54:43 UTC, Steven Schveighoffer wrote: How complete is the dip25 implementation? For example, should this be expected to be an error? struct S { int[5] x; auto foo() { return x[];}

Re: D for Game Development

2015-08-06 Thread Rikki Cattermole via Digitalmars-d
On 7/08/2015 9:44 a.m., karabuta wrote: On Thursday, 6 August 2015 at 06:30:06 UTC, Rikki Cattermole wrote: On 6/08/2015 12:05 p.m., Tofu Ninja wrote: [...] [...] Here is what we need to do going forward (beyond what me and Manu are doing): [...] Don't you think that's a lot to ask from

Re: Find on sorted range slower?

2015-08-06 Thread Tofu Ninja via Digitalmars-d-learn
On Friday, 7 August 2015 at 04:23:21 UTC, Ali Çehreli wrote: Do you want to see SortedRange 1700 times faster? ;) On 08/06/2015 05:35 PM, Tofu Ninja wrote: void main() auto temp = assumeSorted(a).find(f); SortedRange does not have a find() member. What happens is, it goes to find()

Re: Find on sorted range slower?

2015-08-06 Thread Tofu Ninja via Digitalmars-d-learn
On Friday, 7 August 2015 at 05:01:41 UTC, Tofu Ninja wrote: On Friday, 7 August 2015 at 04:23:21 UTC, Ali Çehreli wrote: Do you want to see SortedRange 1700 times faster? ;) On 08/06/2015 05:35 PM, Tofu Ninja wrote: void main() auto temp = assumeSorted(a).find(f); SortedRange does

[Issue 14882] [REG] MANIFEST is missing test/common.mak

2015-08-06 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14882 --- Comment #2 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/D-Programming-Language/druntime https://github.com/D-Programming-Language/druntime/commit/18f81c6d9a81ae818369caf8c59e5b8dc63671e3 fix Issue 14882 -

[Issue 14882] [REG] MANIFEST is missing test/common.mak

2015-08-06 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14882 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED

Re: dmd on ubuntu 64: how to unittest phobos with -m32?

2015-08-06 Thread deadalnix via Digitalmars-d
On Thursday, 6 August 2015 at 14:18:09 UTC, Andrei Alexandrescu wrote: So I am trying to unittest phobos in its 32-bit build on a Ubuntu64 machine. I installed these additional packages: sudo apt-get install libc6-dev-i386 libcurl3:i386 When I try to unittest a phobos module, e.g.: make -f

Re: Find on sorted range slower?

2015-08-06 Thread Ali Çehreli via Digitalmars-d-learn
Do you want to see SortedRange 1700 times faster? ;) On 08/06/2015 05:35 PM, Tofu Ninja wrote: void main() auto temp = assumeSorted(a).find(f); SortedRange does not have a find() member. What happens is, it goes to find() algorithm. Replace that line with auto temp =

Re: D for Game Development

2015-08-06 Thread Rikki Cattermole via Digitalmars-d
On 7/08/2015 3:01 p.m., lobo wrote: On Thursday, 6 August 2015 at 22:48:50 UTC, 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. Its laughable that the people in D

Re: D for Game Development

2015-08-06 Thread Rikki Cattermole via Digitalmars-d
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 optional 2. Derelict-GL3 needs to be put into

[Issue 14871] Linker errors with 2.068.0-rc1

2015-08-06 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14871 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Keywords||pull

[Issue 14874] __traits(getFunctionAttributes) does not support the new `return` attribute

2015-08-06 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14874 monkeywork...@hotmail.com changed: What|Removed |Added Component|phobos |dmd

[Issue 14874] __traits(getFunctionAttributes) does not support the new `return` attribute

2015-08-06 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14874 monkeywork...@hotmail.com changed: What|Removed |Added Assignee|nob...@puremagic.com|monkeywork...@hotmail.com --

Re: D for Game Development

2015-08-06 Thread lobo via Digitalmars-d
On Thursday, 6 August 2015 at 22:48:50 UTC, 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. Its laughable that the people in D want to reinvent this stuff. It's been

Re: Interpreting the D grammar

2015-08-06 Thread via Digitalmars-d
On Sunday, 2 August 2015 at 16:37:06 UTC, MakersF wrote: Of course it's recursive! Do you want the grammar to be able to only define a finite number of programs? a* seems pretty infinite to me. :P

Re: Interpreting the D grammar

2015-08-06 Thread H. S. Teoh via Digitalmars-d
On Thu, Aug 06, 2015 at 11:15:15PM +, Tofu Ninja via Digitalmars-d wrote: On Thursday, 6 August 2015 at 23:08:01 UTC, Casper Færgemand wrote: On Sunday, 2 August 2015 at 16:37:06 UTC, MakersF wrote: Of course it's recursive! Do you want the grammar to be able to only define a finite number

[Issue 14882] New: [REG] MANIFEST is missing test/common.mak

2015-08-06 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14882 Issue ID: 14882 Summary: [REG] MANIFEST is missing test/common.mak Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: regression

Re: Rant after trying Rust a bit

2015-08-06 Thread Timon Gehr via Digitalmars-d
On 08/06/2015 07:13 PM, jmh530 wrote: On Thursday, 6 August 2015 at 14:14:30 UTC, Jonathan M Davis wrote: In general, I would have expected it to be a total disaster if a language used any non-ASCII characters in its syntax. I still think it would be...not everyone uses the same editor. I had

Find on sorted range slower?

2015-08-06 Thread Tofu Ninja via Digitalmars-d-learn
void main() { auto a = new int[100*1024*1024]; for(int i = 0; i 100*1024*1024; i++) { a[i] = i; } enum f = 100*1024*1000; StopWatch sw; { sw.start(); auto temp = assumeSorted(a).find(f);

Re: Find on sorted range slower?

2015-08-06 Thread John Colvin via Digitalmars-d-learn
On Friday, 7 August 2015 at 00:35:58 UTC, Tofu Ninja wrote: void main() { auto a = new int[100*1024*1024]; for(int i = 0; i 100*1024*1024; i++) { a[i] = i; } enum f = 100*1024*1000; StopWatch sw; {

Re: Find on sorted range slower?

2015-08-06 Thread Tofu Ninja via Digitalmars-d-learn
On Friday, 7 August 2015 at 01:26:51 UTC, John Colvin wrote: As usual, which compiler, which compiler version, which compilation flags? dmd v2.067.1 -O -release -w -inline -boundscheck=off

[Issue 14878] destructor of lambda parameter not included in speculative @safe check

2015-08-06 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14878 Martin Nowak c...@dawg.eu changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Issue 14878] destructor of lambda parameter not included in speculative @safe check

2015-08-06 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14878 Martin Nowak c...@dawg.eu changed: What|Removed |Added Resolution|FIXED |INVALID --

[Issue 14877] std.net.curl needs PATCH http method

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

[Issue 14880] findSkip summary is wrong

2015-08-06 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14880 --- Comment #2 from Luís Marques l...@luismarques.eu --- (In reply to ag0aep6g from comment #1) Can you make a pull request for this, Luís? Yes. I just thought experienced people with already cloned repos would do it faster. Give me one or two days

Re: Interpreting the D grammar

2015-08-06 Thread Tofu Ninja via Digitalmars-d
On Thursday, 6 August 2015 at 23:08:01 UTC, Casper Færgemand wrote: On Sunday, 2 August 2015 at 16:37:06 UTC, MakersF wrote: Of course it's recursive! Do you want the grammar to be able to only define a finite number of programs? a* seems pretty infinite to me. :P (0|1)* Just define your

[Issue 14882] [REG] MANIFEST is missing test/common.mak

2015-08-06 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14882 --- Comment #1 from Walter Bright bugzi...@digitalmars.com --- https://github.com/D-Programming-Language/druntime/pull/1339 --

Re: Rant after trying Rust a bit

2015-08-06 Thread Timon Gehr via Digitalmars-d
On 08/06/2015 07:50 AM, Ola Fosheim =?UTF-8?B?R3LDuHN0YWQi?= ola.fosheim.grostad+dl...@gmail.com wrote: On Wednesday, 5 August 2015 at 19:56:37 UTC, Timon Gehr wrote: On 08/05/2015 07:32 PM, deadalnix wrote: Mathematical language is geared toward generality and correctness, not practicality.

Re: Interpreting the D grammar

2015-08-06 Thread Timon Gehr via Digitalmars-d
On 08/07/2015 01:07 AM, Casper =?UTF-8?B?RsOmcmdlbWFuZCI=?= shortt...@hotmail.com wrote: On Sunday, 2 August 2015 at 16:37:06 UTC, MakersF wrote: Of course it's recursive! Do you want the grammar to be able to only define a finite number of programs? a* seems pretty infinite to me. :P And

Re: D for Game Development

2015-08-06 Thread Tofu Ninja via Digitalmars-d
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 optional 2. Derelict-GL3 needs to be put into Phobos. Optional, but might be a damn good

[Issue 14871] Linker errors with 2.068.0-rc1

2015-08-06 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14871 Daniel Kozak kozz...@gmail.com changed: What|Removed |Added CC||kozz...@gmail.com ---

Re: D for Game Development

2015-08-06 Thread Rikki Cattermole via Digitalmars-d
On 6/08/2015 12:05 p.m., Tofu Ninja 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 engine being developed

Re: D for project in computational chemistry

2015-08-06 Thread Laeeth Isharc via Digitalmars-d
On Thursday, 6 August 2015 at 06:56:11 UTC, Laeeth Isharc wrote: On Thursday, 6 August 2015 at 02:38:15 UTC, jmh530 wrote: On Wednesday, 5 August 2015 at 23:37:37 UTC, Laeeth Isharc wrote: Dataframes aren't intellectually very exciting, but they are very useful for iterative data exploration

Re: D for project in computational chemistry

2015-08-06 Thread Laeeth Isharc via Digitalmars-d
On Thursday, 6 August 2015 at 02:38:15 UTC, jmh530 wrote: On Wednesday, 5 August 2015 at 23:37:37 UTC, Laeeth Isharc wrote: Dataframes aren't intellectually very exciting, but they are very useful for iterative data exploration and quick prototyping since all of that starts with getting the

[Issue 14875] A template instance with deprecated symbol/type needlessly repeats Deprecation: messages

2015-08-06 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14875 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Keywords||pull --- Comment #1 from

[Issue 13738] RTInfo generation on deprecated struct causes deprecation message

2015-08-06 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13738 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED

Re: D for Game Development

2015-08-06 Thread Manu via Digitalmars-d
On 5 August 2015 at 05:13, Rikki Cattermole via Digitalmars-d digitalmars-d@puremagic.com wrote: On 5/08/2015 6:59 a.m., develop32 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

Re: D for Game Development

2015-08-06 Thread Rikki Cattermole via Digitalmars-d
On 6/08/2015 11:29 p.m., Jacob Carlborg wrote: On 06/08/15 08:29, Rikki Cattermole wrote: 5. Cocoa bindings added to Phobos. Not optional. This all needs to happen _before_ we start working on a window library for Phobos. Let alone a GUI. We're mostly got problems with Cocoa. X11 bindings

Re: Rant after trying Rust a bit

2015-08-06 Thread Kagamin via Digitalmars-d
On Thursday, 6 August 2015 at 11:33:29 UTC, Ola Fosheim Grøstad wrote: DOA. http://www.acronymfinder.com/DOA.html (Degenerate Overclockers Anonymous?)

Re: Rant after trying Rust a bit

2015-08-06 Thread burjui via Digitalmars-d
On Thursday, 6 August 2015 at 12:33:33 UTC, Kagamin wrote: On Thursday, 6 August 2015 at 11:33:29 UTC, Ola Fosheim Grøstad wrote: DOA. http://www.acronymfinder.com/DOA.html (Degenerate Overclockers Anonymous?) http://www.urbandictionary.com/define.php?term=DOA Without this great site it

[Issue 14876] Deprecation message is sometimes duplicated

2015-08-06 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14876 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Keywords||pull --- Comment #1 from

Re: D for Game Development

2015-08-06 Thread Jacob Carlborg via Digitalmars-d
On 06/08/15 08:29, Rikki Cattermole wrote: 5. Cocoa bindings added to Phobos. Not optional. This all needs to happen _before_ we start working on a window library for Phobos. Let alone a GUI. We're mostly got problems with Cocoa. X11 bindings just need to be changed to dynamically bound. I

Re: Rant after trying Rust a bit

2015-08-06 Thread via Digitalmars-d
On Thursday, 6 August 2015 at 06:50:38 UTC, Walter Bright wrote: On 8/2/2015 8:17 PM, Ola Fosheim =?UTF-8?B?R3LDuHN0YWQi?= ola.fosheim.grostad+dl...@gmail.com wrote: It's a weird thing to do for a C-decendant as I would expect ~= to do binary negation. If you really felt this way, you'd

Re: D for Game Development

2015-08-06 Thread Manu via Digitalmars-d
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 Digitalmars-d wrote: On 5 August 2015 at 05:13, Rikki Cattermole via Digitalmars-d digitalmars-d@puremagic.com wrote: On 5/08/2015 6:59 a.m., develop32 wrote:

Re: D for Game Development

2015-08-06 Thread Rikki Cattermole via Digitalmars-d
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 Digitalmars-d wrote: On 5 August 2015 at 05:13, Rikki Cattermole via Digitalmars-d

Re: Rant after trying Rust a bit

2015-08-06 Thread via Digitalmars-d
On Thursday, 6 August 2015 at 12:33:33 UTC, Kagamin wrote: On Thursday, 6 August 2015 at 11:33:29 UTC, Ola Fosheim Grøstad wrote: DOA. http://www.acronymfinder.com/DOA.html (Degenerate Overclockers Anonymous?) Dead on arrival.

Re: Rant after trying Rust a bit

2015-08-06 Thread rsw0x via Digitalmars-d
On Thursday, 6 August 2015 at 11:30:45 UTC, Idan Arye wrote: On Thursday, 6 August 2015 at 11:26:10 UTC, Ola Fosheim Grøstad wrote: On Thursday, 6 August 2015 at 06:50:38 UTC, Walter Bright wrote: On 8/2/2015 8:17 PM, Ola Fosheim =?UTF-8?B?R3LDuHN0YWQi?= ola.fosheim.grostad+dl...@gmail.com

Re: D for Game Development

2015-08-06 Thread Manu via Digitalmars-d
On 5 August 2015 at 06:12, ref2401 via Digitalmars-d digitalmars-d@puremagic.com wrote: On Tuesday, 4 August 2015 at 19:13:44 UTC, Rikki Cattermole wrote: On 5/08/2015 6:59 a.m., develop32 wrote: On Thursday, 30 July 2015 at 13:43:35 UTC, karabuta wrote: D is really cool and makes a good

Re: Rant after trying Rust a bit

2015-08-06 Thread Idan Arye via Digitalmars-d
On Thursday, 6 August 2015 at 11:26:10 UTC, Ola Fosheim Grøstad wrote: On Thursday, 6 August 2015 at 06:50:38 UTC, Walter Bright wrote: On 8/2/2015 8:17 PM, Ola Fosheim =?UTF-8?B?R3LDuHN0YWQi?= ola.fosheim.grostad+dl...@gmail.com wrote: It's a weird thing to do for a C-decendant as I would

Re: Rant after trying Rust a bit

2015-08-06 Thread via Digitalmars-d
On Thursday, 6 August 2015 at 11:30:45 UTC, Idan Arye wrote: I understand your attempt to auction your old APL keyboard didn't go well? There is no good reason to avoid unicode operators these days. A language without a dedicated editor-mode is pretty much DOA.

Re: DUB RC 0.9.24-rc.1 ready for testing

2015-08-06 Thread Rikki Cattermole via Digitalmars-d
On 6/08/2015 10:28 p.m., yawniek wrote: On Tuesday, 21 July 2015 at 13:17:36 UTC, Andrei Alexandrescu wrote: At the first D meetup in the Silicon Valley, Vic (an accomplished entrepreneur who has been following up D'd path) discussed some ideas for improving D's adoption. He mentioned some

[Issue 14878] New: destructor of lambda parameter not included in speculative @safe check

2015-08-06 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14878 Issue ID: 14878 Summary: destructor of lambda parameter not included in speculative @safe check Product: D Version: D2 Hardware: All OS: All Status:

Re: Rant after trying Rust a bit

2015-08-06 Thread via Digitalmars-d
On Thursday, 6 August 2015 at 09:15:25 UTC, Idan Arye wrote: Having add(a, b) return ab is not that weird. But consider this: http://pastebin.com/R3csc5Pa I can't put it in dpaste because it doesn't allow threading, but here is an example output: This would just be an argument for having

Re: D for Game Development

2015-08-06 Thread Rikki Cattermole via Digitalmars-d
On 6/08/2015 11:18 p.m., Manu via Digitalmars-d wrote: On 5 August 2015 at 05:13, Rikki Cattermole via Digitalmars-d digitalmars-d@puremagic.com wrote: On 5/08/2015 6:59 a.m., develop32 wrote: On Thursday, 30 July 2015 at 13:43:35 UTC, karabuta wrote: D is really cool and makes a good

Re: D for Game Development

2015-08-06 Thread jmh530 via Digitalmars-d
On Thursday, 6 August 2015 at 09:18:44 UTC, Benjamin Thaut wrote: [snip] Kind Regards Benjamin Thaut Thanks.

[Issue 14459] String literal merge bug causes incorrect runtime program behavior

2015-08-06 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14459 --- Comment #7 from Kenji Hara k.hara...@gmail.com --- I think it's clearly a bug. Because: 1. The identiry of the string literal is saved into a variable, then copied to one another variable. The two pointer variables comparison must match. 2. But

std.stream.MemoryStream deprecated, range is the alternative?

2015-08-06 Thread chris via Digitalmars-d-learn
class Test { MemoryStream m_stream; this(MemoryStream stream) { m_stream = stream; } void write(byte val) { m_stream.write(val); } byte read() { byte val; m_stream.read(val); return val; } } void main() { byte[] read =

Re: InstanceOf Template during runtime in a variant

2015-08-06 Thread Gary Willoughby via Digitalmars-d-learn
On Monday, 3 February 2014 at 19:47:56 UTC, Dicebot wrote: On Monday, 3 February 2014 at 19:35:47 UTC, Andre wrote: Btw. having std.decimal in the library would be really nice;) Kind regards André There is a proposal in Phobos review queue (http://wiki.dlang.org/Review_Queue) but its author

[Issue 14868] MmFile destructor seems to corrupt memory

2015-08-06 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14868 --- Comment #8 from Dmitry Olshansky dmitry.o...@gmail.com --- That's why I suggest to exclude the check. Can somebody fix it? Pull requests are welcome from anybody. The class is currently unusable. I'm surprised it even works. std.mmfile is a

Re: Interpreting the D grammar

2015-08-06 Thread Jacob Carlborg via Digitalmars-d
On 06/08/15 20:14, deadalnix wrote: http://stackoverflow.com/a/1732454/672906 I don't have so much of a choice. TextMate supports what it supports. There are TextMate grammars for very many languages, so it's not a problem of not being able to represent a language grammar in TextMate. I

Re: Interpreting the D grammar

2015-08-06 Thread deadalnix via Digitalmars-d
On Sunday, 2 August 2015 at 14:50:35 UTC, Jacob Carlborg wrote: I'm trying to read the D grammar [1] to enhance the D TextMate bundle. If we take the add expression as an example. It's defined like this in the grammar: AddExpression: MulExpression AddExpression + MulExpression

[Issue 14196] opApply and nothrow don't play along

2015-08-06 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14196 Илья Ярошенко ilyayaroshe...@gmail.com changed: What|Removed |Added CC|

Re: Rant after trying Rust a bit

2015-08-06 Thread jmh530 via Digitalmars-d
On Thursday, 6 August 2015 at 14:14:30 UTC, Jonathan M Davis wrote: In general, I would have expected it to be a total disaster if a language used any non-ASCII characters in its syntax. I still think it would be...not everyone uses the same editor. I had to look up how to do it in Notepad++.

  1   2   >