News for hackers. Stuff that matters.
Re:Make your programs run faster by better using the data ca... by ttymck on Saturday June 24, 2023 @01:14AM (#36455788)
Sounds like a database
Re:Make your programs run faster by better using the data ca... by williamdclt on Saturday June 24, 2023 @10:48AM (#36459123)
Yeah it gave me this hunch too.

I could imagine a language /framework where we declare the schema of data, indexes on this schema, and either let a query planner optimise data access or explicitly specify which index to use

Re:Make your programs run faster by better using the data ca... by ttymck on Saturday June 24, 2023 @11:09AM (#36459337)
You've described SQL :)
Re:Make your programs run faster by better using the data ca... by jacknews on Saturday June 24, 2023 @11:27AM (#36459491)
Sure at a conceptual level all stored data, even transitory, is a database, but I don't think that's a helpful analysis here, for a start current databases are far too limited.

A database implies a separate runtime system to manage data, whereas this is data storage within a program, part of 'data-structures and algorithms'.

Re:Make your programs run faster by better using the data ca... by ttymck on Saturday June 24, 2023 @11:58AM (#36459775)
Sure, but you're describing a fully functional database integrated with a fully functional programming language.

Just because you're describing a possibly novel integration of those two systems doesn't mean it's not valuable to consider the prior art for both constituent pieces.