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
    Annika Backstrom (annika@xoxo.zone)'s status on Sunday, 07-Apr-2024 21:48:09 JST Annika Backstrom Annika Backstrom

    As someone who isn't super familiar with C++, it strikes me as odd that `struct s1 { int i; char c; char c2; }` is smaller than `struct s2 { char c; int i; char c2; }` :blobcheeky:

    (I assume this is just some internal optimisation of adjacent chars but I don't need to know the details :P)

    In conversation Sunday, 07-Apr-2024 21:48:09 JST from xoxo.zone permalink
    • Embed this notice
      Annika Backstrom (annika@xoxo.zone)'s status on Sunday, 07-Apr-2024 22:14:57 JST Annika Backstrom Annika Backstrom
      in reply to
      • EricJ

      @ericj I can find no comfort in this world or the next, but thank you anyway

      In conversation Sunday, 07-Apr-2024 22:14:57 JST permalink
    • Embed this notice
      EricJ (ericj@mastodon.acc.umu.se)'s status on Sunday, 07-Apr-2024 22:14:59 JST EricJ EricJ
      in reply to

      @annika if it's any comfort;
      1) you assume correctly,
      2) it's not just C++, last time I checked it was a thing in good ol' C too, and
      3) we C++ programmers seldom care about it either. 😛

      In conversation Sunday, 07-Apr-2024 22:14:59 JST 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.