Top stories for c-and-cpp

Buzz | Video | Top stories | My News


added 2008 Fri May 16 3:16:10 by Jacek
It seems the fine folks at Trolltech are working on making this go away by allowing Qt apps to use GTK+ for all the rendering (not imitated, real GTK+).
added 2008 Thu May 15 6:32:54 by yardena
Code To Joy has ignited a debate on the topic of You Should Learn New Languages. The post is in response to a Gustavo Duarte post titled Language Dabbling Considered Wasteful, which was carried on InfoQ four days ago. As always, I claim that both sides have their points. When I read Gustavo for the first time, I said to myself, "I couldn't agree more." And when I read Michael's response, I said to myself, "That's totally what I want to say—fifteen years ago." Yes, I'm setting this up as the opinion of the young vs. that of the old.
added 2008 Tue May 13 19:45:44 by bloid
LZO is a data compression library which is suitable for data de-/compression in real-time. This means it favours speed over compression ratio. LZO is written in ANSI C. Both the source code and the compressed data format are designed to be portable across platforms.
added 2008 Mon May 5 12:31:40 by bloid
I’ve been turning that question over in my head for a few months now. It’s really a worthy thought. At face value, it’s incredibly derogatory and implicative of an over-bulked, poorly designed language. While I’m sure this is not how the concept was originally intended, it certainly comes across that way.
added 2008 Sat May 3 16:05:34 by vladocar
"Once your latest project is finished, you are very likely to forget the structure of the layout, numerous classes as well as the color scheme you’ve used in the project. In CSS-files sensible structuring can drastically reduce complexity, improve code management and consequently simplify maintainability. However, how can you achieve sensible structuring? Well, there are a number of options. For instance, you can make use of comments — after all, in CSS-code there is always some area for useful hints, notes and, well, comments you can use afterwards, after the project has been deployed."
added 2008 Fri May 2 7:57:48 by bloid
My blog post about the first problem in Project Euler went strange places. I was just trying to learn Python by solving a barely non-trivial problem. Maybe it was a full moon, not sure, but it wound up in a tangle of gcc, groovyc, and .elc. Happily, some good performance improvements were suggested and I've tried to incorporate them below.
added 2008 Mon Apr 28 13:58:53 by galiel
Recently, I ran into an interesting job interview question in C++ which I want to share. Lets take a look at the following code...
added 2008 Mon Apr 28 11:44:39 by JackyBrown
The standard idea of code aesthetics, when such an idea manifests itself at all, allows for programmers to have elegance and clarity as their standards. This paper explores programming practices in which other values are at work, showing that the aesthetics of code must be enlarged to accommodate them.
added 2008 Sat Apr 26 21:01:59 by bloid
Brian Oliver already spilled the [Java]beans, or more appropriately let the C++ out of the bag, so there's not much more to say, other than that as of last night, the product download is available to our beta partners for select private preview. This is a cross-platform, 32- and 64-bit, multi-threaded and thread-safe, pure C++ implementation of Coherence, with support already completed for most of the Portable Object Format (POF).

