Y
Hacker News
new
|
ask
|
show
|
jobs
by
opticfluorine
187 days ago
I wonder if you could generate it via a Roslyn incremental source generator instead of as a file to bypass this limit. I'm guessing not, but it does sound like fun.
1 comments
tkapin
187 days ago
You can totally use source generators for that.
link
xnorswap
187 days ago
You're only allowed up to 65535 locals, but this includes hidden locals, which the compiler adds if you're compiling in debug mode.
So you have to make sure to compile only in release mode just to get to 16 bits.
link