© 2014

Serialization and Persistent Objects

Turning Data Structures into Efficient Databases


Table of contents

  1. Front Matter
    Pages i-xviii
  2. Jiri Soukup, Raj Lokanath, Martin Soukup
    Pages 1-35
  3. Jiri Soukup, Raj Lokanath, Martin Soukup
    Pages 37-107
  4. Jiri Soukup, Raj Lokanath, Martin Soukup
    Pages 109-161
  5. Jiri Soukup, Raj Lokanath, Martin Soukup
    Pages 163-174
  6. Jiri Soukup, Raj Lokanath, Martin Soukup
    Pages 175-199
  7. Jiri Soukup, Raj Lokanath, Martin Soukup
    Pages 201-222
  8. Jiri Soukup, Petr Macháček
    Pages 223-244
  9. Jiri Soukup, Martin Soukup
    Pages 245-250
  10. Jiri Soukup, Petr Macháček
    Pages 251-255
  11. Back Matter
    Pages 257-263

About this book


Recently, the pressure for fast processing and efficient storage of large data with complex relations increased beyond the capability of traditional databases. Typical examples include iPhone applications, computer aided design – both electrical and mechanical, biochemistry applications, and incremental compilers. Serialization, which is sometimes used in such situations is notoriously tedious and error prone.

In this book, Jiri Soukup and Petr Macháček show in detail how to write programs which store their internal data automatically and transparently to disk. Together with special data structure libraries which treat relations among objects as first-class entities, and with a UML class-diagram generator, the core application code is much simplified. The benchmark chapter shows a typical example where persistent data is faster by the order of magnitude than with a traditional database, in both traversing and accessing the data.

The authors explore and exploit advanced features of object-oriented languages in a depth hardly seen in print before. Yet, you as a reader need only a basic knowledge of C++, Java, C#, or Objective C. These languages are quite similar with respect to persistency, and the authors explain their differences where necessary.

The book targets professional programmers working on any industry applications, it teaches you how to design your own persistent data or how to use the existing packages efficiently. Researchers in areas like language design, compiler construction, performance evaluation, and no-SQL applications will find a wealth of novel ideas and valuable implementation tips. Under, you will find a blog and other information, including a downloadable zip file with the sources of all the listings that are longer than just a few lines – ready to compile and run.                                                   


C# C++ Data Archiving Data Serialization Flash Memory In-memory Database Java Light-Weight Databases Memory Management Object-Oriented Programming Objective-C Persistency Persistent Data Structures

Authors and affiliations

  1. 1.Code Farms Inc.RichmondCanada
  2. 2.Image CodeBrlohCzech Republic

About the authors

Jiri Soukup studied both electrical engineering and mathematics, and has a PhD degree in technical cybernetics. He spent his career programming and designing algorithms for applications ranging from control of a mining enterprise to connecting millions of transistors on a VLSI chip. He  was the manager of the Bell Labs M.H. team that developed the LTX2 layout system – the software which was instrumental for the design of the first 32-bit microprocessor on a single chip and became the workhorse of the chip production in Bell Labs for about a decade. Later, Jiri became one of the founders of Cadence Design Systems, a VLSI CAD company in San Jose, CA. He is now the President of Code Farms Inc., a Canadian company providing methodology and tools for better software design.  He is also a sea captain, beekeeper, and a licensed trapper.

Petr Macháček is an experienced C/C++/C#/Java programmer with a master degree from the Czech Technical University, Prague. After working for various companies on information systems and image processing, Petr started his own company in 2012, specializing in image processing and medical applications. In this context, he uses persistent intrusive data structures for high-performance and application-specific data management. Besides all this, he is also a beekeeper, half-marathon runner, and amateur photographer.                                                                              

Bibliographic information

  • Book Title Serialization and Persistent Objects
  • Book Subtitle Turning Data Structures into Efficient Databases
  • Authors Jiri Soukup
    Petr Macháček
  • DOI
  • Copyright Information Springer-Verlag Berlin Heidelberg 2014
  • Publisher Name Springer, Berlin, Heidelberg
  • eBook Packages Computer Science Computer Science (R0)
  • Hardcover ISBN 978-3-642-39322-8
  • Softcover ISBN 978-3-662-50936-4
  • eBook ISBN 978-3-642-39323-5
  • Edition Number 1
  • Number of Pages XVIII, 263
  • Number of Illustrations 133 b/w illustrations, 0 illustrations in colour
  • Topics Data Storage Representation
    Database Management
    Operating Systems
  • Buy this book on publisher's site
Industry Sectors
IT & Software