Tag RSS FeedGet The RSS Feed For This Page Here.

Matthew Wilson's Blog
MWilson Description:
Matthew has been programming professionally for nearly two decades, and by now knows enough about C, C++ and C#/.NET to be able to point out their imperfections with authority and affection. A development consultant for Synesis Software (www.synesis.com.au) he specialises in advising software development teams on improvements to processes and practices, in providing intensive on-the-job training, and in designing and/or implementing bespoke software-intensive systems.


He is the author of several books - including Imperfect C++ (2004), Extended STL, volume 1 (2007), and Imperfect C# (2010) - and more than 100 articles. He has previously served as columnist and contributing editor to Dr Dobb's Journal, C/C++ Users Journal, and The C++ Source, and now writes the "Quality Matters" bi-monthly column for ACCU's Overload journal, covering issues of software quality across many languages and technologies. (He’s pretty pleased to also be back in the DDJ fold, in this forum.)


Matthew’s an avid open-source user and contributor, and is the creator of several libraries, the most notable of which, FastFormat and Pantheios, have raised the bar for flexibility, performance and robustness in their respective areas of formatting and diagnostic logging.


Notwithstanding the foregoing, Matthew remains in a constant state of learning in order to fulfil his duties as a software craftsman to provide high-quality services to clients at a modest profit, and to share that knowledge with other professionals. He hopes to try and do both via this blog.

Feb 07
2010

(Still) be explicit to avoid those array/pointer decay ambiguities

Posted by Matthew Wilson in CPlusPlusC

I'm multitasking between three clients at the moment, two of whose projects are based primarily around C++. It's interesting seeing the differences between all the languages, programming styles, and tools, involved. For a consultant - horrid word - it's a refreshing and enlightening experience.

Although there is a C standard and a C++ standard, there are also different degrees of support for the standards by different compilers, not to mention some subtle (and some not-so-subtle) extensions and non-standard features. Consequently, there are myriad ways in which competent programmers can find themselves mired in incompatibilities. And that can even happen when they're adhering to the standard(s)!


Jan 14
2010

"I don't get it. Whoosh! Next."

Posted by Matthew Wilson in Windows 7WindowsOffice 2007

A fascinating coincidence today: I was watching Billy Connolly participating in (his wife) Pamela Connolly's Shrink Wrap programme of psychological interviews. At the same time, I'm wrestling with Office 2007's perverse new user interface paradigm. And Windows 7. And my iPhone.


Dec 16
2009

Hungarian notation alive in .NET?

Posted by Matthew Wilson in Hungarian NotationCSharpCPlusPlusC.NET

I think - well, I hope, anyway! - that the battle for Hungarian Notation has been resolved for most programmers. Nonetheless, it seems to have left more than a faint trace  in the .NET world. Is this a good thing? Can it be avoided?


Nov 25
2009

Why does Bing think I've gone home?

Posted by Matthew Wilson in socialSearch

In the interests of fairness - not to mention my dislike of unchallenged monopolies - I decided to give Bing a chance. Only problem is, it thinks I've gone home. Could it be my grammar?


Nov 24
2009

Recursive search examples, pt2: C

Posted by Matthew Wilson in reclsPerformanceC.NET

In my previous post, I started looking at a simple recursive-search implementation in C#, using recls 100% .NET. I'd next planned to look at the equivalent C++. However, because the recls (C/C++) library is still in-flux - between versions 1.8 and 1.9 - presenting a C++ example right now will require either using the 1.8 C++ API, which is a little tired, or using the 1.9 C++ API, which is not yet available in the public-domain. So, my current plan is to present an example using recls' C API, while I get the 1.9 released; hopefully in a week or two I'll be able complete the story with the C++ implementation.


Nov 21
2009

Recursive search examples, pt1: C#

Posted by Matthew Wilson in reclsPerformance.NET

In light of my recent article on recls 100% .NET, I thought I'd do some bits on the recls library: the C/C++ version, and the new .NET version.

First up, let's write a utility that, say, reports the number of C# source files in/under the current directory, excluding the ubiquitous Properties/AssemblyInfo.cs, and reports on the total size of all. We'll write it in C# using recls 100%.NET and in C++ using recls. As you'll see, we see a pretty obvious difference in development effort, which probably isn't a surprise. What is a surprise, given the application domain, is there's a substantial performance difference, which I think might be due to the .NET runtime.


