4 ms·
Why should I have to execute data? The Von Neumann architecture sounded good in the beginning when computers were hulking beasts and had to be timeshared to be
by tenebrisalietum 5y ago
Why should I have to execute data?
The Von Neumann architecture sounded good in the beginning when computers were hulking beasts and had to be timeshared to be economical. Scaling this to individual global-Internet-connected network PCs provided to be a disaster as is evidenced by all the "expert C programmers" over the years that couldn't keep their buffer overflows in their pants and things like NX support in CPUs and pointer authentication that just wouldn't have to exist if the CPU would get instructions from a 100% separate address space than its data (kinda like that old 8051 that's still kicking).
This is a terrible idea. Sorry.
- nomemory 5y agoYou are not executing data. You are just wrapping it up in your binary and "force it" in memory. Video games used to this in the old times. I remember Deltaforce exe to be tens of megs. Is this a good approach ? Probably not for a bigger site, but it can theoretically work for a small blog that is mostly text. Is C the right language to do this ? It sure is a little bit masochistics to work with c strings. In the end of the article I've told this should be taken lightly, as an exercise in minimalism and a joke.