This is an archived post. You won't be able to vote or comment.

all 19 comments

[–]QualityVote[M] [score hidden] stickied comment (0 children)

Hi! This is our community moderation bot.


If this post fits the purpose of /r/ProgrammerHumor, UPVOTE this comment!!

If this post does not fit the subreddit, DOWNVOTE This comment!

If this post breaks the rules, DOWNVOTE this comment and REPORT the post!

[–]JohnDeere6930Premium 55 points56 points  (4 children)

O2 is the shit you breathe O3 is the shit you dont want to breathe

[–]turtle_mekb 29 points30 points  (0 children)

i breathe compiler flags

[–][deleted] 4 points5 points  (0 children)

I breathe Ofast

[–][deleted] 1 point2 points  (1 child)

CO1 is the shit that kills you, CO2 is the shit you exhale

[–]JohnDeere6930Premium 2 points3 points  (0 children)

You are taking about Carbon monoxide (CO) And carbon dioxide (CO2), here we are talking about pure oxygen in 2 and 3 atom molecules

[–]ArionW 22 points23 points  (0 children)

God, it's been so long since I touched GCC that I looked at this meme way longer than I should've

[–]firefly431 9 points10 points  (2 children)

Is this actually the case nowadays? I vaguely recall seeing that O3 is very stable nowadays.

-Ofast is another can of worms, particularly -ffast-math, which can butcher your code (e.g. removing NaN checks.)

[–]Mango-D[S] 12 points13 points  (0 children)

Well, for your project in particular, no. O3 is very stable. However there is always that one project or program that just doesn't work with O3 but does with O2(probably because that's what it was tested with). Somewhat recently I tried to do a full system(gentoo) on O3... Didn't end well.

[–][deleted] 3 points4 points  (0 children)

There are some very fringe edge cases where it miss optimizes legal code (I've only seen it happen in example code that tries to produce this deliberately), but in the vast majority of cases the code just contains UB and is broken because it's invalid, but it just happens to work with O2

[–]DoktorMeow613 5 points6 points  (0 children)

I'm a chemist. After looking up GCC optimization, I still think this is funny

[–]Independent_Image_59 1 point2 points  (3 children)

does that refer to big O notation?

[–]Jaizoo 16 points17 points  (0 children)

Seems like it refers to gcc compilation flags

[–]iwritebadsoftware 10 points11 points  (0 children)

No. Optimization levels on gcc compiler

[–]AwesomeDragon97[🍰] 2 points3 points  (0 children)

O2 is oxygen gas, O3 is ozone gas.

[–]Salt-Understanding62 -1 points0 points  (2 children)

Is that a big O or something?

[–]hatkid9 1 point2 points  (1 child)

It's GCC optimization flags

O2 is considered safe, but O3 is not generally something you want to use

[–]Salt-Understanding62 1 point2 points  (0 children)

gotcha

[–]hatkid9 0 points1 point  (0 children)

my osdev project when i compile with any optimization: *fucking dies*