You are viewing a single thread.
View all comments
46 points

You’re probably using the wrong compiler flags, did you remember -Wall -Oz -nostdlib?

permalink
report
reply
41 points
*

-Oz

Optimize aggressively for size rather than speed.

TIL

permalink
report
parent
reply
29 points

It is, honestly, the dumbest of the -O flag option, which is why I picked it. I’m sure there are times when it’s useful, but it’s nearly never the right choice.

permalink
report
parent
reply
13 points

Wasm comes to mind, execution time in the browser will probably be ok, but size is a big deal

permalink
report
parent
reply

Programmer Humor

!programmerhumor@lemmy.ml

Create post

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.

Community stats

  • 6.9K

    Monthly active users

  • 1.4K

    Posts

  • 32K

    Comments