Home

Awesome

<a href="https://discord.gg/QmJEGER9An"><image src="https://theme.zdassets.com/theme_assets/678183/cc59daa07820943e943c2fc283b9079d7003ff76.svg"/></a>

NOTE: IL2X is being re-investigated for CPU targets

https://github.com/reignstudios/IL2X<br> This would end up making CS2X mostly for GPU targets.<br><br>

CS2X (Under development)

Transpiles a C# subset to non .NET languages, platforms, runtimes and enviroments. (Powered by Roslyn)<br>

CS2X is activily being tested in the development of the Orbital-Framework:<br> https://github.com/reignstudios/Orbital-Framework<br> This provides real-world tests and as things progress more features will tested and supported here.

WASM Demo

Renders a 1280x720 image then prints how long it took in seconds.<br> http://reign-studios.com/wasm/cs2x/ray-trace-benchmark/cs2x.html

Goals

This project will focus on transpiling a C# subset with a modified type system for writing CPU and GPU programs.

CPU targets

GPU targets

Primary Project libraries

How does it basically work?

Performance

Almost zero performance loss. C# code will generate in a manner as if hand written in the target language in many respects. There are a couple key differences in the CS2X runtime / type system vs .NET CLR

Building