Brasil
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
InternetCitizen2@lemmy.world to Programmer Humor@lemmy.ml · 9 months ago

What are the best books?

lemmy.world

message-square
63
fedilink
726

What are the best books?

lemmy.world

InternetCitizen2@lemmy.world to Programmer Humor@lemmy.ml · 9 months ago
message-square
63
fedilink
  • Laura@lemmy.ml
    link
    fedilink
    arrow-up
    12
    ·
    9 months ago

    • LemoineFairclough@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      3
      ·
      edit-2
      9 months ago

      *(char*)0 = 0; - What Does the C++ Programmer Intend With This Code? - JF Bastien - C++ on Sea 2023

      https://www.youtube.com/watch?v=dFIqNZ8VbRY

    • milicent_bystandr@lemm.ee
      link
      fedilink
      arrow-up
      2
      ·
      9 months ago

      How would you use that for debugging?

      (Sry I’m too cheap to go and buy the book)

      • jxk@sh.itjust.works
        link
        fedilink
        arrow-up
        7
        ·
        9 months ago

        My best guess is that in some configurations it raises SIGSEGV and then dumps core. Then, you use a debugger to analyse the core dump. But then again you could also set a breakpoint, or if you absolutely want a core dump, use abort() and configure SIGABRT to produce a core dump.

      • Laura@lemmy.ml
        link
        fedilink
        arrow-up
        2
        ·
        9 months ago

        to see whether your code has executed a certain path (like printf(“here”) but as a crash)

Programmer Humor@lemmy.ml

programmerhumor@lemmy.ml

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programmerhumor@lemmy.ml

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.
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 125 users / day
  • 529 users / week
  • 1.75K users / month
  • 10.5K users / 6 months
  • 60 local subscribers
  • 35.6K subscribers
  • 1.7K Posts
  • 36.5K Comments
  • Modlog
  • mods:
  • cat_programmer@lemmy.ml
  • AgreeableLandscape@lemmy.ml
  • BE: 0.19.10
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org