32-bit Pointers in a 64-bit World
64 bit is wonderful - no longer we are limited to a just 2GB (per Win32 process) - you can now address a full 8TB of memory (per Win64 process)...... more »
1 commentsSave Tags: c-and-cpp, how-to
Numerical Recipes in C
Thanks to special permission from Cambridge University Press, we are able to bring you the complete Numerical Recipes in C book On-Line
0 commentsSave Tags: books, c-and-cpp
Beust Coding Challenge Wrap-up
My first take away from this little exercise is that conciseness only goes so far. I have seen people post a one-liner solution on their blog in... more »
2 commentsSave Tags: c-and-cpp, java, other languages
A Deeply Skeptical Look at C++0x
Today I saw a link to an article entitled C++ Gets an Overhaul on Hacker News detailing C++0x, the proposed set of standards for the new generation of... more »
1 commentsSave Tags: c-and-cpp, standards
Cilk Wins Most Influential Programming Language Design and Implementation Award
The PLDI paper "Implementation of the Cilk-5 Multithreaded Language" introduced an efficient form of thread-local deques to control scheduling of... more »
0 commentsSave Tags: c-and-cpp, microsoft, research, trends
C++ Gets an Overhaul
In this overview of the changes proposed for the new standard, you'll get an idea of the kinds of improvements you can expect this time around.
2 commentsSave Tags: c-and-cpp
Easier C++: An Introduction to Concepts
C++0x concepts bring the full power of the Generic Programming paradigm to C++, making templates more expressive, easier to write, and easier to use.... more »
1 commentsSave Tags: c-and-cpp
Boost Version 1.36.0 Released
Boost 1.36 has been released with 4 new libraries (including very useful exception templates) and a host of updates. In particular, boost.asio (the... more »
0 commentsSave Tags: c-and-cpp, frameworks, news
3 Things Multicore Programmers Need
Summary of conversations with ~50 software organizations around the multicore programming challenges, and key criteria for a possible solution.
0 commentsSave Tags: c-and-cpp, methodology, research, trends
Multi-Threading in C++
A Tutorial that describes how to make your C++ program evenly distribute it's load to all available cores/processors.
0 commentsSave Tags: c-and-cpp, how-to, windows
Increase Your Depth as a Programmer by Spelunking
Spelunking through obscure parts of a language can yield some surprises, and make you a better programmer.
0 commentsSave Tags: c-and-cpp, how-to, java, opinion
Adding a lock() statement to C++
Describes a siimple way to add a C#-style lock statement to C++ to simplify synchronization.
0 commentsSave Tags: c-and-cpp
Multicore Programmers: What the $#@! is Parallelism?
An intro to Amdahl's Law, and concepts around Work and Span, as they relate to multicore programming. Blog post presents a model for analyzing... more »
1 commentsSave Tags: c-and-cpp, methodology, tools, trends
The Folly Of Do-It-Yourself Multithreading
Many engineering organizations struggle with NIH ("not invented here") attitudes within their company, since most engineers would rather build than... more »
0 commentsSave Tags: books, c-and-cpp, how-to, tools
Concurrency + Erlang
A talk and many resources on concurrency and Erlang
0 commentsSave Tags: c-and-cpp, java, other languages, python
Behind the Scenes at Facebook: Scaling Up FBChat Using Erlang
The most resource-intensive operation performed in a chat system is not sending messages. It is rather keeping each online user aware of the... more »
0 commentsSave Tags: c-and-cpp, other languages, trends, web 2.0
Visual C++ Thread Debugging
The great difficulty in thread debugging is the lack of predictability and certainty in application behaviour. For a single-threaded application that... more »
0 commentsSave Tags: c-and-cpp, how-to
Back to Basics: LinkedLists
I tend to subscribe to the belief that programmers with some C background are typically better off than those without. This is largely because C is... more »
1 commentsSave Tags: c-and-cpp, how-to, trends
Server Concurrency != Client Concurrency
The problem with taking advantage of multicore/manycore hardware isn’t (as much) on the server, it’s on the client.
0 commentsSave Tags: c-and-cpp, server, trends
About AI and neural networks
In my last post I described the high-level architecture of my software, how the soccer match part is divided into a client that does the work on... more »
0 commentsSave Tags: c-and-cpp, research
Pragmatic Smalltalk with GNUstep, Étoilé and LLVM
Since around June 2008, Étoilé has included a Smalltalk Just-In-Time (JIT) compiler. Unlike other Smalltalk implementations, this is designed for... more »
0 commentsSave Tags: c-and-cpp, open source, other languages, unix-linux
Delicious is gone! Long live Delicious!
Delicious, in its former state, was a huge Perl application on top of Apache and MySQL. Since then, its been completely recreated in a tiered system... more »
1 commentsSave Tags: c-and-cpp, other languages, php
Garbage Collection Representations
I have yet to find a comprehensive description of the various data representations used for garbage collection. This isn't an overview of garbage... more »
0 commentsSave Tags: c-and-cpp
Approximation of pow() in Java, C and C++
For many application of the pow() method, an approximate value suffice. This text shows how to gain a *41* times speed increase by using an... more »
4 commentsSave Tags: c-and-cpp, how-to, java, other languages
via