Work in progress: 181,232 of 181,233 sites checked so far, more every week · updated 2 Nov 2026Missing a blog? Tell us

Top all-time · #8422

M

Mark Shroyer

Personal blog · markshroyer.com · on HN as mshroyerprogramming

Mark Shroyer writes mark shroyer, dot com, a personal blog at markshroyer.com about programming. Since 2010, 9 different Hacker News readers have linked it 12 times, most often “Both true and false: a Zen moment with C”. It is still writing: the last post was on 2025-12-17, and you can follow it by feed.

Visit the blog
12mentions?
9HN people?
2010–2025first – last linked?
Links on Hacker News per year · peak 2 in 2011

Too few sampled comments (6) to say how often HN recommends it.?

Why HN links it

HN readers link Mark Shroyer's posts on C undefined behaviour and his pointfree library docs, mostly as examples or references. One commenter calls one post on undefined behaviour a good blog post.

Summarised by Claude from a sample of 6 HN comments that link here. Each comment is marked recommending, critical or neutral (citing without judging); how this works.

The author on HN?

mshroyer · 611 karma · member since 2019

https://markshroyer.com/ https://github.com/mshroyer/

From their public HN profile, which links to this site.

Most-linked posts?

  1. /2012/06/c-both-true-and-false/
    3 people · 3 mentions · first linked 2018-06-27
  2. Both true and false: a Zen moment with C
    2 people · 2 mentions · first linked 2012-06-27

What Hacker News says?

  1. Yes, and you can later do fun things with these functions, it seems: https://markshroyer.com/docs/pointfree/latest/overview.html

    Comment linking /docs/pointfree/latest/overview.html

    on “Write code. Not too much. Mostly functions.”
  2. Submitted In love with the BBC micro:bit as a story · 184 points

    HN discussion
  3. Does this example help? http://markshroyer.com/2012/06/c-both-true-and-false/

    Comment linking /2012/06/c-both-true-and-false/

    on “Proposal for a Friendly Dialect of C”
  4. Submitted Both true and false: a Zen moment with C as a story · 177 points

    HN discussion
  5. Saw your presentation at Montréal-Python, it was very good. Have you played with pointfree ( http://markshroyer.com/docs/pointfree/latest/module.html#mod... )? What do you think about it compared to Moka?

    Comment linking /docs/pointfree/latest/module.html

    on “Making Coffeescript’s Whitespace More Significant”
  6. Submitted Pointfree style in Python as a story · 104 points

    HN discussion
  7. - Removing Linux NULL pointer check: https://blog.regehr.org/archives/970 - Time traveling undefined behavior: h https://devblogs.microsoft.com/oldnewthing/20140627-00/?p=63... - bool that is both true and false: https://markshroyer.com/2012/06/c-both-true-and-false/ - Turning finite loops into infinite one: https://stackoverflow.com/questions/24296571/why-does-this-l... From: https://twitter.com/shafikyaghmour/stat…

    Comment linking /2012/06/c-both-true-and-false/

    on “Ask HN: What's your worst undefined C story?”
  8. Submitted Microsoft Outlook ruins my evening as a story · 55 points

    HN discussion
  9. > Consider the following example: if (cond) { A[1] = X; } else { A[0] = X; } > A total license implementation could determine that, in the absence of any undefined behavior, the condition cond must have value 0 or 1. > If undefined behavior occurred somewhere in the integer arithmetic of cond, then cond could end up evaluating to a value other than 0 or 1 I don't even follow this very first example. Neither C nor C+…

    Comment linking /2012/06/c-both-true-and-false/

    on “Dangerous Optimizations and the Loss of Causality in C and C++ (2010) [pdf]”
  10. Submitted Juggling Multiple SSH_AUTH_SOCKs in Tmux as a story · 1 points

    HN discussion
  11. > If the invalid arithmetic proceeds without crashing, and produces a value in the int32_t i variable, then that issue is settled. The subsequent statement should behave according to accessing that value. The C standard imposes no such constraint on undefined behaviour, neither is it the case that real compilers always behave as if it did. hxhxhrra has already shown this, but here's another good blog post on this ki…

    Comment linking /2012/06/c-both-true-and-false/

    on “GCC undefined behaviors are getting wild”
  12. Submitted Debugging the OpenBSD kernel via QEMU as a story · 1 points

    HN discussion

Search all of HN for markshroyer.com

Linked by the same people?