DevDevin

  Home  |   Contact  |   Syndication    |   Login
  105 Posts | 0 Stories | 36 Comments | 29 Trackbacks

News

Archives

Post Categories

Blogworthy

Design Patterns

Recommended Books

C/C++

Native C programming
This is a huge open-source contribution from Microsoft: http://www.codeplex.com/pub... The Distributed Pub/Sub Event System is a solution for cross-process and/or cross-server scenarios where a large amount of event handshaking is required and low latency is important. Basically, this architecture was designed for speed. Even if you can't think of a usage scenario for this code-base in your stack right now, I strongly encourage you to just crack open the source and take a look. I personally think ......

Here is a useful article containing an overview of the new simplified thread synchronization capabilities in Windows Vista: http://www.codeguru.com/columns/kate/article.php/c13387/. These include CONDITION_VARIABLE, AcquireSRWLockExclusive/ReleaseSRWLockExclusive, and AcquireSRWLockShared/ReleaseSRWLockShared.

I came across a few useful articles on AMD's developer website about programming Windows applications to take advantage of multi-core machines: Taking Advantage of Concurrent Programming for Windows, Part 1: The Simplest Multi-core Parallelism That Could Possibly Workhttp://www.devx.com/amd... Taking Advantage of Concurrent Programming for Windows, Part 2: Multi-core Programming in .NEThttp://www.devx.com/amd... ......

When dealing with managed code and unmanaged code together there are several nuances that change the way that interoperability is implemented and things can easily get confusing. For instance, dealing with Win32 COM dlls, plain vanilla Win32 dlls, and ActiveX controls from managed C# all have their own means. An interop assembly can be created for Win32 COM dlls so that it can be referenced from a C# project directly. However, to use regular Win32 dlls from a C# project, you must utilize Platform ......

Alright, if you need to get down to the nitty gritty of Windows memory management like I have to right now, then you don't want to miss these four articles (one of which I posted earlier but will include here again for the sake of comprehensiveness and conveniance). The Virtual-Memory Manager in Windows NT: http://msdn.microsoft.com/l... Managing Virtual Memory in Win32: http://msdn.microsoft.com/l... ......

I'm currently working with a system that includes a shared memory manager written in C. This has forced me to brush up on some of the Windows programming concepts as well as learn a bunch of new ones. Alas, the Windows developer's world is extremely different from the web developer's. What is a buffer?http://en.wikipedia.... What is a pointer?http://en.wikipedia... What is a handler?http://en.wikipedia... ......