Re: D game engine -- Any suggestions?

2013-11-20 Thread Geancarlo Rocha
You should fix your LICENSE following these instructions http://www.gnu.org/licenses/gpl-howto.html. I hope you understand the virality of GPL and why most people won't touch your code for real work. On Wednesday, 20 November 2013 at 07:48:21 UTC, Mineko wrote: Yo, I'm starting off a new game

Re: matrix business in D

2013-10-18 Thread Geancarlo Rocha
Why not stick with scipy+numpy in python? Writing numerical code is painfully time consuming. It's also unlikely that your code will be more performant than those libraries', it takes a lot of expertise. On Thursday, 17 October 2013 at 20:31:38 UTC, Yura wrote: Dear D programmers, I am very

Re: Why is this increasing memory consumption on every iteration?

2013-06-16 Thread Geancarlo Rocha
On Sunday, 16 June 2013 at 18:02:26 UTC, Timon Gehr wrote: On 06/16/2013 07:20 PM, Geancarlo Rocha wrote: On Sunday, 16 June 2013 at 02:12:02 UTC, Geancarlo Rocha wrote: I expected the memory to ramp up in the first couple iterations and eventually reach a stable point, but for some reason

Re: Why is this increasing memory consumption on every iteration?

2013-06-16 Thread Geancarlo Rocha
On Sunday, 16 June 2013 at 02:12:02 UTC, Geancarlo Rocha wrote: I expected the memory to ramp up in the first couple iterations and eventually reach a stable point, but for some reason, windows task manager shows it increases on every iteration. Compiling with -m64 doesn't seem to change

Why is this increasing memory consumption on every iteration?

2013-06-15 Thread Geancarlo Rocha
I expected the memory to ramp up in the first couple iterations and eventually reach a stable point, but for some reason, windows task manager shows it increases on every iteration. Compiling with -m64 doesn't seem to change this issue. http://pastebin.com/G5JXR9AA

Re: Bug with offsetof?

2012-11-25 Thread Geancarlo
Thanks jerro and Ali, I see your points. I thought offsetof was like C/C++'s sizeof... Guess while taking a crash course at a new language I will often bump into issues because I haven't read a specific doc.

Re: Bug with offsetof?

2012-11-25 Thread Geancarlo
This also works fine: void test3() { TestStruct dummy; writeln(dummy.x.offsetof); }

Bug with offsetof?

2012-11-25 Thread Geancarlo
Hello, I'm using DMD32 D Compiler v2.060 for on Windows. module main; import std.stdio; int main(string[] argv) { writeln(TestStruct.x.offsetof); TestClass.test1(); TestClass var = new TestClass(); var.test2(); return 0; } class TestClass { stat