News for hackers. Stuff that matters.
Re:Literate SQL by weberc2 on Sunday June 25, 2017 @01:21PM (#14631060)
I think the solution is to upgrade SQL the language. There's a very low complexity threshold after which you have to trade readability/composability for decent performance (in other words, there are a lot of cases where a human can notice a permissible optimization, but a database can't because it might break correctness for some odd edge case). We're solving that problem with programming languages (notably Rust); I'm not convinced that there's something inherently different about relational databases.
Re:Literate SQL by lgas on Sunday June 25, 2017 @02:52PM (#14631510)
Project M36 is a database that implements a relational model and corresponding query language (TutorialD) based on (among other things) the ideas from Date and Darwen's Third Manifesto. TutorialD solves many of the problems present in SQL, especially around composability.

https://github.com/agentm/project-m36

Re:Literate SQL by weberc2 on Sunday June 25, 2017 @07:06PM (#14632732)
I've heard of tutorial D before, but I haven't taken the time to learn it as I'm off the impression it isn't widely deployed. :( I'd love to hear any first hand experiences though!