2 ms·
In theory, allocation could be hacked in with an arena allocator. I just need to add in reference type support and custom allocation strategies into the transp
by KallDrexx 1y ago
In theory, allocation could be hacked in with an arena allocator. I just need to add in reference type support and custom allocation strategies into the transpiler.
Then again, that's only viable if you don't use enough memory to require rom bank switching, or have better control over which class gets placed in which rom bank.
- SideburnsOfDoom 1y agoDoes "no reference type support" also imply "no strings" ? i.e. no instances of the common reference type System.String ?
- KallDrexx 1y agoStrings become `char*` so they are supported as long as they are not dynamically generated (no concatenation for example, but some things like `printf()` templates do work. e.g. https://github.com/KallDrexx/DotnetSnes/blob/master/src/DotnetSnes.Example.Breakout/Game.cs#L185 https://github.com/KallDrexx/DotnetSnes/blob/master/src/Dotn...