Re: OT: Minecraft death by GC

2014-10-24 Thread Kagamin via Digitalmars-d
On Tuesday, 21 October 2014 at 09:07:04 UTC, ROOAR wrote: This issue sure does seem to crop up in GC world, wonder why. Because it's more commercially successful that way. That company with $2.5 billion can't find competent Java engineers lolz! Or they don't fix problems, which didn't

Re: OT: Minecraft death by GC

2014-10-24 Thread Szymon Gatner via Digitalmars-d
On Friday, 24 October 2014 at 07:42:16 UTC, Kagamin wrote: On Tuesday, 21 October 2014 at 09:07:04 UTC, ROOAR wrote: That company with $2.5 billion can't find competent Java engineers lolz! Or they don't fix problems, which didn't appear. That. Minecraft was never expected to be that big.

Re: OT: Minecraft death by GC

2014-10-23 Thread via Digitalmars-d
On Tuesday, 21 October 2014 at 21:33:43 UTC, Paulo Pinto wrote: Well, some JIT compilers do stack allocation via escape analysis, which you can check with something like JITWatch. For first class support, it is planned for Java 9, but it might only really come in Java 10. -- Paulo I'm

Re: OT: Minecraft death by GC

2014-10-23 Thread Chris Nicholson-Sauls via Digitalmars-d
Eh. All I know is, this version that allegedly has framerates in the territory of 10ish, runs at 200+ for me on seven year old hardware, and I know others with the same experience. Something else is a contributor.

OT: Minecraft death by GC

2014-10-21 Thread ROOAR via Digitalmars-d
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-- https://www.reddit.com/r/programming/comments/2jsrif/optifine_dev_minecraft_18_has_so_many_performance/ Take

Re: OT: Minecraft death by GC

2014-10-21 Thread ketmar via Digitalmars-d
On Tue, 21 Oct 2014 07:18:26 + ROOAR via Digitalmars-d digitalmars-d@puremagic.com 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: OT: Minecraft death by GC

2014-10-21 Thread Kapps via Digitalmars-d
Maybe the biggest and the ugliest problem is the memory allocation. Currently the game allocates (and throws away immediately) 50 MB/sec when standing still and up to 200 MB/sec when moving. That is just crazy. Wonder how much better that would be if Java had proper value types. The idea of

Re: OT: Minecraft death by GC

2014-10-21 Thread ROOAR via Digitalmars-d
wow! you are the man! you are the savior! sorry, my Guru, can't write to you anymore: i need to remove GC from all my projects! I know! It is great being me! I had to do it, D forum was putting me to sleep with its discussion of Postblits and environmental errors. Phfff like those matter.

Re: OT: Minecraft death by GC

2014-10-21 Thread ketmar via Digitalmars-d
On Tue, 21 Oct 2014 07:44:09 + ROOAR via Digitalmars-d digitalmars-d@puremagic.com wrote: I had to do it, D forum was putting me to sleep with its discussion of Postblits and environmental errors. Phfff like those matter. yeah, this was... refreshing morning. ;-) signature.asc

Re: OT: Minecraft death by GC

2014-10-21 Thread thedeemon via Digitalmars-d
On Tuesday, 21 October 2014 at 07:37:06 UTC, Kapps wrote: Currently the game allocates (and throws away immediately) 50 MB/sec when standing still and up to 200 MB/sec when moving. That is just crazy. In D this rate of allocation would make GC take 100% of CPU time. The fact that Java

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: OT: Minecraft death by GC

2014-10-21 Thread Mathias LANG 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: OT: Minecraft death by GC

2014-10-21 Thread ROOAR via Digitalmars-d
I could quote the entire post, but the bottom line is: this issue has nothing to do with the GC. Crappy code is crappy code. So your OP is just pointless troll. This issue sure does seem to crop up in GC world, wonder why. Oh well. That company with $2.5 billion can't find competent

Re: OT: Minecraft death by GC

2014-10-21 Thread Paulo Pinto 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: OT: Minecraft death by GC