Nov 06
2009

.NET Collection Enumeration Performance, part 1

Posted by Matthew Wilson in Performance

I'm investigating the performance of various ways of enumerating collections in .NET, and have some results you might be interested in. The firstbunch concern enumeration of collections (of strings).


Nov 04
2009

Introductions

Posted by Matthew Wilson in CSharpCPlusPlusC Sharp.NET

As new boy on the block, I think it behoves me to give a little introduction: my experience, my interests, and what subjects I intend to cover in this forum.

The bio at the top of this forum describes much of what you need to know about my experience, so I won't bang on too much more about that. Professionally, I enjoy leaving behind happy clients, and in particular I take it as a point of pride to build systems that don't break. Not always easy to achieve, of course. Although I primarily work for clients within Australia, I do occasional work with overseas clients . The common factor between them all is that they want reliable software.

 Unprofessionally (that doesn't sound too good, does it?) Non-commercially, my interests are pretty cleanly split into two:



Get your FREE Subscription to Dr. Dobb’s Digest today!

Dobbs Code Talk Quick Poll

This time next year, your most important operating system (host and/or target) will be:

Look Who's Code Talking


Andrew Koenig
City: Gillette

Steve Winter
City: Fort Lauderdale

Hugo Corra
City: Sao Jose dos Campos

Robert Dickson
City: Pomona

Davide Ficano
City: palermo

James Merritt
City: Santa Cruz

Dobbs Code Talk Tags

.NET abstraction Ada Adobe Agile Ajax algorithm Algorithmic complexity ALM Analogical reasoning Android Anecdotes Apple Application Development AppStore Architecture and Design ARM Artificial Intelligence Artificial Life Assembler Programming Audio files AVX AWK Banking Bazaar Best Practices Blender Books Brain computer interfacing Build C C Programming C Sharp Cartoon Category theory Cellular automata Clojure Cloud Computing Cobol Cocoa Coder Of The Month Cognition as compression Collaboration Common Process/Frameworks Compilers Computational humour Computational narrative Computational politics Computer Science Computers in art computing pioneers concurrency Conferences Consciousness research Contest Contest140 contests CPlusPlus crime CSharp D Programming Data Centers Databases Debugging Delphi Deployment design Design Patterns Digital Signal Processing Distributed Django Documentation DSL dynamic language Eclipse EDA education Emacs Embedded Systems Encryption engineering Erlang Etymology Excel exception handling Facebook Financial computing Five Questions Flash Flash Lite Flex Forth Fortran Fraud FreeBSD Fun Functional Programming gadgets Games Gender Git gnuplot Go Google Graphics GUI hardware Heron High School High-Performance Computing History Holographic reduced representations HTML5 Humanity Humour Hungarian Notation Identity Inkscape Innovation Intel Interview iPhone J2EE Java JavaFX JavaOne JavaScript language engineering Legal lex LINQ Linux Lisp Literate Programming Logic Programming m4 Mainframes Make Mathematica Mercurial Mesh messaging Metaprogramming Microsoft MID Miscellaneous Musings ML Mobile Software Mobility modeling modular programming multicore Music MVC myblog Natural Language Processing Networking Neural networks newspeak Nokia numerical computing Object Rexx ObjectiveC Office Office 2007 Online spreadsheets OOP Open Source Openaccess publishing OpenBSD OpenSolaris Operating Systems Optimization Oracle Pair Programming Parallelism Concurrency Parsing Pascal Patents Patterns Performance Perl PHP Podcast Pop11 Poplog Privacy Processing Productivity Programming Language Implementation Programming Language One Programming language semantics Programming Languages Programming Style Project Management Prolog Psychology Public understanding of science puzzle Python QA Quantum Computing Quotes Rails Realtime recls Requirements Research practice REST Review RIA rich internet applications Robotics Ruby SaaS Software as a service Scala Schadenfreude Science fiction Screencast Scripting SD Best Practices Search Security Semantic Web Silverlight Snobol SOA social Social Networks Society for the Study of Artificial Intelligence a Software Development Methodology and Management Songs and poems Spending Priorities Spreadsheets SQL Startups Statistics Storage String pattern matching Survey Teaching Testing The Business of Programming The Dobbs Challenge The Future Theory Topology Transhumanism Travel on the Job Twitter Types Unix Upgrade Usability Use Cases USENET User Experience User Interface Design Version Control video virtual machines Virtualization Visual Studio Visual Studio Sponsored Post WCF Web Development Windows Windows 7 Windows Live Wireless WOA WPF X Window System yacc

Subscribe to Dr. Dobbs Newsletter

Email:
Dr. Dobb's Update
Delivered twice a week, Dr. Dobb's Update provides unbiased and objective news, commentary and technical features spanning the entire software development marketplace.

Latest Comments

Jonathan's Last Day at Sun
For the 8 years I worked there, it was fantastic. I worked there under McNealy and I have undying admiration for the guy. I only knew Jonathan periphe...
Implementing Thread Local Storage on OS ...
Back in the day, I did a fair amount of work with PThreads. Wonderful design. Some quirks, but basically really, really nice. Although I wrote a lot ...
More Technonecrophilia with Snobol One-L...
Yeah, It's probably identical except for the (embedded) copy number, I would think. Once it became freely distributable, the copy I've been distribut...
More Technonecrophilia with Snobol One-L...
There's a spitbol-3.7-win.exe at http://code.google.com/p/spitbol/downloads/list . I found it via Dave Shield's blog page http://daveshields.wordpress...
Jonathan's Last Day at Sun
Sadness.

The Latest From Our Member Blogs

How To Select Trainees
Written by Joel Wiesen   
01/27/10
Hiring the right trainee can be harder than hiring a trained programmer.  One approach is described at my website: http://www.aprtestingservices.com/business/lpat/
 
Technical Job Interviews
Written by Keith Kerlan   
01/20/10
What is the best way to interview for software developer positions?  I've been on both sides of the job interviewing table, but have been on the interviewee side of some not too  great inter
 
Timers/timeouts in multi-threaded event-loops
Written by Christof Meerwald   
01/03/10
The traditional way to integrate timeout handling (or timers) in (single-threaded) event loops was to just pass the appropriate timeout value to the select/poll/epoll syscall. While this works fine
 
C vs C++
Written by Issam Lahlali   
12/04/09
I think that the debate "C vs C++" will end when the two langages died, and each one have its advantages and inconvenients, the choice of one instead of another depend on the application c
 
Great Jobs at CISCO
Written by Brent Rogers   
11/30/09
Hello! I am a recruiter at CISCO. We have a number of great jobopportunities at CISCO right now. Please take a look at the job links listedbelow and please send me an updated resume if you are interes
 
OK Labs, ST-Ericsson, and the Mobile/Wireless Ecosystem
Written by Steve Subar   
11/17/09
Two weeks ago, OK Labs and ST-Ericsson announced the selection of OK Labs as ST-Ericsson's mobile virtualization partner. To earn this coveted position, OK Labs prevailed in a rigorous evaluation
 
C++ Ninjas Needed in Santa Clara, California
Written by Brent Rogers   
09/30/09
Hello! I am a recruiter at CISCO. Our PostPath teamin Santa Clara is building a new Email SaaS business at CISCO. We are looking forsenior developers with Zimbra expertise to help us accomplish this t
 
Fighting Fragmentation with Mobile Virtualization
Written by Steve Subar   
09/21/09
Last week Motorola and T-Mobile announced the launch of a new and innovative Android-based smartphone, the Cliq. This attractive, feature-rich slider handset happens to build on a chipset and firmware
 
Insights into Router Design: Unit Testing of Networking Protocols
Written by Rajesh Kumar Venkateswaran   
09/07/09
  Unit testing is a software validation methodology through which a programmer tests individual modules or units of source code. If the programmer has been responsible for developing a networ
 
Insights into Router Design: Implementation of Networking Protocols
Written by Rajesh Kumar Venkateswaran   
09/06/09
  Modern data networking consists of a large number of networking protocols, each of which has its own domain of applicability. Some run on end stations (also called hosts), some on enterp
 
Insights and Innovations in Networking
Written by Rajesh Kumar Venkateswaran   
09/05/09
Networking devices such as routers and switches have evolved quite a bit over the past years, both in the service provider network and in the enterprise. It is a challenge to build these devices, bo
 
reddit threads community
Written by Christof Meerwald   
08/30/09
I have just started a threads community over at reddit to cover topics such as multithreading, concurrency and parallel programming. Feel free to join if you are interested. -- cmeerw.org 
 

The Latest From Dr. Dobbs

DDJ