Remix.run Logo
medv a day ago

Every programmer eventually creates own db: https://github.com/antonmedv/medb

yawniek a day ago | parent | next [-]

Building dbs is lots of fun. I recently did a few. Some in rust and some in go. And its really interesting.

ncruces a day ago | parent [-]

Agreed. I went the route of building on top of something else. Sill lots of fun.

https://github.com/ncruces/go-sqlite3

And I'm still having fun.

https://github.com/ncruces/go-sqlite3/pull/421

timschmidt 18 hours ago | parent | prev | next [-]

And it's not complete until it can send and receive email.

nunez 15 hours ago | parent | prev | next [-]

Yep. I made a simple one in Bash even! (Do not recommend.)

brabel 13 hours ago | parent [-]

You should've used recutils probably :)

https://labs.tomasino.org/gnu-recutils/

nunez an hour ago | parent [-]

TIL!

Sharding would be so easy! Just run "split" and spread the chunks over a bunch of servers, then run "recutils" with "parallel" to retrieve!

Truly webscale.

idontneedcoffee 18 hours ago | parent | prev | next [-]

No way(hides)

otabdeveloper4 a day ago | parent | prev [-]

A file-backed hashtable isn't really a DB.

riffraff a day ago | parent | next [-]

Well, dbm (database manager) is basically that and has been called that for almost 50 years

otabdeveloper4 17 hours ago | parent [-]

dbm isn't a database either, and people who call it that are simply wrong.

insanitybit 20 hours ago | parent | prev | next [-]

If someone asked me what a DB is, I'd probably start the conversation with the exact description "a file-backed map, like a hashmap".

rcxdude 16 hours ago | parent | prev | next [-]

it's not a relational database, but those aren't the only kind.

howerj 14 hours ago | parent [-]

In fact the name "relational database" implies there are other kinds.

mikedelago 19 hours ago | parent | prev [-]

Why not?