Alexandre Mutel<p>Thinking about it, I'm even more tempted to prototype a C# source generator that would create SPIR-V (compute shader) code directly from C#. There are some challenges with supporting generics but it seems doable thanks to the nice extension mechanism in SPIR-V</p><p>C# code would be easier to support than IL, as it maps more naturally to SPIR-V CFG.</p><p>More generally expressing Tensor/ML workloads straight from C# would be so cool 😎 </p><p>Ok, I think I have found my next pet project for April 😅</p><p><a href="https://mastodon.social/tags/dotnet" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>dotnet</span></a></p>