| ▲ | bartwe 3 hours ago | ||||||||||||||||
As a big user and fan of c# but this is a miss, as it always boxes value types. | |||||||||||||||||
| ▲ | hahn-kev an hour ago | parent | next [-] | ||||||||||||||||
It always boxes them TODAY. Lately the team has been releasing an MVP and improving stuff (like perf) later on. I wouldn't be surprised if they do the same thing here, as noted in the article you can already work around that yourself. | |||||||||||||||||
| |||||||||||||||||
| ▲ | zamalek 3 hours ago | parent | prev | next [-] | ||||||||||||||||
When I cared about C# (which is no longer the case), I was lightly involved in the discussion for this and sibling features - mostly theorycrafting exactly your ask: the JIT team very succinctly expressed extreme disinterest in adding support of any kind. The C# compiler could do it to a degree, but there would be too many caveats to make it actually useful. Unless the JIT team has a change of heart, you're probably never going to see this. | |||||||||||||||||
| |||||||||||||||||
| ▲ | Izikiel43 3 hours ago | parent | prev [-] | ||||||||||||||||
There is the non boxing option, and this is the first iteration of the work, it's not one and done. | |||||||||||||||||