NebulaDB

Data

experimental database

SHOW HN2015

NebulaDB

Well, I've only been programming for two years and I'm new to advanced concepts like compiling etc.

github.com

#database#triple store#c compiler#datalog#nosql

30points
35comments
#914of 2,565 in 2015
Top 36%of 2015 by points

How HN took it

RoastedHalf or more of the comments are critical

1 positive, 4 neutral or asking, 0 mixed, 7 critical, out of 12 comments about the project. Thread score -0.16.

Design: 0 for, 4 againstPerformance: 0 for, 2 againstIdea: 1 for, 0 againstDocs: 0 for, 1 against

The thread, comment by comment

Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.

positive neutral or mixed critical about another commenter or something else the maker

What HN said

What people liked

  • Interesting unconventional design, a useful learning experiment

    From 2 comments
    • People come up with all kinds of "odd choices" when they haven't been indoctrinated with existing dogma (I don't necessarily mean that in a negative way, despite the…
      alphapapa on HN
    • Ignore the negativity in this thread, OP. The rough design you've come up with is called a "triple store". You might find it interesting to learn about how powerful the…
      yid on HN

Objections

  • Compiling a C file per query is very slow and does not scale

    From 3 comments
    • That doesn't sound very efficient. OP, what is the rationale behind this?
      Mahn on HN
    • Here are some things you will probably notice. Start with a really small database, maybe 10,000 facts. How long does a query take? Half a second? One second? I am just guessing…
      danbruc on HN
    • So I timed the compile step and it gets quite long at one second for 10,000 facts, about a 1/10th of a second per 1000 entries. I wasn't expecting my first attempt at a database…
      jhedwards on HN
  • Design is unconventional and unlike standard database systems

    From 1 comment
    • Let me try to show you my point of view. I see a link on Hacker News about a new database. Now I think there is someone who is serious about developing a database and is…
      danbruc on HN
  • Setup requires a C compiler, undocumented in npm package

    From 1 comment
    • Oh how I love it to fetch a package via NPM, thinking it's gonna be JS-only and then being greeted by compiler errors because I don't have a C compiler setup on my Windows…
      xrstf on HN
  • Query syntax is hard to read

    From 1 comment
    • Your 'syntax' is very hard to read: ['* ','->','admin'] Couldn't you write a little parser to understand this: " * -> admin" I doubt the overhead would be much. [edit] a * is…
      monk_e_boy on HN

Requests

  • Explain the rationale for the design

    From 1 comment
    • That doesn't sound very efficient. OP, what is the rationale behind this?
      Mahn on HN
  • Simpler query syntax

    From 2 comments
    • Your 'syntax' is very hard to read: ['* ','->','admin'] Couldn't you write a little parser to understand this: " * -> admin" I doubt the overhead would be much. [edit] a * is…
      monk_e_boy on HN
    • Good idea, I think I'll do that. Thanks!
      jhedwards on HN

Questions

  • How does update and delete work in the C source

    From 1 comment
    • Here are some things you will probably notice. Start with a really small database, maybe 10,000 facts. How long does a query take? Half a second? One second? I am just guessing…
      danbruc on HN

Alternatives named

  • Triple stores and datalog databases

    From 2 comments
    • Ignore the negativity in this thread, OP. The rough design you've come up with is called a "triple store". You might find it interesting to learn about how powerful the…
      yid on HN
    • It looks like a "datalog database"
      amirouche on HN
  • Standard SQL databases

    From 1 comment
    • Here are some things you will probably notice. Start with a really small database, maybe 10,000 facts. How long does a query take? Half a second? One second? I am just guessing…
      danbruc on HN

Category, keywords, summaries and labels on this page were made by AI (Thread Reader v2) and not checked by hand. Each point links to the comments it came from.

Add a badge to your READMEShown on HackerShow
[![Shown on HackerShow](https://hackershow.org/badge.svg)](https://hackershow.org/show/9399889)