Re: OT: Minecraft death by GC

2014-10-21 Thread francesco.cattoglio via Digitalmars-d
On Tuesday, 21 October 2014 at 07:18:28 UTC, ROOAR wrote: So the latest Minecraft apparently runs really really poorly because of the GC. And it is running on Java desktop. The supposedly fast GC of Java can't handle the game anymore--

Re: D and GPGPU

2015-02-20 Thread francesco.cattoglio via Digitalmars-d
On Wednesday, 18 February 2015 at 18:14:19 UTC, luminousone wrote: HSA does work with discrete gpu's and not just the embedded stuff, And I believe that HSA can be used to accelerate OpenCL 2.0, via copyless cache coherent memory access. Unless I'm mistaken, it will more like the opposite:

Re: Writing game engine in C++, considering switching to D

2015-02-20 Thread francesco.cattoglio via Digitalmars-d
On Thursday, 19 February 2015 at 02:08:39 UTC, Will Cassella wrote: Thanks for the replies, everyone! I think I'll try my hand at writing bindings for my existing game engine, as Grøstad suggested - that way I can gradually transition the codebase to D if I like what I see. My 2 cents would

Re: Writing game engine in C++, considering switching to D

2015-02-20 Thread francesco.cattoglio via Digitalmars-d
On Friday, 20 February 2015 at 13:44:04 UTC, ponce wrote: On Friday, 20 February 2015 at 13:04:51 UTC, John Colvin wrote: On Friday, 20 February 2015 at 09:57:48 UTC, francesco.cattoglio wrote: (e.g: if the GC calls any OpenGL function, you get a nice crash since OpenGL is not

Re: Thoughts on replacement languages (Reddit + D)

2015-01-11 Thread francesco.cattoglio via Digitalmars-d
On Sunday, 11 January 2015 at 14:10:56 UTC, ponce wrote: None of them has Visual Studio integration with debugging support and that is pretty important for native and enterprise programmers. If I remember correctly, just 2 month ago someone was explaining how they lost a commercial user

Re: Thoughts on replacement languages (Reddit + D)

2015-01-12 Thread francesco.cattoglio via Digitalmars-d
On Monday, 12 January 2015 at 12:23:51 UTC, ponce wrote: Especially since destructors called by GC would release resources from the wrong thread, at the wrong moment, etc. Yeah, I almost forgot about this: destructing GC resources interacting with OpenGL was sooo fun :P

Re: Thoughts on replacement languages (Reddit + D)

2015-01-12 Thread francesco.cattoglio via Digitalmars-d
On Monday, 12 January 2015 at 13:27:55 UTC, Adam D. Ruppe wrote: On Monday, 12 January 2015 at 11:04:45 UTC, francesco.cattoglio wrote: When the GC collects them the destructor runs close(), which in turn calls for some allocation (e.g: allocates for a string to send to the logger), Do you

Re: Thoughts on replacement languages (Reddit + D)

2015-01-12 Thread francesco.cattoglio via Digitalmars-d
On Sunday, 11 January 2015 at 19:30:59 UTC, ponce wrote: When does invalidMemoryOperationError happen and how do you avoid it? Typical example: using (a slightly outdated version of) gfm library, I have few gfm objects lying around on which I forget to call a close() function. When the GC

Re: Thoughts on replacement languages (Reddit + D)

2015-01-12 Thread francesco.cattoglio via Digitalmars-d
On Monday, 12 January 2015 at 15:22:41 UTC, eles wrote: On Monday, 12 January 2015 at 14:34:41 UTC, francesco.cattoglio wrote: On Monday, 12 January 2015 at 13:27:55 UTC, Adam D. Ruppe wrote: On Monday, 12 January 2015 at 11:04:45 UTC, francesco.cattoglio wrote: To be completely honest, it