Welcome!

John Gomez

Subscribe to John Gomez: eMailAlertsEmail Alerts
Get John Gomez via: homepageHomepage mobileMobile rssRSS facebookFacebook twitterTwitter linkedinLinkedIn


Top Stories by John Gomez

"What's wrong, Uncle John?" I hadn't realized how my facial expressions were illustrating my inner feelings. I had been working on a new coding project, and as I worked I became more and more amazed by the native memory management provided by .NET. It seemed that almost by magic the runtime was able to figure out which objects were no longer needed and which should hang around, and - yet more amazing - it could even call special cleanup routines. "Nothing is wrong, Marissa; I just wish I had time to dive into the automatic memory management features of .NET," I replied hastily. Honestly, what could a five-month-old baby possibly know about the intricacies of garbage collectors and memory management? "Is that all?" she replied. "The .NET garbage collector is rather easy to... (more)

Exception Handling From the Inside Out

From the perspective of most programmers, the ability to raise an exception is typically a rather straightforward set of semantics that allows your program to react to an unexpected situation. But as with most things related to .NET, there are a variety of under-the-covers "happenings" that allow your particular programming language to implement a common service without sacrificing the ... (more)

Marissa's Guide to the .NET Garbage Collector, part 2

When we left Marissa last month she was getting rather cranky, but now she is well rested and ready to get down to business. And that business is how Microsoft .NET manages memory through the use of what is commonly known as the garbage collector or GC. In the first article in this series [.NETDJ, Vol. 1, issue 8] we discussed some of the basic concepts behind the garbage collector. If y... (more)

The Science of Threading

In Part 1 of this series (.NETDJ, Vol. 1, issue 12) we explored some basic background in regard to .NET threading. We explored concepts related to threads in general, their appropriate usage, and how to work with the thread pool in .NET as an alternative to managing our own threads. This month we will build on what we know and dive deeper into .NET threading. We have a lot to cover, so l... (more)

The Science of Threading - Part 1: An overview of a little-understood area

If I had to bet on what is the least-understood - yet most often viewed as a cure-all - area of software engineering, I would have to place my money on threads. The topic of threading, in my opinion, causes a tremendous amount of confusion and is typically implemented in situations where there is no need for the use of threads. Having said that, if you can gain a healthy understanding of... (more)