←back to thread

200 points dcu | 1 comments | | HN request time: 0.203s | source
Show context
jasonthorsness ◴[] No.44456854[source]
CSV database is interesting; probably the most trivially-debuggable a database can possibly be. Although why not SQLite? CSV is not very resistant corruption if host crashes midway through a write.
replies(1): >>44456886 #
ncruces ◴[] No.44456886[source]
No dependencies apart from the standard library is my guess.
replies(1): >>44457013 #
christina97 ◴[] No.44457013[source]
Go doesn’t have sqlite in the stdlib?
replies(1): >>44457053 #
jasonthorsness ◴[] No.44457053[source]
It doesn’t and using the standard 3rd party package requires compiling with CGO which is a pain for cross-platform :(
replies(3): >>44457109 #>>44457120 #>>44463472 #
1. kassner ◴[] No.44457120[source]
There is a CGO-free package for the basics: https://gitlab.com/cznic/sqlite

Not 100% drop-in though. I’ve hit some snags around VFS support.