I just thought it might be a good idea to write a post for my text editor category again — the problem is, I don’t currently have the time to do more tests. I haven’t lost interest in this, so rest assured there will be more tests as soon as my time allows it!
Among the news coming from PDC are reports from the first public presentation of Office 12. Lots of gui changes is the most obvious thing to know about that. They replaced the menu bar with the ribbon… hm :-) Go have a look!
Just to pass on another piece of news from PDC, here’s a list of information resources about LINQ, which is a fantastic extension to common programming models that we have today. Problem is, it seems to be quite a while away :-)
This is the fourth article in my mini series about object pooling. Be sure to read part 1, part 2 and part 3 first. This part will be about automated object creation. To begin with, we need a way for the object pool to have additional objects created at all. One way to do that would be to just call new
on the object type — and to use the new
constraint on the generic class definition, of course. But that’s an unnecessary restriction, and it would imply that poolable classes always need to …
This is the third article in my mini series about object pooling. Be sure to read part 1 and part 2 first. In this part I’m going to put some of the infrastructure in place that’s needed to handle the list of pooled objects, to make objects available and to allow for them to be put back into the pool.
Initializing the pooled object list
As I don’t want to look at automated object creation just yet, I’ll create a constructor for my pool that allows for a list of pooled objects to be passed …
This is the second article in my mini series about object pooling. You can find the first part here. Now I want to get going by defining an interface for the pool — I don’t mean a C# interface, but rather a framework for the methods and properties that the implemented class is going to have. I’ve also given some thought to the internal organization. One thing’s clear: the pool needs to have a list of objects that it currently holds. This list will have to be extendable, but there aren’t any ot …
I’ll be at DeveloperDeveloperDeveloper Day 2 and also at the geek dinner that’ll hopefully take place afterwards. If you can make it to Reading on the 22nd of October, make sure you sign up! Session voting is now open and there’s a Taxi/Car sharing wiki available for those who don’t know how to get there or want company on the way.
…
The other day there was a thread in a newsgroup which ended up discussing object pooling. Jon pointed to Spring.NET — an application framework for enterprise .NET applications. I’m sure there are other implementations out there, at the moment, Spring.NET merely offers a few interfaces and a rather simplistic implementation of a pool. I thought it might be interesting to people to see how pooling functionality can be implemented, so I’m going to do that for this article, which is supposed to be …