| bio | website | virkony.blogspot.com |
|---|---|---|
| location | Ukraine | |
| age | 29 | |
| visits | member for | 2 years, 4 months |
| seen | May 17 at 10:45 | |
| stats | profile views | 7 |
|
Oct 18 |
comment |
Why is 'void' not allowed as a generic type in C# I think all structs is handled at compile time to get proper placement on stack and in other places where they are inlined. Thus Void should be ok to be passed as infinite amount of arguments inside of 0 stack bytes. When any structure needs converting to object or call for method (to get this) it boxed with placing on the heap with Type reference inserted before fields area of memory (for many CLR implementations) and thus could be handled properly. As for me type is just a groupping of objects that can be distinguished by some characteristics (fields). Void is just one object. |
|
Jan 2 |
revised |
How do existential types differ from interfaces? Now it should be more than just "Hmm..." |
|
Jan 2 |
awarded | Editor |
|
Jan 2 |
revised |
How do existential types differ from interfaces? Now it should be more than just "Hmm..." |
|
Jan 2 |
answered | How do existential types differ from interfaces? |
|
Feb 15 |
awarded | Teacher |
|
Feb 8 |
awarded | Supporter |