News for hackers. Stuff that matters.
Re:Go and SQLite in the Cloud by mathewvp on Thursday December 08, 2022 @03:42AM (#33905744)
I have a very basic question regarding SQLite. How does it work in different languages? Is the SQLite server code completely implemented in Go when we use go and completely implemented in php when we use php? Because there is no actual server and it is just a file, I'm wondering who does the ACID compliancy and query executions and all the other things needed for a db server and how it is done.
Re:Go and SQLite in the Cloud by markusw on Thursday December 08, 2022 @04:11AM (#33905899)
The implementation used in this article is actually in C (which is the official, extremely well-tested one), with bindings to the Go language through something called CGo. There's no "server", it's all just code run in your application directly, so think of it more as a library that can access a special database file on your disk.

I don't know how it's done in PHP, I would think it's similar.