News for hackers. Stuff that matters.
Re:The world could run on older hardware if software optimiz... by rjbwork on Tuesday May 13, 2025 @04:00PM (#43977042)
Well, you can do that with LINQ + EF and embedded databases like SQL Lite or similar.
Re:The world could run on older hardware if software optimiz... by naasking on Tuesday May 13, 2025 @07:11PM (#43978858)
LINQ is on the right track but doesn't quite go far enough with query composition. For instance, you can't "unquote" a query within another query (although I believe there is a library that tries to add this).

EF code-first is also on the right track, but the fluent and attribute mapping are awkward, foreign key associations often have to be unpacked directly as value type keys, there's no smooth transition between in-memory native types and durable types, and schema migration could be smoother.

Lots of the bits and pieces of what I'm describing are around but they aren't holistically combined.

Re:The world could run on older hardware if software optimiz... by rjbwork on Thursday May 15, 2025 @11:05AM (#43995820)
Can you elaborate on what you mean by "unquote"? I've not heard this term and I can't find any relevant info from search.
Re:The world could run on older hardware if software optimiz... by naasking on Thursday May 15, 2025 @08:46PM (#44000783)