If you read discussions about programming languages, one topic is quite common: "Why do people use an inferior language like Java/C++/what-the-hell and not a superior language like Lisp/Haskell/Python/you-name-it"?
This software is a translation into C++ of the excellent Webgraph library by P. Boldi and S. Vigna. The original library, written in Java, is easy to use but hampered by some requirements of the Java virtual machine. This C++ translation attempts to preserve much of the ease of use (through integration with the Boost Graph Library), but bypass requirements imposed by a virtual machine.
Embedded software often runs on processors with limited computation power, thus optimizing the code becomes a necessity. In this article we will explore the following optimization techniques for C and C++ code developed for Real-time and Embedded Systems.
My first experience with software quality was in 1976, when I sat in front of an ASR-33 and laboriously typed 2 pages of BASIC code from David Ahl's "Creative Computing" into my high school's Hewlett-Packard 21MX. Supposedly it would let me simulate a lun
Xapian ist eine Suchmaschinentechnologie - aehnlich wie Lucene im Java-Umfeld. Sie zeichnet sich durch verschiedene Vorteile aus.
1) Xapian ist schnell
2) Obwohl Xapian selbst in C++ programmiert ist, kann mit Perl und vielen anderen Programmiersprachen darauf zugegriffen werden. Indexer und Suche sind zusammen weniger als 100 Zeilen Perl-Code.
3) Xapian bietet Relevance Feedback. Damit können Drill-Downs realisiert werden - wenn auch erst einmal nur token-basiert out-of-the-box.
4) Xapian skaliert vernünftig mit grossen Datenmengen. Bei einer Web-Suchmaschine mit 500 Millionen Webseiten (etwa 1.5 Terrabytes an Datenbank Dateien), bei der Xapian im Einsatz war, brauchte eine Suche (laut Bericht) trotzdem weniger als 1 Sekunde - natürlich hängt das auch massgeblich von
der verwendeten Hardware ab. Eine Suche nach 'Deutschland' im Katalog der USB Koeln mit knapp 77000 Treffer brauchte knapp 1 Sekunde...
Insgesamt eine stabile und interessante Loesung fuer Suchanwendungen.
For many years we've been using statically typed languages for the safety they offer. But now, as we all gradually adopt Test Driven Development, are we going to find that safety redundant? Will we therefore decide that the flexibility of dynamically typed languages is desirable?
The C++ standardization committee is hard at work standardizing threads for the next version of C++. Some members recently met to discuss the issues, and The C++ Source was there. Read on to learn what the world’s leading experts on concurrency are plan