Re:Building a self-contained game in C# under 2 kilobytes
by soulbadguy on Wednesday January 03, 2024 @01:59PM
(#38858194)
> Fair enough; perhaps it'd be worthwhile to throw a compiler error if both reflection and trimming were attempted.
In language/platform with dynamic loading, it's hard for the compiler to "perfectly" predict which piece of code will ending up being executed at compile time. I think would result in a lot of false positives.
In language/platform with dynamic loading, it's hard for the compiler to "perfectly" predict which piece of code will ending up being executed at compile time. I think would result in a lot of false positives.