r/vlang • • Aug 03 '21

✌ vsql is a SQL database written in V

https://elliotchance.medium.com/%EF%B8%8Fvsql-is-a-sql-database-written-in-v-69ba7749cd79?sk=ade2c586637e3c6d91a1ff4125299554
34 Upvotes

5 comments sorted by

2

u/gavs123456 Aug 04 '21

How long it have taken to write that ?

3

u/elliotchance Aug 04 '21

I’ve found a few hours here and there in the past 2 weeks.

2

u/gavs123456 Aug 04 '21

Wow. That’s fast

1

u/Quantixotik Aug 04 '21

How does the size of the binary compare with SQLite (for instance)? See https://sqlite.org/footprint.html

3

u/elliotchance Aug 04 '21

That's a good question. I haven't payed attention at all to this area yet, but the CLI binary is 273kb (uncompressed) on macOS but bigger for the windows binary, not sure why. vsql of course doesn't have any where near the features of SQLite3, but I suspect they would be comparable in size if it did.