(Deleted my prev. post JIC) .NET devs should really stop introducing blazing fast (de)serializers 🙂. The world is going through a period when anyone using e.g. GLM5.3 can easily find and exploit a memory safety issue - many projects are overwhelmed by 1000s of potential CVE reports, though not everyone chooses to report what they find. Deserializers often accept untrusted input from external sources, making them prime targets for attacks. Embrace safety over saving a few nanoseconds and fewer heap allocations.
@KooKiz@EgorBo My guess though is that it has to do with C. A lot of struct features were done such that it would be easy to port equivalent C code to C#. Initializing a fixed buffer in 1.0 ... not sure if there was a good concise syntax for that
@richcampbell Alternative approaches to consider are putting a side car file on disk (simple json style file) and reading that at runtime for the mapping.
@richcampbell That approach though is working around reproducible builds by making them not a reproducible build. The original path being baked into the module init will break reproducibility
@jcoehoorn@davidfowl Plumber: you’re calling me to install a sink?
Me: why don’t you take a look in that cabinet and tell me what you see.
Plumber: I take it back. I’ve only seen that once in my career. I may have to come back later with other parts.
Interested in working in .NET Tooling? My team is hiring for a few roles. This is a great to impact the .NET ecosystem, work with devs all across Microsoft and help drive the .NET platform forward.
https://t.co/IcSLpDXPoS
https://t.co/lSxsm4pqxB
Hey #dotnet people! Exciting news! I've launched my YouTube channel: "Dissecting the Code".
It's going to be very similar to my blog, where I'll cover .NET internals, performance tips & tricks, and more deep dives. #csharp
I've already published the first two videos:
➡️ Episode 0: What You'll Learn Here
➡️ Episode 1: Dissecting Variable Lifetime
I hope you'll like it! Please share, subscribe, and let me know what you think! Your support means a lot to me. 🙏
Links to the channel & videos are 👇
@riosgeorge@davidfowl@GarethSeth A top priority of this effort is ensuring we have a smooth, and aesthetic, transition to a real project. Many of our design decisions come down to "okay, but how does that work once the customer transitions to a real project?"