Jonkman Microblog
  • Login
Show Navigation
  • Public

    • Public
    • Network
    • Groups
    • Popular
    • People

Conversation

Notices

  1. tekk (tekk@social.tekk.in)'s status on Saturday, 30-Sep-2017 21:48:25 EDT tekk tekk
    Fun fact: the C standard is actually useless without a copy of K&R.
    In conversation Saturday, 30-Sep-2017 21:48:25 EDT from social.tekk.in permalink
    1. tekk (tekk@social.tekk.in)'s status on Saturday, 30-Sep-2017 21:49:32 EDT tekk tekk
      in reply to
      I don't mean this in some abstract "you'll never learn from just the standard" I mean that if you want to implement C you need it. There are certain minor terms like *NULL POINTER* which the standard never defines and you're supposed to just be aware of its definition via K&R.
      In conversation Saturday, 30-Sep-2017 21:49:32 EDT from social.tekk.in permalink
      1. tekk (tekk@social.tekk.in)'s status on Saturday, 30-Sep-2017 21:52:40 EDT tekk tekk
        in reply to
        This is actually how I found out about it. I brought up that literal 0 is always equivalent to NULL in a pointer context, was then asked "what about architectures where 0 is a valid address?" Went to the C FAQ and it said that the standard says so without a reference. Found a draft of the C11 standard and it makes reference to "null pointers" without defining them. K&R page 102 has the actual definition
        In conversation Saturday, 30-Sep-2017 21:52:40 EDT from social.tekk.in permalink
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

Jonkman Microblog is a social network, courtesy of SOBAC Microcomputer Services. It runs on GNU social, version 1.2.0-beta5, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All Jonkman Microblog content and data are available under the Creative Commons Attribution 3.0 license.

Switch to desktop site layout.