300
: ( (lemmy.dbzer0.com)
you are viewing a single comment's thread
view the rest of the comments
[-] RustyNova@lemmy.world 46 points 3 days 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 9 points 3 days 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.

[-] RustyNova@lemmy.world 13 points 3 days ago

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

[-] irelephant@lemmy.dbzer0.com 4 points 3 days ago

Yeah I should probably open an issue.

[-] WhyJiffie@sh.itjust.works 0 points 3 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 3 days ago

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

[-] nilloc@discuss.tchncs.de 6 points 3 days 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 17 hours ago* (last edited 17 hours ago)

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

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

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

[-] dan@upvote.au 3 points 3 days ago* (last edited 3 days 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 3 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
300 points (99.0% liked)

Programmer Humor

31384 readers
819 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