PDA

View Full Version : C# Memory Leak Torpedoed Princeton's DARPA Chances


sl4shd0t
11-17-2007, 10:09 AM
nil0lab writes "In a case of 20/20 hindsight, Princeton DARPA Grand Challenge team member Bryan Cattle reflects on how their code failed to forget obstacles it had passed. It was written in Microsoft's C#, which isn't supposed to let you have memory leaks. 'We kept noticing that the computer would begin to bog down after extended periods of driving. This problem was pernicious because it only showed up after 40 minutes to an hour of driving around and collecting obstacles. The computer performance would just gradually slow down until the car just simply stopped responding, usually with the gas pedal down, and would just drive off into the bush until we pulled the plug. We looked through the code on paper, literally line by line, and just couldn't for the life of us imagine what the problem was.'"Read more of this story (http://developers.slashdot.org/article.pl?sid=07/11/17/0552247&from=rss) at Slashdot.
http://rss.slashdot.org/~a/Slashdot/slashdotDevelopers?i=uqkWLP</img> (http://rss.slashdot.org/~a/Slashdot/slashdotDevelopers?a=uqkWLP)
http://rss.slashdot.org/~r/Slashdot/slashdotDevelopers/~4/186211307

More... (http://rss.slashdot.org/~r/Slashdot/slashdotDevelopers/~3/186211307/article.pl)