Sponsors

 
added 2008 Mon Apr 21 12:06:32 by OniMusha79
Bellow I provide links for almost 40 of the best online books I was able to locate through a few quick searches on google. Topics include, programming, data structures and algorithms, mathematics, etc...
added 2008 Wed Apr 16 11:23:31 by rick
Every once in a while, an evolutionary leap rapidly advances and reshapes the entire field of engineering. Such a leap occurred in software development with the introduction of the C++ programming language.
added 2008 Mon Apr 14 18:29:12 by ScaleOvenStove
Why developers still use MFC instead of .NET and some of the reasons/motivations behind their decisons.
added 2008 Thu Apr 10 16:22:58 by ashishmohta
The mistake I made was I wrote the index_number[name of array] ( Wrote 3[i] instead of i[3] ) and it gave the same result as it should have given, if I had written it correctly - A bug in C
added 2008 Wed Apr 9 0:58:55 by bloid
Of all the new features coming into C++'s next version of the language standard, I think definitely one of the things which will make the single biggest change will be the addition of support for lambda. Before I go into that, let me give some context into why I've gone into thinking about this a little, and why I've chosen to blog about it.
added 2008 Mon Apr 7 8:42:20 by bloid
My favorite programming geek hobby being integer overflows, this caught my eye – "gcc silently discards some wraparound checks"
added 2008 Sat Apr 5 16:39:37 by geertjan
JNIEasy is a development Java library focused on JNI access to C/C++ native methods. Here Jose, its creator, tells you all about it via an example scenario. And he asks: "What native libraries do you know of that could be interesting to access from Java?"
added 2008 Sat Mar 29 10:02:29 by bloid
C++ creator Bjarne Stroustrup discusses the evolving C++0x standard, the education of programmers, and the future of programming.
added 2008 Mon Mar 24 20:59:11 by bloid
I've seen some very good programmers move away from C++ in favor of languages like Java or C#. Being a hard-core C++ programmer myself, I wondered why anyone would want to switch to a less powerful and less efficient language. Mind you, I could understand why a newcomer would opt for a simpler, flatter-learning-curve language but, once somebody invested the time and effort to become proficient in C++, why in the world would they want to abandon it?
added 2008 Sun Mar 16 16:48:17 by unchqua
A follow-up of "CERT C secure coding standard", but for C++.
added 2008 Fri Mar 14 14:53:33 by bloid
Fast delegates are a C++ version of closures, which are basically functions bound to an execution environment. Delegates, in practice, are used as a lightweight implementation of interfaces, or as an elegant replacement for member function pointers. If you cringe at the thought of writing an interface around simple functionality, or get frustrated with how the C++ standard prevents you from legally casting function pointers, then fast delegates are the solution.
added 2008 Thu Mar 13 13:20:25 by bloid
View real-time relations and activities from any logfile on any server with SSH, in an entertaining way.
added 2008 Tue Mar 11 16:15:46 by activa
Did you know there's an alternative way of writing "if .. else if .. else if .. etc.." in C/C++, C# and Java? You probably do, but if you don't, read on...
added 2008 Mon Mar 10 23:18:31 by celalerbay
Programming Tutorials, Learn Programming with Tutorials and Programming Examples - Java, dotNET, C#, C, C++, PHP, Linux, Visual Basic etc...
added 2008 Mon Mar 10 20:37:54 by slackerIII
A review of the lessons learned when building a custom, high performance search engine and some ideas about how it could have been improved.
added 2008 Sat Mar 8 7:52:15 by bloid
Allow me to let you in on a little secret. Calling the same function twice is NOT duplicating code. Not if the arguments change between calls.
added 2008 Wed Mar 5 4:02:19 by sah
Good for getting help with code, showing someone how to do something, or trying something out when you don't have an interpreter handy (say, from your phone).
added 2008 Mon Mar 3 23:34:11 by jimmy zhang
This benchmark report compares the parsing performance of VTD-XML, Xerces DOM, Pull, Piccolo and Xerces SAX. It also compares the memory usage of VTD-XML to Xerces DOM, both with full node expansion and deferred node expansion. Lastly, it also compares the navigation performance of VTD-XML and Xerces DOM.
added 2008 Mon Mar 3 13:46:26 by daltonfilho
This guide explains how to create a wxWidgets project using NetBeans on Windows (including Vista). It is divided in two parts: the first lists the steps necessary to compile wxWidgets on Windows (using MinGW + MSYS); the second part explains how to create a wxWidgets project on NetBeans using that build.
added 2008 Thu Feb 28 22:32:45 by justinbezanson
Outside of the .Net community it is hard to find someone that has anything positive to say about Silverlight. Whether it is becuase they are misinformed, hate MS, or they have formed this opinion after objective research of the technology, the fact remains Silverlight isn’t getting much respect and it has a huge mountain to climb in terms of an install base.
added 2008 Thu Feb 28 7:12:53 by bloid
I was going through an interview package today, where the interviewee returned a whole STL vector as a result of the function. I wondered if this is a reasonable thing to do, and whether it would cause a lot of data copying.