Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
sebazzz
· 7y ago · 0 comments
I imagine that the limit on the .NET CLR is even lower because there needs to be runtime support for type parameters all the way down to the JIT.
Comments
[–]
reifiedgent
7y ago
I modified the python script to generate C# and it compiled with 131072 type parameters. It did take 9 minutes though so I didn't continue after that.
[–]
int_19h
7y ago
In theory, the maximum encodable compressed unsigned integer, as used by GenParamCount in MSIL, is 0x1FFFFFFF.