C++ is well known to contain [nasal demons](https://en.wikipedia.org/wiki/Undefined_behavior)
ffomgffong2025-11-29 23:34
[removed]
aalmkainzi2025-11-30 00:35
lmao that's not what causes undefined behaviour
redlaWw2025-11-30 03:27
Usually true, though this is a valid C++ fragment:
int* p;
//potentially other stuff such as initialisation of var1 here
p = &var1;
+var2;
If the type of `var2` were an integer type, or something with a binary `operator+` overload that delegates to one (potentially something that has a unary `operator+` that isn't a no-op so the next line is not pointless), then omitting the semicolon on `p = &var1` could result in out-of-bounds indexing, which is undefined behaviour.
EDIT: [Example](https://godbolt.org/z/sr4efd3Y4)
aalmkainzi2025-11-30 04:13
Hmmm sure I guess. But why would anyone write `+var2` in its own statement like that
TristanTheViking2025-11-30 06:45
Typo as a result of attempted `++var2` probably.
Source: once found a bug that was the result of something like
`if (variable_with_bit_flags > BIT_SHIFT_CONSTANT) & 1){}`
instead of
`if (variable_with_bit_flags >> BIT_SHIFT_CONSTANT) & 1){}`
redlaWw2025-11-30 12:21
Since you can overload unary `operator+`, it's possible that `var2` is of some class that has a unary `operator+` overload that does something non-trivial and useful. It's still pretty weird code, and I think that overloading unary `operator+` to have side effects is a bad idea, but it could conceivably happen in a bad enough codebase.
Dull-Sugar85792025-11-30 05:32
☺
Over-Specific-12142025-11-30 02:22
TRUE
throwaway18429552025-11-30 00:40
Elite ball knowledge
wowsomuchempty2025-11-30 06:51
The Linux kernel is based on C, not C++.
AnnoyingRain52025-12-01 14:12
UB also exists in C
Also, most system daemons (windows calls these “services”) are written in c++.
wimpetta2025-11-29 23:15
I like the conspiracy theory that microchips and the like are actually engraved with mesopotamian demonic sigil sand there's no actual science behind them, they just use enslaved devil energy.
So if you subscribe to that...
criticalbreed2025-11-29 23:19
Wait, is there really a theory on this?
A_Very_Horny_Zed2025-11-30 02:14
In a metaphorical sense. We etch runes into transformed sand and feed it electricity, the spark of life.
INKYLT2025-11-30 09:15
Is electricity truly the spark of biological life?
[ 👆] I would like to know more.
pauliesnug2025-11-30 19:11
neurons send signals via voltage fluctuations, cell membranes have electrical gradients, the heart beats through rhythmic impulses, energy metabolism depends on electric flow in the mitochondria. almost certainly our last universal common ancestor used redox electron transfers to extract energy.
INKYLT2025-12-07 12:00
Thank you.
If I can also ask: how is electricity made/maintained within our bodies? In my mind, I see electricity as semi conductors and blue and white streaks constantly travelling on a cable. What is the nature elecriticity in a biological being?
pauliesnug2025-12-08 04:19
cells (usually) generate electricity though ions (charged particles like sodium, potassium, calcium, and chloride) moving across cell membranes. this movement creates tiny voltage differences, which change rapidly to produce electrical signals.
nerve cells/neurons use these signals (called action potentials when discussing the nervous system) to transmit information, while muscle cells use similar signals to trigger contraction.
biological electricity is maintained by protein pumps/channels which carefully control ion concentrations to create the correct charge at the correct time. the charge is ultimately created by the moving of ions within each individual cell.
INKYLT2025-12-08 04:47
Damn thats interesting. Thank you again.
MiaTheEstrogenAddict2025-11-29 23:31
ngl, that still sounds like science.
Just demonic science, no?
Trick20562025-11-30 02:42
to be frank the more advance the tech from us the more its considered magic to us.
kuroikenshin13952025-11-30 03:27
As Arthur C Clarke once said "any sufficiently advanced technology is indistinguishable from magic"
TetraNeuron2025-11-30 04:06
What if the Cyberdemon was written with Javascript
Lightning was considered magic a few hundred years ago.
Vospader9982025-11-30 19:04
Giant masses of air move past each other with such force it generates an invisible field of energy that builds up until it finally builds enough energy to travel to Earth from the heavens. In that moment, a bolt of energy ~5x hotter than the surface of the Sun, lights of the entire visible sky and produces a sound powerful enough to shake buildings miles away.
IDC how well we're able to explain it, it will always feel like magic to me.
chocolatedesire2025-11-30 11:42
Reminds me of Lud in the dark tower series
wizkidweb2025-11-30 06:04
Hail Science!
wspOnca2025-11-30 11:21
Doom science
deltree7112025-11-30 13:04
>Any sufficiently advanced magic is indestiguishable from technology.
violetplague2025-11-30 16:27
Valve engineers are just Iron Warrior warpsmiths. I love them even more now. Iron Within, Iron Without.
False_Raven2025-11-29 23:33
Thats actually fucking dope dude, much more interesting than transistors and what not.
notdeadyet012025-11-29 23:37
Hell yeah I love Shin Megami Tensei
luugburz2025-11-30 00:08
is this not just the plot of the entire hellraiser franchise
sdeptnoob12025-11-30 00:31
I mean it is runes we carve into rocks and apply electricity to after all.
Shipairtime2025-11-30 03:12
For anyone interested in seeing how far the technology has come here is a youtuber making computer chips at home. Skip to five minutes in to see the actual process if you dont want to hear it explained.
https://www.youtube.com/watch?v=s1MCi7FliVY
Here is a video covering the cutting edge as of 2024.
https://www.youtube.com/watch?v=UdcFpjgCnP8
Sorry but this vid is all explanation.
sdeptnoob12025-11-30 03:24
That's actually really cool. Makes sense it's just stacking etching and chemical processes to "build" and "dig" in the silicon wafer with various compounds. I don't know why I imagined microscopic needles arranging wires atomicaly thin lol.
Shipairtime2025-11-30 05:01
If you ever watch computer repair / video game system modding vids it most likely comes from that. I had the same idea and got it from watching them solder parts together.
Accomplished_Deer_2025-11-30 06:15
Because you didn't really think about how small atomically thin is probably lol
Adjective-Noun-nnnn2025-11-30 08:13
You could use a process which lays down one wire or gate or whatever at a time, but it would be extremely slow. They sometimes use processes like that for prototyping or *very* small scale specialty items. The advantage of photolithography methods is they allow you to process the entire wafer at the same time, or at least in big areas containing many chips. (Wafers are so big these days that they no longer expose the entire wafer at the same time.)
sdeptnoob12025-11-30 03:29
These videos led me to a video on the soviets ternary computer and how we could have had some crazy technology if it was built on.
Fire2572025-11-30 03:40
So runes and a powersource that we happen to call electricity. It mightaswell be magica
Cavaquillo2025-11-30 01:34
Say less
globefish232025-11-30 01:43
The acid etching prevents them from escaping from the silicon wafer.
geforce21872025-11-30 01:45
I thought the post was a reference to that. Tiny demons inside CPUs forced to do work for you.
Saragon40052025-11-30 02:33
We captured Maxwell's demon and put it in a sweatshop.
neon_meate2025-11-30 03:20
Sorting molecules for 7 cents an hour.
Poet_of_Justice2025-11-30 02:24
Studying a specialized language in order to craft it into a series of inscrutable instructions in order to produce results that would be impossible without its mastery?
Sounds like a wizard to me.
Lunatox2025-11-30 02:43
Someone get Blumhouse on the phone, I need to run a script by them.
ScarletteVera2025-11-30 02:51
I wouldn't put it past Gabe to figure that out.
baconburger20222025-11-30 03:01
There is a little bit of Vox in every chip.
Odd-Delivery16972025-11-30 03:14
I'm gonna throw out everything I know about electronics and go with demons from now on. It makes more sense that things work when I beg.
ArgumentSpiritual2025-11-30 03:17
Can’t tell what i like more:
That demonic sigils are etched into the bare silicon
or
That the best silicon is made from sand contaminated with ground up former sigils
Fire2572025-11-30 03:39
I have watched a video how micro chips are made and that shit is straight up magic. What do you mean we grave in tiny runes with light into a stone and force it to think? Like wtf that shit is crazy I cant even imagine how you find this shi out without making a deal with the devil.
Bacon_L0RD2025-11-30 05:25
Suddenly Doom 2016
jeeva72025-11-30 11:42
Do you know the cameras have little imps inside them who paint the pictures?
this lying rubbish device doesn't even run on steam, it uses electricity!!
SSB_Kyrill2025-11-29 23:32
And where does that steam come from? Checkmate liberal
stiff_tipper2025-11-30 00:27
the majority of electricity is generated by steam tho
throwaway_123581342025-11-30 00:33
The space shuttles main engines were also steam powered.
Ser_Danksalot2025-11-30 01:27
Even nuclear and fusion uses heat to power a steam turbine. Only Hydro, solar, and wind don't.
-TRTI-2025-11-30 02:01
Hydro uses liquid steam.
Appropriate_Link_5512025-11-30 05:20
Wind uses diluted steam
mauri99982025-11-30 06:32
Liquid Steam is my favorite Kojima character.
Snicshavo2025-11-29 23:19
They come with machine spirit to keep company those lonely gamers
Buttseam2025-11-29 23:24
probably meant a daemon
LumpyArbuckleTV2025-11-29 23:24
Linux is based on C, so that seems more accurate.
Yumikoneko2025-11-29 23:36
But it uses KDE Plasma as the Desktop Environment, which is predominantly written in C++ AFAIK.
SatansGothestFemboy2025-11-30 03:16
Gabecube uses KDE? Hell yeah
Ilovesteamyayyy2025-11-29 23:25
I don't think so but be careful just in case
Chunq2025-11-29 23:30
Tools for daemons maybe.
KonaYukiNe2025-11-29 23:34
Anyone else feel like 4chan is basically just a more anonymous Reddit now?
jonathan-the-man2025-11-30 00:24
Yeah but also Reddit is basically just a more anonymous Facebook now.
Dull-Sugar85792025-11-30 05:34
Ever start a whole new account because your called out in your writing style?
IKindaPlayEVE2025-11-30 08:00
You're. (Let's see if it works.)
cbftw2025-11-30 09:24
Gr8 b8 etc
ToaKraka2025-11-30 00:30
It heavily depends on which part of 4chan you visit.
ThatoneTexan4642025-11-30 02:37
And which part of Reddit
ToaKraka2025-11-30 02:56
Reddit's r\/all represents the site as a whole. 4chan has no such sitewide gathering place. (There technically is a small "popular threads" box on the front page, but I don't think anyone uses it like r\/all.)
MarcsterS2025-11-30 03:20
I mean even the wretched parts of this website still punish slurs.
Radiant_Reception7922025-11-30 09:56
Bro doesn't know about r/okbuddyretard
ghost4kill9872025-11-30 02:22
I mean, my reddit feed has fewer racial slurs.
MarcsterS2025-11-30 03:21
Maybe before 2016. I mean, a big running joke was that Reddit used to constantly regurgitate 4chan content.
Even certain popular memes/terms used today come from 4chan.
MrAshh2025-11-30 04:39
Less hivemind than reddit too. The downvotes and upvotes really control the perception here, that isnt a problem on 4ch
H00ston2025-11-29 23:42
Each Gabecube was infused with a fragment of Linus Torvald's soul, allowing him to extend his work on the linux kernel for another 5 years per sale
Idk about demons but it definitely does have daemons
elliespacekiwi2025-11-30 00:44
Ahhhh daemons. That makes sense now. Like you know, in Linux. Took me way too long to see that.
jghaines2025-11-30 01:13
[FAQ: YOUR NEW CURSED INSTANT POT](https://www.mcsweeneys.net/articles/faq-your-new-cursed-instant-pot)
LordInquisitor_Turin2025-11-30 01:20
[Boy I love trapping demons in microscopic silicon megastructures to do my bidding](https://www.youtube.com/watch?v=-BtEI8DGUWc)
Asundaywarrior2025-11-30 01:21
Underrated post.
TulipMelodies2025-11-30 01:26
Jan... THIS is the internet!
ForestSolitude52025-11-30 01:39
This might be a reference to Unix services being known and sometimes labeled as daemons, which relates to the "underling" concept by Greek mythos which influenced the actual modern word of demon, but isn't 100% the same thing.
Either way what are you gonna do, play some AAA games or exorcise the box and play nothing?
baithammer2025-11-30 06:29
Daemons were spirit servants in Greek, which may have had an influence on modern demon terminology.
Ooops22782025-11-30 01:40
...and securely shackled by obscure systemd rituals.
The demons are constantly making [weird](https://www.youtube.com/watch?v=l4SFUztLWOA&t=5m39s) [sounds](https://www.youtube.com/watch?v=0fllyJTBsRU).
DieCastDontDie2025-11-30 02:17
Got 'em
NervousSheSlime2025-11-30 02:23
C++ is scary as hell so checks out
xXWestinghouseXx2025-11-30 02:24
But it can run Doom so it will easily become demon-free.
Mathew19792025-11-30 02:26
To be fair C++ does sound like a demonic tounge,
Stuff works for unnown reasons and in 95% of cases something goes horribly wrong
bbsusername2025-11-30 02:27
I've got this figured out -> [https://imgur.com/a/5qPvfZz](https://imgur.com/a/5qPvfZz)
Gabe is going to save the planet from Demons by tricking all the gamers into powering up these in their living room, roach-motel-ing them.
Interesting-Baby-7192025-11-30 02:51
They have such sights to show you.
Physmatik2025-11-30 02:54
Linus Torvalds is notorious for his dislike of C++. Linux is based on C.
baithammer2025-11-30 06:26
Linus has no issue with C++ in general, but makes the point about the abstraction layers in it contributing to issues when used for kernel work, hence the preference to C - however, RUST finally managed to sway Linus to provisionally allow it for new kernel level development.
RStiltskins2025-11-30 03:07
I hope mine comes with the tortured souls of a convicted serial killer
https://www.youtube.com/watch?v=ghgD_zoe6Bc
stopmakingsense20172025-11-30 03:28
Based on the novel ‘Push’ by Sapphire.
ThatGuyYouMightNo2025-11-30 03:51
It will when I install Doom on it
BicFleetwood2025-11-30 03:57
If you're into IT and you're afraid of daemons, I've got bad news for you
gonticho2025-11-30 03:58
Haha, if it has demons, they're probably just buffering forever.
ObligationAsleep9382025-11-30 04:00
I wonder how Blast feels about this...
harrier_dubois_of2025-11-30 04:14
Thought this was a picture of the Kaaba and thought "wow, another reddit post bashing Muslims on my feed, cool"
Aziruth-Dragon-God2025-11-30 04:52
Someone is gonna make a wrap so it looks like the Lament configuration.
CaptOblivious2025-11-30 05:23
No demons at all.
Plenty of [daemons](https://en.wikipedia.org/wiki/Daemon_\(computing\)) though.
Commentaires
int* p;
//potentially other stuff such as initialisation of var1 here
p = &var1;
+var2;
If the type of `var2` were an integer type, or something with a binary `operator+` overload that delegates to one (potentially something that has a unary `operator+` that isn't a no-op so the next line is not pointless), then omitting the semicolon on `p = &var1` could result in out-of-bounds indexing, which is undefined behaviour.
EDIT: [Example](https://godbolt.org/z/sr4efd3Y4)
Source: once found a bug that was the result of something like
`if (variable_with_bit_flags > BIT_SHIFT_CONSTANT) & 1){}`
instead of
`if (variable_with_bit_flags >> BIT_SHIFT_CONSTANT) & 1){}`
Also, most system daemons (windows calls these “services”) are written in c++.
So if you subscribe to that...
[ 👆] I would like to know more.
If I can also ask: how is electricity made/maintained within our bodies? In my mind, I see electricity as semi conductors and blue and white streaks constantly travelling on a cable. What is the nature elecriticity in a biological being?
nerve cells/neurons use these signals (called action potentials when discussing the nervous system) to transmit information, while muscle cells use similar signals to trigger contraction.
biological electricity is maintained by protein pumps/channels which carefully control ion concentrations to create the correct charge at the correct time. the charge is ultimately created by the moving of ions within each individual cell.
Just demonic science, no?
IDC how well we're able to explain it, it will always feel like magic to me.
https://www.youtube.com/watch?v=s1MCi7FliVY
Here is a video covering the cutting edge as of 2024.
https://www.youtube.com/watch?v=UdcFpjgCnP8
Sorry but this vid is all explanation.
Sounds like a wizard to me.
That demonic sigils are etched into the bare silicon
or
That the best silicon is made from sand contaminated with ground up former sigils
Iconographs from Discworld
https://wiki.lspace.org/Iconograph#:~:text=An%20iconograph%20is%20a%20wonderful,industry%20(see%20Moving%20Pictures).
Even certain popular memes/terms used today come from 4chan.
Either way what are you gonna do, play some AAA games or exorcise the box and play nothing?
https://preview.redd.it/8mr1zulkja4g1.png?width=1920&format=png&auto=webp&s=f170fd2de7d0d05629d5a469026c30b80a9f73d0
Stuff works for unnown reasons and in 95% of cases something goes horribly wrong
Gabe is going to save the planet from Demons by tricking all the gamers into powering up these in their living room, roach-motel-ing them.
https://www.youtube.com/watch?v=ghgD_zoe6Bc
Plenty of [daemons](https://en.wikipedia.org/wiki/Daemon_\(computing\)) though.
The demon: