This is in no way mean spirited, this is just a suggestion for an experiment that could be worthwhile now with the advent of AI:
Maybe I could also say I want to experiment for a kind of Julia++
Following core ideas:
Content addressed code like Unison also works with Julia
inserting e-graphs into the database does not show up at as any performance downside
A Julia with dependent types (like Lean4) would be cool and possible
Rust’s unsafe/safe should become autoresolve → unsafe → safe on multiple levels
Here you can find an overview for the store:
Here you can find an overview for the suggested language:
Does this project already have some validated beneficial merits? Yes: quite a few:
Compilation times shortened under certain conditions, no re-compilation of already compiled code
Unnecessary CI & Test reruns avoided
No duplicates in code
Lot’s of precompilation avoided
No version conflicts
No naming conflicts
Does this need to be a perfect product? - No. It at first just needs to validate the core idea.
So basically someone needs to start implementing this, then others need to see it’s merit.
Once people use it, it will be their problem and it will be in their interest to improve it’s implementation quality.
One particular experiment was how much faster in such a store one could potentially compile/run Reactant.jl with Enzyme.jl:
which is particularly interesting if one has for example a function which slightly differs from the previously compiled function, for examples w.r.t. array size.
The repository can be found here: GitHub - MathStruct/Sophia: A content addressed database for code, e-graphs, analytics. Backend for Moonkale. · GitHub it carries extensive documentation of the experiment.
This is not my first priority right now, however I will continue to burn tokens on this as far as my priorities allow.
I know this is a vibe coded AI moonshot, but atleast it’s failure might be interesting and instructive nevertheless.