PistonDevelopers / piston

A modular game engine written in Rust
https://www.piston.rs
MIT License
4.63k stars 236 forks source link

What if ... we create a language designed to compile to Rust - for fun! #1253

Closed bvssvni closed 5 months ago

bvssvni commented 5 years ago

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.

bvssvni commented 5 years 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.

bvssvni commented 5 years ago

I found this: http://okmij.org/ftp/ML/MetaOCaml.html

Apparently, there are other people working on similar ideas.

bvssvni commented 5 months ago

Closing.