GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Conversation

Notices

  1. Embed this notice
    ✧✦Catherine✦✧ (whitequark@mastodon.social)'s status on Sunday, 20-Apr-2025 14:23:46 JST ✧✦Catherine✦✧ ✧✦Catherine✦✧

    just discovered this new-to-me syntax in C: pointer to an array of a fixed size

    i had to double-check that it's legal

    In conversation about 2 months ago from mastodon.social permalink

    Attachments


    1. https://files.mastodon.social/media_attachments/files/114/368/617/639/329/134/original/428c420069f8a1df.png
    • Embed this notice
      Andrew Zonenberg (azonenberg@ioc.exchange)'s status on Sunday, 20-Apr-2025 15:29:04 JST Andrew Zonenberg Andrew Zonenberg
      in reply to

      @whitequark wait what

      Does this like do compile time static array bounds checks when using constant indexes? Is it just a hint to the optimizer? What does it do differently from a raw pointer?

      In conversation about 2 months ago permalink
    • Embed this notice
      ✧✦Catherine✦✧ (whitequark@mastodon.social)'s status on Sunday, 20-Apr-2025 15:29:04 JST ✧✦Catherine✦✧ ✧✦Catherine✦✧
      in reply to
      • Andrew Zonenberg

      @azonenberg unfortunately,

      char (*y)[static 0x64];

      doesn't work

      In conversation about 2 months ago permalink
    • Embed this notice
      ✧✦Catherine✦✧ (whitequark@mastodon.social)'s status on Sunday, 20-Apr-2025 15:29:29 JST ✧✦Catherine✦✧ ✧✦Catherine✦✧
      in reply to
      • Cinnamon

      @cinnamon sorta, but it's semantically different

      In conversation about 2 months ago permalink
    • Embed this notice
      Cinnamon (cinnamon@mk.absturztau.be)'s status on Sunday, 20-Apr-2025 15:29:31 JST Cinnamon Cinnamon
      in reply to

      @whitequark@mastodon.social This is like a char **y, right?

      In conversation about 2 months ago permalink

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.