News for hackers. Stuff that matters.
Re:Real-Time Garbage Collection Is Real by pshc on Monday November 10, 2014 @06:05PM (#8587218)
I feel like GC is an evolutionary dead end. Too much indeterminism and action-at-a-distance. Rust and virtual reality are two clear indicators to me that we're exiting the age of GC; the opposition isn't just Apple anymore, though they dealt the first blow.
Re:Real-Time Garbage Collection Is Real by kibwen on Monday November 10, 2014 @09:36PM (#8587982)
The Rust developers will be the first to tell you that if you can get away with writing your application in a GC'd language, you probably should. Garbage collectors really are fantastic pieces of technology if you aren't heavily bound by memory or speed constraints.

Rust exists to fulfill a need in the domains where GCs are not acceptable, not to obviate GCs entirely. It merely offers the industry a viable alternative to the typical ravages of rampant manual memory mismanagement.

Re:Real-Time Garbage Collection Is Real by thoughtpolice on Monday November 10, 2014 @06:59PM (#8587457)
TIL Rust will be single-handedly used to rewrite every single GC'd program in existence, and furthermore only VR systems like Oculus will be relevant after that, so why bother dealing with any of the actually-hard problems of the real world and improving the existing technology we'll have today, and for years to come?

Good to know.

Re:Real-Time Garbage Collection Is Real by pjmlp on Tuesday November 11, 2014 @03:21AM (#8588853)
> the opposition isn't just Apple anymore, though they dealt the first blow.

Funny how the technical inability to write a decent GC for Objective-C made them the hero of ARC.

Re:Real-Time Garbage Collection Is Real by AceJohnny2 on Monday November 10, 2014 @06:06PM (#8587222)
what's virtual reality in this context?
Re:Real-Time Garbage Collection Is Real by pshc on Monday November 10, 2014 @06:20PM (#8587297)
Oculus Rift and friends. VR needs extremely consistent latency and has very tight deadlines. Ideally, you render 90 FPS and never miss a frame.

GC pauses are out of the question, so if you're going to use GC, you need to be real-time without any degenerate stop-the-world cases. The linked article ostensibly delivers this, but there's no real-world evidence. Given your tight time budget, you also don't want to pay the "GC tax". GC just makes your life harder in this environment.

There also isn't really any good reason to write a 3D engine in GC'd languages given a) existing C++ engines and b) sightings of Rust on the horizon.

Re:Real-Time Garbage Collection Is Real by pjmlp on Tuesday November 11, 2014 @03:24AM (#8588859)
I know of missile control systems done in Real Time Java.

Just one example,

http://www.atego.com/pressreleases/pressitem/aonix-perc-ultr...

Better no GC jitter....

Re:Real-Time Garbage Collection Is Real by AceJohnny2 on Monday November 10, 2014 @06:27PM (#8587315)
Ah, when lumped with GC I was wondering if there was a new trend in memory management that was confusingly called VR as well :)