This page looks plain and unstyled because you're using a non-standard compliant browser. To see it in its best form, please upgrade to a browser that supports web standards. It's free and painless.

Robert Marcano's blog
Get Firefox Use OpenOffice.org hacker emblem

Welcome bad coders

robert | 05 October, 2006 13:06

Soon, the Mono runtime will have a Portability Layer or what I call the Welcome Bad Coders Layer. This is not the correct way to do things, fix the application if you have those problems and do not hack the runtime to allow bad coding practices. What will we see next?, a new patch to the Linux kernel to fix bad implemented applications? like Microsoft has done:

"I first heard about this from one of the developers of the hit game SimCity, who told me that there was a critical bug in his application: it used memory right after freeing it, a major no-no that happened to work OK on DOS but would not work under Windows where memory that is freed is likely to be snatched up by another running application right away. The testers on the Windows team were going through various popular applications, testing them to make sure they worked OK, but SimCity kept crashing. They reported this to the Windows developers, who disassembled SimCity, stepped through it in a debugger, found the bug, and added special code that checked if SimCity was running, and if it did, ran the memory allocator in a special mode in which you could still use memory after freeing it"

Taken from joelonsoftware.com

I hope that repositories like Fedora Extras will not allow the usage of this ugly hack.

Comments

Add comment

 authimage
 
Valid XHTML 1.0 Strict and CSS.
Copyright 2003-2007 Robert Marcano. All Rights Reserved
Powered by LifeType
Original Design by Book of Styles