2014-10-21 Thread Szymon Gatner 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: OT: Minecraft death by GC

2014-10-21 Thread via Digitalmars-d
On Tuesday, 21 October 2014 at 09:14:00 UTC, Szymon Gatner wrote: Crazy idea: reach pleayerbase of Minecraft. Hit the same problem with D. Sell it to Microsoft for 2.5B$. Use the money to support D's @nogc ;] Great plan! Make a DIP! or: 1. mobile chat for Africa, sell to Google for $4B. 2.

Re: OT: Minecraft death by GC

2014-10-21 Thread Chris 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: OT: Minecraft death by GC

2014-10-21 Thread monarch_dodra via Digitalmars-d
On Tuesday, 21 October 2014 at 09:07:04 UTC, ROOAR wrote: I could quote the entire post, but the bottom line is: this issue has nothing to do with the GC. Crappy code is crappy code. So your OP is just pointless troll. This issue sure does seem to crop up in GC world, wonder why. Oh well.

Re: OT: Minecraft death by GC

2014-10-21 Thread ROOAR via Digitalmars-d
Part of my work is to teach people to use tools like VisualVM, What is this VisualVM you speak of! Off I go!! Application Developer:... take thread dumps, browse heap dumps It describes Java perfectly. Also, the issue of memory leak and core dumps seem to only appear when you use a

Re: OT: Minecraft death by GC

2014-10-21 Thread Szymon Gatner via Digitalmars-d
On Tuesday, 21 October 2014 at 09:37:32 UTC, Ola Fosheim Grøstad wrote: On Tuesday, 21 October 2014 at 09:14:00 UTC, Szymon Gatner wrote: Crazy idea: reach pleayerbase of Minecraft. Hit the same problem with D. Sell it to Microsoft for 2.5B$. Use the money to support D's @nogc ;] Great plan!

Re: OT: Minecraft death by GC

2014-10-21 Thread Rikki Cattermole via Digitalmars-d
On 21/10/2014 10:37 p.m., Ola Fosheim Grøstad ola.fosheim.grostad+dl...@gmail.com wrote: On Tuesday, 21 October 2014 at 09:14:00 UTC, Szymon Gatner wrote: Crazy idea: reach pleayerbase of Minecraft. Hit the same problem with D. Sell it to Microsoft for 2.5B$. Use the money to support D's @nogc

Re: OT: Minecraft death by GC

2014-10-21 Thread Szymon Gatner via Digitalmars-d
On Tuesday, 21 October 2014 at 10:15:45 UTC, Rikki Cattermole wrote: On 21/10/2014 10:37 p.m., Ola Fosheim Grøstad ola.fosheim.grostad+dl...@gmail.com wrote: On Tuesday, 21 October 2014 at 09:14:00 UTC, Szymon Gatner wrote: Crazy idea: reach pleayerbase of Minecraft. Hit the same problem with

Re: OT: Minecraft death by GC

2014-10-21 Thread ROOAR via Digitalmars-d
3. Cobol to D converter, sell to banks for $16B. I'll just put this right here. https://github.com/rikkimax/Dobol Why? Wait why? Also Cobol looks horrid. Why is it all caps.

Re: OT: Minecraft death by GC

2014-10-21 Thread Wyatt via Digitalmars-d
On Tuesday, 21 October 2014 at 10:25:42 UTC, ROOAR wrote: Also Cobol looks horrid. Why is it all caps. You're kind of new to this legacy thing, aren't you? ;) -Wyatt

Re: OT: Minecraft death by GC

2014-10-21 Thread Marco Leise via Digitalmars-d
Am Tue, 21 Oct 2014 07:18:26 + schrieb ROOAR youwa...@yahoo.com: 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: OT: Minecraft death by GC

2014-10-21 Thread Rikki Cattermole via Digitalmars-d
On 21/10/2014 11:25 p.m., ROOAR wrote: 3. Cobol to D converter, sell to banks for $16B. I'll just put this right here. https://github.com/rikkimax/Dobol Why? Wait why? Also Cobol looks horrid. Why is it all caps. Last semester I had an assignment to port some COBOL code to Python. So

