The most imbecilic Rust “serialization” method:

#[repr(C)] // Pointers, references, and types that use them indirectly are banned.

@alexbuzzbee ... doesn't work either, different machines may use different byte order or integer sizes

Sorry for ruining your toots :D

@bugaevc That is part of why it is imbecilic. It only works reliably for IPC.

(This toot had serious issues with a typo correction due to mobile client’s lack of good delete-and-redraft.)

@alexbuzzbee nor even for IPC, 'cause 32-bit and 64-bit processes can coexist. You need to also ban all not-fixed length int types, then it'll work.

@bugaevc No, we just ban 32-bit processes by removing the 32-bit dynamic linker.

@bugaevc If you can't tell, I'm intentionally coming up with bad solutions to these problems.

Sign in to participate in the conversation
Mastodon for Tech Folks

This Mastodon instance is for people interested in technology. Discussions aren't limited to technology, because tech folks shouldn't be limited to technology either!

We adhere to an adapted version of the TootCat Code of Conduct and follow the Toot Café list of blocked instances. Ash is the admin and is supported by Fuzzface, Brian!, and Daniel Glus as moderators.

Hosting costs are largely covered by our generous supporters on Patreon – thanks for all the help!