News for hackers. Stuff that matters.
Re:Python: Just Write SQL by TX81Z on Monday August 14, 2023 @06:13PM (#37127451)
I think that’s part of why I’m having trouble with this framing - it’s treating CRUD as the entire universe of why you’d need to connect to a database.

Some of us do very intense compute in very large datasets, and ORM are not capable in those tasks. At all.

Re:Python: Just Write SQL by hot_gril on Monday August 14, 2023 @06:44PM (#37127699)
Doesn't even have to get very intense. A simple timeseries schema gets slow/annoying quickly with an ORM.
Re:Python: Just Write SQL by TX81Z on Tuesday August 15, 2023 @12:28PM (#37135941)
I think for a lot of things an ORM is “good” at, you could likely just have a bunch of static JSON files and retrieve them from disk with zero practical difference.

I just can’t wrap my head around why you even *need* a database in those cases.

Re:Python: Just Write SQL by hot_gril on Tuesday August 15, 2023 @02:06PM (#37137259)
You need a DB if you need to insert/update those objects transactionally, plus it's more convenient than mapping DB entries to files on disk. But you don't need an ORM for that anymore because Postgres and MySQL have json/jsonb types.