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
    7
    ·
    6 months ago

    If you run any ORM created SQL queries through a profiler and look at the execution plan you’ll see it’s an absolute mess.

    I’ve never had this experience with Entity Framework, full stop.

    It sounds like either the devs were abusing the ORM and using it wrong to make it generate garbage, or, you were just using some very poorly written ORM.