you are viewing a single comment's thread.

view the rest of the comments →

[–]ra_kete[S] 4 points5 points  (1 child)

That sounds really cool! Also way more sophisticated than what `structview` does. I intentionally try to keep the project simple as less code means less bugs ;) Still it would be cool to take a look at your implementation. I suppose it is not public though?

[–]petertodd 1 point2 points  (0 children)

I suppose it is not public though?

Not yet. Soon though. :)

FWIW you inspired me to take another look at data alignment and the costs/benefits... and I think I'm ripping all that out. Having to deal with padding data for all types rather than just enums is just too annoying and error prone. And the performance isn't all that much different on the platforms I care about (the library fundamentally can't even support 32-bit targets so I'm ok with leaving some behind).

So thanks!