Welcome to MSDN Blogs Sign in | Join | Help

Pigs Can Fly

Windows performance, development, and related issues
(and maybe some not so related...)

Browse by Tags

All Tags » Source Code   (RSS)
StackOverflow answer – why learn multi-core programming? #2
In my last post I talked about how multi-threading can be used to improve responsiveness while loading a file. I’ve put together a sample program (source included) that shows how to do this in C# 3.0, .NET 3.5, and WPF using Visual Studio 2008. You can find a zip file with a complete project attached. Read More...
Beyond Hello World - Update 5, TreeMap Control Working, Perf Issues
CLCV V5 now has a fully working TreeMap control that zooms, supports mouse over events and looks pretty good. But there are two major performance problems: 1) WPF rendering seems to be very expensive. 2) Tree Map nodes are relatively expensive in terms of memory size. Source code is included. Read More...
Beyond Hello World - Update 4, File loading 27 times faster!
CLCV V4 now loads files about 27 times faster than V3 when running on my laptop. The tree view is also about 5 times faster. Read More...
Beyond Hello World - Update 3, Control Templates, Multithreading, and more... (with source)
I've learned a lot in working on my first real WPF application such as implimenting multi-threaded file reading, how to use the dispatcher object, how to use control templates to customize controls, the basics of application configuration, using abstract Read More...
Beyond Hello World - An Update On My First WPF Application (with source)
I've been working on my first useful WPF application and I've learned several things since my last post and answered a few questions. I've included a ZIP file with my updated source (you can find it at the bottom of the post, it includes full Visual Studio 2005 project) Read More...
Beyond Hello World - My First WPF Application (with source)
My pet project for the holiday vacation has been writing a WPF application to view data from my code line counting tool CLC.EXE (soon to be released on Codeplex). CLC produces counts of lines, code, comments, and other statistics per file, per directory and for entire directory trees. When complete, the CLC data viewer (CLCV) will read a CLC data file and display various visualizations of the data such as a tree map (see also, and also), some pie charts and perhaps a histogram or two. I’ve included the first working CLCV application shell in the attached zip file. Read More...
WPF Styles
One of the things I planned to do this holiday season was spend some time learning about Windows Presentation Foundation (here is the Microsoft link ). The first thing to did was write a " Hello World " program. I wanted just a simple window with a text Read More...
Page view tracker