News for hackers. Stuff that matters.
Re:RLSL: a Rust to SPIR-V Compiler by calebwin on Monday October 21, 2019 @05:06PM (#21317363)
- Maybe there is a component of RLSL that could be useful. I have to think more about what I want that component to be.

- I want Emu to support general Rust code but still use stable Rust and provide really nice compile-time errors. Maybe Emu could do AST-level checking to (1) ensure that only legal transpilable-to-SPIR-V subset is used, (2) infer the kernel parameters, (3) infer global work size, local work size and then do MIR-level compilation to OpenCL or SPIR-V?

- At the moment, I want to focus on AST-level compilation because I think many applications (AI, ML, simulations, etc.) can still technically be implemented without a huge subset of Rust.

Re:RLSL: a Rust to SPIR-V Compiler by minraws on Wednesday October 23, 2019 @10:32AM (#21334989)
I was planning to write a tiny SVM in Rust just as a plaything, so I would probably use Emu to see if I can speed it up....

Does Emu have some getting started other than docs?

Re:RLSL: a Rust to SPIR-V Compiler by calebwin on Friday October 25, 2019 @01:43AM (#21352209)
https://docs.rs/em contains not only documentation but also comprehensive explanation on effectively using Emu.

I would recommend looking through it first. Of course, if you have questions feel free to ask - https://gitter.im/talk-about-emu/thoughts