The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

atolmeijer (11) [Avatar] Offline
#1
Hi Jon,

Thanks for writing another C# in Depth edition. I read your explanation on blittable types. A comparison with serialization came into my mind: the layout in memory should be the same, all participating members should also be able to serialize. Is this something that can be referenced to while explaining blittable types? Regards, Arno Tolmeijer
jon.skeet (483) [Avatar] Offline
#2
Hi Arno,

Looking at chapter 15, it seems I was a bit over-enthusiastic about predicting when blittable types would be available. They're not C# 7.2 - I don't know whether the plans for them are still in progress or not.

This is definitely one area I'll be either rewriting when it's actually implemented, or removing entirely.

I'm nervous about making comparisons with serialization, as there are lots of different kinds of serialization, and they handle things like references quite differently. I'll see when I get back to the topic though smilie

Jon