Is there a programming language specifically designed for interacting with SQL databases that avoids the need for Object-Relational Mappers (ORMs) to solve impedance mismatch from the start?

If such a language exists, would it be a viable alternative to PHP or Go for a web backend project?

  • pixxelkick@lemmy.world
    link
    fedilink
    arrow-up
    2
    arrow-down
    1
    ·
    6 months ago

    Because just Dapper will perform a lot better executing raw sql queries than EF having to go through an entire expression tree builder.

    I’d like to see some benchmarks on truly how much this difference matters when running on the cloud.

    I expect latency alone between the App<->Db will dwarf whatever microseconds your raw sql would save that it’s hard to distinguish from the chaos of latency variance.