Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 130023
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T05:52:57+00:00 2026-05-11T05:52:57+00:00

We are in evaluating technologies that we’ll use to store data that we gather

  • 0

We are in evaluating technologies that we’ll use to store data that we gather during the analysis of C/C++ code. In the case of C++, the amount of data can be relatively large, ~20Mb per TU.

After reading the following SO answer it made me consider that HDF5 might be a suitable technology for us to use. I was wondering if people here could help me answer a few initial questions that I have:

  1. Performance. The general usage for the data will be write once and read ‘several’ times, similar to the lifetime of a ‘.o’ file generated by a compiler. How does HDF5 compare against using something like an SQLite DB? Is that even a reasonable comparison to make?

  2. Over time we will add to the information that we are storing, but will not necessarily want to re-distribute a completely new set of ‘readers’ to support a new format. After reading the user guide I understand that HDF5 is similar to XML or a DB, in that information is associated with a tag/column and so a tool built to read an older structure will just ignore the fields that it is not concerned with? Is my understanding on this correct?

  3. A significant chunk of the information that we wish to write out will be a tree type of structure: scope hierarchy, type hierarchy etc. Ideally we would model scopes as having parents, children etc. Is it possible to have one HDF5 object ‘point’ to another? If not, is there a standard technique to solve this problem using HDF5? Or, as is required in a DB, do we need a unique key that would ‘link’ one object to another with appropriate lookups when searching for the data?

Many thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T05:52:58+00:00Added an answer on May 11, 2026 at 5:52 am

    How does HDF5 compare against using something like an SQLite DB? Is that even a reasonable comparison to make?

    Sort of similar but not really. They’re both structured files. SQLite has features to support database queries using SQL. HDF5 has features to support large scientific datasets.

    They’re both meant to be high performance.

    Over time we will add to the information that we are storing, but will not necessarily want to re-distribute a completely new set of ‘readers’ to support a new format.

    If you store data in structured form, the data types of those structures are also stored in the HDF5 file. I’m a bit rusty as to how this works (e.g. if it includes innate backwards compatibility), but I do know that if you design your ‘reader’ correctly it should be able to handle types that are changed in the future.

    Is it possible to have one HDF5 object ‘point’ to another?

    Absolutely! You’ll want to use attributes. Each object has one or more strings describing the path to reach that object. HDF5 groups are analogous to folders/directories, except that folders/directories are hierarchical = a unique path describes each one’s location (in filesystems w/o hard links at least), whereas groups form a directed graph which can include cycles. I’m not sure whether you can store a ‘pointer’ to an object directly as an attribute, but you can always store an absolute/relative path as a string attribute. (or anywhere else as a string; you could have lookup tables galore if you wanted.)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 209k
  • Answers 209k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer In the Intellij configuration that you use to start the… May 12, 2026 at 9:45 pm
  • Editorial Team
    Editorial Team added an answer Prior to your definition of ModuleUser, import the file that… May 12, 2026 at 9:45 pm
  • Editorial Team
    Editorial Team added an answer I tested this out. It appears that the only way… May 12, 2026 at 9:45 pm

Related Questions

We are in evaluating technologies that we'll use to store data that we gather
I've accepted an answer, but sadly, I believe we're stuck with our original worst
How do you see the future of the web development? will HTML, CSS and
I'm about to enter the 1st phases of designing a commodities trading application. A
We are in the process of re-evaluating our usage of JSF (brought in before

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.