Tag rust-lang

2 bookmarks have this tag.

Cranelift's Instruction Selector DSL, ISLE: Term-Rewriting Made Practical

cfallin.org/blog/2023/01/20/cranelift-isle

This is sooo coool :o

Simplicity with which this tool allows you to define optimization is impressive on its own (example) (optimizations are known for being hard to write), but this also allows you to do analysis (like formal verification)?? So cool!!

Also, it's nice to see the idea of "pattern is the inverse of constructor" — something I was meaning to put into a blog post for the longest time.

compilers,pl,programming,rust-lang

Compiling Rust is NP-hard

compilercrim.es/rust-np

match patterns is a superset of the SAT problem.

Is not a sentence I wanted to read, but a sentence I, perhaps, deserved.

programming,rust-lang