C & C++

  • submit to reddit

Legacy Code Preservation: Why Preserve the DSL?

A Domain-Specific Language (DSL) can provide some intellectual leverage. We can always write long and convoluted programs in a general-purpose programming...

0 replies - 2306 views - 05/17/13 by Steven Lott in Articles

An Objective-C Tutorial for Experienced Programmers

If you want to get into iOS programming but don't need to start from programming basics, you might find this tutorial handy: an introduction to Objective-C for...

0 replies - 1922 views - 05/12/13 by Eric Gregory in Articles

Programming a State Machine

My attempts at game programming usually turn into impenetrable spaghetti code: “If the player walks through this door, then have him talk to the princess,...

1 replies - 5394 views - 04/02/13 by Kristina Chodorow in Articles

ScaleBase Overview – Your complete scale out partner

ScaleBase Overview – Your complete scale out partner Watch the Video below to learn how to scale out your MySQL Database with ScaleBase. Cost-effectively...

0 replies - 313 views - 02/22/13 by Kelley Gemma in Uncategorized

C++11 Smart Pointers are Not Just For Memory

RAII is a useful idiom. It helps prevent resource leaks by making sure that resources are freed when they are no longer needed, and as such, provides a simple...

0 replies - 1160 views - 01/25/13 by Grigory Javadyan in Articles

ActuateOne for OEMs

"Actuate BIRT’s (Business Intelligence and Reporting Tool) proven technology allows software companies to innovate, leapfrog the competition and meet...

0 replies - 350 views - 01/22/13 by Kelley Gemma in Uncategorized

The Route to C++ Code Optimization

 The focus of this interview is mapping the (long and complicated)path to executable machine code that the machine natively understands and...

0 replies - 687 views - 01/05/13 by Allen Coin in Articles

SIMD-Optimized C++ Code in Visual Studio 11

The C++ compiler in Visual Studio 11 has another neat optimization feature up its sleeve. Unlike intrusive features, such as running code on the GPU using the...

0 replies - 2102 views - 12/22/12 by Sasha Goldshtein in Articles

Algorithm of the Week: Integer Linear Time Sorting Algorithms

Most of the sorting algorithms that are used are generally comparison sort. It means that each element of the collection being sorted will be compared to see...

4 replies - 6213 views - 12/18/12 by Baptiste Wicht in Articles

C++ benchmark – std::vector VS std::list

A updated version of this article is available: C++ benchmark – std::vector VS std::list VS std::deque In C++, the two most used data structures are the...

0 replies - 2808 views - 12/06/12 by Baptiste Wicht in Articles

A Web Server in C

I implemented a web server in C language using only the standard libraries and thought it would be useful for you guys if I share the code. The server...

5 replies - 10150 views - 11/17/12 by Pavithra Gunasekara in Articles

Some Notes on POSIX Regular Expressions

Lately I’ve been digging a bit into POSIX regular expressions. My first experience with regular exressions was in year 2000 with Perl. Since then,...

0 replies - 2631 views - 11/16/12 by Eli Bendersky in Articles

Compiler Comparison: GCC 4.7 vs CLang 3.1 on eddic

Now that eddic can be compiled with CLang, I wanted to compare the differences in compilation time and in performances of the generated executable between...

0 replies - 3236 views - 11/13/12 by Baptiste Wicht in Articles

Weekly Poll: Sans JVM?

A few weeks ago, we asked which programming language you'd use if Java weren't an option. JVM languages, especially Scala and Groovy, were the overwhelming...

6 replies - 9184 views - 11/02/12 by Bill Armstrong in Articles

C++ or Java: Which is Faster for High Frequency Trading?

OverviewThere are conflicting views as to what is the best solution for high frequency trading. Part of the problem is that what is high frequency trading...

0 replies - 6905 views - 10/22/12 by Peter Lawrey in Articles