NobleBlocks

Research indexJournal article

Source code examples for the "Code Reading" and "Code Quality: The Open Source Perspective" books

Spinellis

Zenodo (CERN European Organization for Nuclear Research)30 Aug 2002Open access

NobleIDark:/48914/w1/20260522/3D59D06CDOI10.5281/zenodo.2526243

Abstract

This archive contains the complete source code associated with the examples for the following two books. Diomidis Spinellis. Code Reading: The Open Source Perspective. Addison-Wesley, Boston, MA, 2003 Diomidis Spinellis. Code Quality: The Open Source Perspective . Addison-Wesley, Boston, MA, 2006. It was distributed with a CD-ROM together with Code Reading. All source code references in the books map directly to the corresponding files in the archive. The following list outlines the code that can be found in the file. Almost all the more than one thousand references in the Code Reading and Code Quality books point to code in the collection, so that they can be examined in context. ace stems from ACE-5.2+TAO-1.2.zip and is mainly written in C++ apache stems from apache_1.3.22 and is mainly written in C argouml stems from ArgoUML-0.9.5-src.tar.gz and is mainly written in Java cocoon stems from cocoon-2.0.1-src.tar.gz and is mainly written in Java demoGL stems from demogl_src_v131.zip demogl_docs_v131.zip and is mainly written in C++ hsqldb stems from hsqldb_v.1.61, hsqldb_devdocs.zip and is mainly written in Java jt4 stems from jakarta-tomcat-4.0-src and is mainly written in Java netbsdsrc stems from netBSD 1.5_ALPHA and is mainly written in C OpenCL stems from OpenCL-0.7.6.tar.gz and is mainly written in C++ perl stems from perl-5.6.1 and is mainly written in C purenum stems from purenum.tar.gz and is mainly written in C++ qtchat stems from qtchat-0.9.7.tar.gz and is mainly written in C++ socket stems from socket++-1.11.tar.gz and is mainly written in C++ vcf stems from vcf.0.3.2.tar.gz and is mainly written in C++ XFree 86-3.3 stems from netBSD 1.5_ALPHA and is mainly written in C In the following paragraphs each package's developers describe their own project. ACE is an open-source framework that provides many components and patterns for developing high-performance, distributed real-time and embedded systems. ACE provides powerful yet efficient abstractions for sockets, demultiplexing loops, threads, and synchronization primitives. The Apache Project is a collaborative software development effort aimed at creating a robust, commercial-grade, full-featured, and freely available source code implementation of an HTTP (Web) server. ArgoUML is a powerful yet easy-to-use interactive graphical software design environment that supports the design, development, and documentation of object-oriented software applications. Apache Cocoon is an XML publishing framework that raises the usage of XML and XSLT technologies for server applications to a new level. Designed for performance and scalability around pipelined SAX processing, Cocoon offers a flexible environment based on the separation of concerns between content, logic, and style. A centralized configuration system and sophisticated caching top this all off and help you create, deploy, and maintain rock-solid XML server applications. DemoGL is an OpenGL-based, C++, Win32 execution platform for audiovisual effects. It allows the development of stand-alone executables or screensavers under the Microsoft Windows platform. The HSQL Database Engine(HSQLDB) is a relational database engine written in Java, with a Java database connectivity (JDBC) driver, supporting a subset of ANSI-92 SQL. It offers a small (about 100K), fast database engine with both in-memory and disk-based tables. NetBSD is a free, secure, and highly portable Unix-like operating system available for many platforms, from 64-bit AlphaServers and desktop systems to handheld and embedded devices. Its clean design and advanced features make it excellent in both production and research environments, and it is user-supported with complete source. OpenCL is (or rather, is trying to be) a portable, easy-to-use, and efficient C++ class library for cryptography. Perl (see also CPAN) is a language optimized for scanning arbitrary text files, extracting information from those text files, and printing reports based on that information. It's also a good language for many system management tasks. The language is intended to be practical (easy to use, efficient, complete) rather than beautiful (tiny, elegant, minimal). Purenum is a C++ bignum library for programmers. Its unlimited-width Integer type works with all of the C++ math operators, but unlike the int type there can never be overflow errors. Division by zero and running out of memory are catchable exceptions. Optimized inline code is used, and the software Integer operations for single-width values run almost as quickly as hardware int operations do. An Array type provides for resizeable arrays of bignums. QtChat is a Yahoo! Chat client based on the Qt library. It includes such features as a plethora of autoignore options, highlighting, private messaging capability, and others. The socket++ library defines a family of C++ classes that can be used more effectively for using sockets than directly calling the underlying low-level system functions. One distinct advantage of Socket++ is that it has the same interface as that of the iostream so that the users can perform type-safe input/output. Tomcat 4 is the official Reference Implementation of the Servlet 2.3 and JavaServer Pages 1.2 technologies. The Visual Component Framework is a C++ framework designed as a completely cross-platform GUI framework. It was inspired by the ease of use of environments like NEXTStep's Interface Builder, Java IDEs like JBuilder, Visual J++, and Borland's Delphi and the C++ Builder. The X Window System is a vendor-neutral, system-architecture neutral network-transparent window system and user interface standard. X runs on a wide range of computing and graphics machines. XFree86 version that was bundled at the time with NetBSD.)

Discussion

Topics

More

Suggest a correction or report