2 ms·
On Linux, you want to check D-Bus [1] if you need IPC (but that is primarily used for message exchange between different desktop apps). Everything else you ment
by dig1 4y ago
On Linux, you want to check D-Bus [1] if you need IPC (but that is primarily used for message exchange between different desktop apps). Everything else you mentioned sounds like a recipe for bloat. Desktop GUI libraries (like Qt or Gtk) ship everything you'll need and you can get a platform-agnostic app without much of a problem.
> running multithreaded and writing into a sqlite database.
sqlite doesn't support multithreaded writes, so you'll have to use a queue or something like that. Qt/Gtk ships with that as well.
[1] https://www.freedesktop.org/wiki/Software/dbus/ https://www.freedesktop.org/wiki/Software/dbus/
- flicken 4y agoSQLite does support multiple writers, they take turns: > SQLite only supports one writer at a time per database file. But in most cases, a write transaction only takes milliseconds and so multiple writers can simply take turns. SQLite will handle more write concurrency than many people suspect. Nevertheless, client/server database systems, because they have a long-running server process at hand to coordinate access, can usually handle far more write concurrency than SQLite ever will. Source: https://www.sqlite.org/whentouse.html#:~:text=multiple%20writers%20can%20simply%20take%20turns https://www.sqlite.org/whentouse.html#:~:text=multiple%20wri...