1 karma · joined Jan 11, 2020 (6y ago) · 1 submissions
comment 6y ago · link · parent
<shameless self promotion> I'm working on a language for this. Right now it uses LLVM to compile to native and uses HAMT (see Clojure) to store data. It looks similar to Javascript. https://github.com/Floydlang/floyd
There are no references in Floyd, only values. This opens possibilities of great performance without complex/risk analysis of ptrs and aliasing.
The next phase is to create an intermediate AST (equivalent to your idea about compile-to-LISP) that lets programmer/tool tweak how the data structures map to the HW.
I'd love to pick your brain about these ideas!