Re:My other database is a compiler
by jitl on Thursday June 16, 2022 @11:29AM
(#31767225)
Perhaps you are looking for macros? Rust had a substantial macro system while being low-level enough to fit into most architectures. I haven’t implemented a macro but I’ve used many. Have you looked there?
[ Parent
| on HN ]
Re:My other database is a compiler
by waynesonfire on Thursday June 16, 2022 @12:53PM
(#31768280)
As I was writing my comment, I think maybe I should start with DSL, but this isn't conclusive. Spark, Scalding, LINQ, RxJava, even Slick are examples of the types of DSLs I'd like to understand how to construct. They're essentially compilers.
Looking at the code for these technologies it's incredible how complex it is to implement the nice DSL that they expose. How much of that is accidental complexity?