Re: OT: Minecraft death by GC

2014-10-21 Thread Rikki Cattermole via Digitalmars-d
On 21/10/2014 11:24 p.m., Szymon Gatner wrote: On Tuesday, 21 October 2014 at 10:15:45 UTC, Rikki Cattermole wrote: On 21/10/2014 10:37 p.m., Ola Fosheim Grøstad ola.fosheim.grostad+dl...@gmail.com wrote: On Tuesday, 21 October 2014 at 09:14:00 UTC, Szymon Gatner wrote: Crazy idea: reach

Re: OT: Minecraft death by GC

2014-10-21 Thread David Gileadi via Digitalmars-d
On 10/21/14, 2:47 AM, monarch_dodra wrote: Hurp, I wonder why GC issues only appear with application that use a GC. Hurp-a-durp. Also, the issue of memory leak and core dumps seem to only appear when you use a systems language. How crazy is that? Happily with a little work D allows you to

Re: OT: Minecraft death by GC

2014-10-21 Thread Israel via Digitalmars-d
On Tuesday, 21 October 2014 at 15:23:11 UTC, David Gileadi wrote: On 10/21/14, 2:47 AM, monarch_dodra wrote: Hurp, I wonder why GC issues only appear with application that use a GC. Hurp-a-durp. Also, the issue of memory leak and core dumps seem to only appear when you use a systems

Re: OT: Minecraft death by GC

2014-10-21 Thread Francesco Cattoglio via Digitalmars-d
On Tuesday, 21 October 2014 at 16:08:41 UTC, Israel wrote: On Tuesday, 21 October 2014 at 15:23:11 UTC, David Gileadi wrote: On 10/21/14, 2:47 AM, monarch_dodra wrote: Hurp, I wonder why GC issues only appear with application that use a GC. Hurp-a-durp. Also, the issue of memory leak and

Re: OT: Minecraft death by GC

2014-10-21 Thread ketmar via Digitalmars-d
On Tue, 21 Oct 2014 16:16:17 + Francesco Cattoglio via Digitalmars-d digitalmars-d@puremagic.com wrote: More likely: to give you the ability to shoot yourself in the foot both with a GC and without it. ;) wow! so i'll be able shoot away my foot and GC will collect it! signature.asc

Re: OT: Minecraft death by GC

2014-10-21 Thread Israel via Digitalmars-d
On Tuesday, 21 October 2014 at 16:25:06 UTC, ketmar via Digitalmars-d wrote: On Tue, 21 Oct 2014 16:16:17 + Francesco Cattoglio via Digitalmars-d digitalmars-d@puremagic.com wrote: More likely: to give you the ability to shoot yourself in the foot both with a GC and without it. ;) wow!

Re: OT: Minecraft death by GC

2014-10-21 Thread via Digitalmars-d
On Tuesday, 21 October 2014 at 10:15:45 UTC, Rikki Cattermole wrote: I'll just put this right here. https://github.com/rikkimax/Dobol Haha! :-D Cool, or should I say Dool? «Dobol, enjoy the future of the past!» Banks are having trouble finding Cobol programmers. I'm considering learning

Re: OT: Minecraft death by GC

2014-10-21 Thread deadalnix via Digitalmars-d
On Tuesday, 21 October 2014 at 07:37:06 UTC, Kapps wrote: Maybe the biggest and the ugliest problem is the memory allocation. Currently the game allocates (and throws away immediately) 50 MB/sec when standing still and up to 200 MB/sec when moving. That is just crazy. Wonder how much better

Re: OT: Minecraft death by GC

2014-10-21 Thread Paulo Pinto via Digitalmars-d
On Tuesday, 21 October 2014 at 07:37:06 UTC, Kapps wrote: Maybe the biggest and the ugliest problem is the memory allocation. Currently the game allocates (and throws away immediately) 50 MB/sec when standing still and up to 200 MB/sec when moving. That is just crazy. Wonder how much better