Closed bvssvni closed 5 months ago
I don't have built-in shader generation in Dyon, but it has link-data types and syntax which makes generation of text in general easier. I don't do direct integration because if I add a matrix type to Dyon, it needs to be behind a pointer in the run-time, which to me sounds slow due to allocation. In this use case, I expect to write Rust code instead.
I found this: http://okmij.org/ftp/ML/MetaOCaml.html
Apparently, there are other people working on similar ideas.
Closing.
I think working on language design is fun, and don't think that just because people can use Rust, there should be no new innovation in this design space.
Why are we making all these assumptions about "correct" language design, when in practice people find it useful to have features that make their everyday work easier?
This thread is about language design ideas.