re: c++ complaining, wall of text
@wallhackio i am looking at the C++ Refrence page fur reinterpret_cast and it’s implying you can’t even cast to char: https://www.en.cppreference.com/w/cpp/language/reinterpret_cast.html
re: c++ complaining, wall of text
@wallhackio that only makes sense if you are casting to a char * or char&. otherwise you will store a copy of that truncated data in a new location fur the new char
re: c++ complaining, wall of text
@wallhackio that is an extremely meaningful diffurence!!
re: c++ complaining, wall of text
@wallhackio no
re: c++ complaining, wall of text
me: how does this work if you cast to char?
you: this is how casting to char& works
me: but you said the function is casting to char, which is not that
re: c++ complaining, wall of text
@wallhackio in your wall of text you described the function’a casting to char& as casting to char. but casting to char and casting to char& are not the same thing. i am stubbornly asking why casting to char is impawsible to draw your attention to this mistake
re: c++ complaining, wall of text
@wallhackio if a char refurence is an alias to a preexisting char, then how can you cast data larger than one byte to a char refurence?
re: c++ complaining, wall of text
So, the point here is that we want to cast whatever data type is given to the function as a char. Why a char?
you are saying the function is casting arbitrary data to char. you cannot cast arbitrary data to char exactly because a char (typically) only holds one byte. so, the function cannot actually doing what you wrote in your description that it is doing
re: c++ complaining, wall of text
@wallhackio i think you have a serious conceptual error here. casting to char cannot pawsibly avoid alignment issues as a char is typically large enough to hold ASCII, and thus one byte. in C, it was (sort of) char * that can repurresent arbitrary data because that could repurresent an array of any arbitrary number of bytes. (nowadays you Should use void * fur this because the standard guarantees it actually does have the memory layout you would expect)
the function is not doing a bit-preserving cast to char; this is obviously impawsible. it is doing a bit-preserving cast to char&, which i assume works enough like a char pointer that it can give the programmer an arbitrary view of data of arbitrarily large size
On the Transmutation of Anger
"I do not need to watch video footage of agents of a fascist state execute a human being in broad daylight to know that it happened and to know that it is unjust and worthy of action. Watching it serves no meaningful purpose except to inflame my anger to unsafe levels. Instead, I want to transmute the anger I already have into empathy and turn it into action."
https://nullrouted.space/2026/01/26/on-the-transmutation-of-anger/
Please boost this post and consider supporting my writing work through the following methods:
Stripe:
https://subscribe.packetcat.ca
Patreon:
https://patreon.com/Bastetrix
@wallhackio @vaporeon_ you mean dugtrio
@wallhackio that was tame compared to me showing you what a song was by linking a softcore furry video lol
it’s pronounced “ashling”. canonically a black housecat or any of the grass cat pokémon, but currently experiencing daily TFs. Commewnist. she/it. i automatically change my pfp on the furst post of the day
GlitchCat syscatmin and meowstodev; @ me about techincal problems with the instance, or fur feature requests. i got a job due to some extent to my work on this instance
i have very strong opinions about the sonic furanchise. pokémon has me in a chokehold when it comes to merchandise
available via email with the same username and domain. DM/email for other purrotocols
workplace policy is to clarify that all of my opinions expressed here are my own, and not those of my employer
“all this shit is still incomprehensible but im glad u accomplished something” ―@wallhackio
“i feel mildly relieved that the obscure and esoteric code that i use to build the site will always be definitely outclassed by the obscure and esoteric code that you use to serve it” ―@Lady