The Enchanted Tavern
  • Communities
  • Create Post
  • 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
80
fedilink
729

What are the best books?

lemmy.world

@InternetCitizen2@lemmy.world to Programmer Humor@lemmy.ml • 9 months ago
message-square
80
fedilink
alert-triangle
You must log in or register to comment.
  • Laura
    link
    fedilink
    12•9 months ago

    • @LemoineFairclough@sh.itjust.works
      link
      fedilink
      English
      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
      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
        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
        link
        fedilink
        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
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.
  • 17 users / day
  • 104 users / week
  • 179 users / month
  • 1.61K users / 6 months
  • 1 subscriber
  • 1.59K Posts
  • 29.7K Comments
  • Modlog
  • mods:
  • @AgreeableLandscape@lemmy.ml
  • @cat_programmer@lemmy.ml
  • UI: unknown version
  • BE: 0.18.2
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org