2 ms·
I'd also be curious to see some of the disadvantages?
by gpm 7y ago
I'd also be curious to see some of the disadvantages?
- maikklein_dev 7y agoThe standard library is a bit awkward at places with its pointer usage. This is why I have a custom one. From a language point of view, it fits really well. I am also constrained with syntax as I want rlsl to be a strict subset of rust. Closures capture by references which means you always have to capture explicitly with move (No pointers in structs in SPIR-V). Although I am fairly confident that this can be fixed. Also MIR optimization passes are pretty weak right now, and rlsl would require an optimizer in the future. like SPIR-V <-> LLVM. I am not sure how good spirv-opt is right now.