293
: ( (lemmy.dbzer0.com)
you are viewing a single comment's thread
view the rest of the comments
[-] RustyNova@lemmy.world 45 points 1 week ago

I think you got the wrong caption. It's the world if SQLite supported multiple concurent writes.

Stupid transaction deadlocks...

[-] irelephant@lemmy.dbzer0.com 7 points 1 week ago

In my case, I want to use sqlite locally, for development, but I don't want to add a load of jank to handle booleans for sqlite.

[-] qevlarr@lemmy.world 1 points 6 days ago

This is sqlite's intended use case. To replace configure files and local data

[-] RustyNova@lemmy.world 13 points 1 week ago

I use rust's SQLx which map bools to numbers so it must be a problem with your connector maybe

[-] WhyJiffie@sh.itjust.works 1 points 6 days ago

username checks out

so it must be a problem with your connector maybe

or with their programming language

[-] RustyNova@lemmy.world 2 points 6 days ago

I actually started using rust well after picking this username :P

[-] irelephant@lemmy.dbzer0.com 4 points 1 week ago

Yeah I should probably open an issue.

[-] nilloc@discuss.tchncs.de 6 points 1 week ago

That’s what I like about Ruby ORMs. They did all the conversion for you, and you could have SQLite on your dev box, Postgres on the test server and MySQL on the annoying production host that wouldn’t run anything else.

This was 18 years ago though.

[-] HK65@sopuli.xyz 1 points 4 days ago* (last edited 4 days ago)

Are not all ORMs like that? I only used ActiveRecord before fucking off from backend 10 years ago

[-] dan@upvote.au 3 points 1 week ago* (last edited 1 week ago)

WAL mode makes writes a lot faster, which is sufficient for a bunch of use cases. Writers do still need to wait, but they have to wait for a shorter duration. It's still not the right choice for write-heavy use cases, of course.

[-] RustyNova@lemmy.world 2 points 6 days ago

I'm not actually looking for the speed most of the time, but more about preventing partial writes, so I'm still using it

this post was submitted on 10 May 2026
293 points (100.0% liked)

Programmer Humor

31455 readers
1303 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS