30 ms·
i like how in the end the system was replaced by a database solution every language need easy access to a query-ble database many problems are a lot simple wh
by systems 6y ago
i like how in the end the system was replaced by a database solution
every language need easy access to a query-ble database
many problems are a lot simple when solved declaratively
as a query-ble database
the relational model, is functional, and is a very good solution to a wide range of problems
i think the Sqlite engine should be integrated in the standard library of every language, and either use sql, or the language can provide a native sql alternative in the original language itself, or we can create a new standard language (because yes, sql can be improved upon)
I think Chris Date D language can be a place to start to investigate SQL alternative , or as a language that can be more easily emulated in other languages
- secondcoming 6y ago'queryable' is a word!
- wwweston 6y agoWhat would you say the advantages of Date's D over SQL are?
- systems 6y agoThis is from memory, and i saw few examples but what i recall the syntax was less dsl-ish SQL is a DSL, it is not a general purpose language Chris Dates' D ( not to be confused with Walter Bright D) looks more like a regular programing language And was functional So I think an language can add a library or an extension that act like D, or simulate D Check this to get an idea https://reldb.org/c/wp-content/uploads/2017/12/Rel-and-Tutorial-D-Quickstart.pdf https://reldb.org/c/wp-content/uploads/2017/12/Rel-and-Tutor... Also, as I recall, the Notion of RelVars made it sound functional Each Relational Operator, returned a RelVar So you were passing RelVars between operators until you get the result you want, which was a RelVar Anyway this is from memory, so I maybe be wrong on many things .. but again from memory D or tutorial D sounded a lot less DSL-ish and lot more functional than SQL , which was an improvement in my mind
- secondcoming 6y agoNobody is going to be able to look at a file on your C:\ (at least I hope so)
- systems 6y agolol didnt notice that i will fix it
- deleted 6y ago[deleted]