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
    Matthew Green (matthew_d_green@ioc.exchange)'s status on Friday, 27-Oct-2023 22:50:11 JST Matthew Green Matthew Green

    A project my grad student is working on required us to review the implementation of the C++ standard library, and now I want to tear my eyes out.

    In conversation Friday, 27-Oct-2023 22:50:11 JST from ioc.exchange permalink
    • clacke likes this.
    • Embed this notice
      Matthew Green (matthew_d_green@ioc.exchange)'s status on Friday, 27-Oct-2023 22:50:12 JST Matthew Green Matthew Green
      in reply to

      This code is not cherry-picked. Every single line looks like this. It’s literally the most terrifying, unreadable pile of dogshit I’ve seen in my life. And as the owner of two dogs, I don’t use that term lightly.

      In conversation Friday, 27-Oct-2023 22:50:12 JST permalink

      Attachments


      1. https://files.ioc.exchange/media_attachments/files/111/307/085/465/634/223/original/9f2db0c98f074ded.jpeg
      clacke likes this.
    • Embed this notice
      clacke (clacke@libranet.de)'s status on Friday, 27-Oct-2023 22:50:13 JST clacke clacke
      in reply to
      @matthew_d_green Needs more underscores.
      In conversation Friday, 27-Oct-2023 22:50:13 JST permalink
    • Embed this notice
      Ryan Castellucci :nonbinary_flag: (ryanc@infosec.exchange)'s status on Friday, 27-Oct-2023 22:50:15 JST Ryan Castellucci :nonbinary_flag: Ryan Castellucci :nonbinary_flag:
      in reply to

      @matthew_d_green Wait, whose code is that, DJB's?

      In conversation Friday, 27-Oct-2023 22:50:15 JST permalink
      clacke likes this.
    • Embed this notice
      Ken Tindell (kentindell@mastodon.social)'s status on Friday, 27-Oct-2023 22:50:16 JST Ken Tindell Ken Tindell
      in reply to

      @matthew_d_green This is the feedstock for LLM models, so one day all code will look like this.

      In conversation Friday, 27-Oct-2023 22:50:16 JST permalink
      clacke likes this.
    • Embed this notice
      clacke (clacke@libranet.de)'s status on Friday, 27-Oct-2023 22:50:16 JST clacke clacke
      in reply to
      • Ben Fulton

      @benfulton @matthew_d_green GCC libstdc++

      gcc.gnu.org/onlinedocs/gcc-10.…

      In conversation Friday, 27-Oct-2023 22:50:16 JST permalink
    • Embed this notice
      Ben Fulton (benfulton@fosstodon.org)'s status on Friday, 27-Oct-2023 22:50:17 JST Ben Fulton Ben Fulton
      in reply to

      @matthew_d_green Which implementation?

      In conversation Friday, 27-Oct-2023 22:50:17 JST permalink
    • Embed this notice
      Paul_IPv6 (paul_ipv6@infosec.exchange)'s status on Saturday, 28-Oct-2023 17:30:17 JST Paul_IPv6 Paul_IPv6
      in reply to

      @matthew_d_green

      i've heard of hazing rituals but this borders more on geneva convention violation...

      In conversation Saturday, 28-Oct-2023 17:30:17 JST permalink
      clacke likes this.
    • Embed this notice
      Peter H. Fröhlich (phf@mastodon.acm.org)'s status on Saturday, 28-Oct-2023 17:30:22 JST Peter H. Fröhlich Peter H. Fröhlich
      in reply to

      @matthew_d_green For whatever reason I see several parallels to the classic "If you have a procedure with ten parameters, you probably missed some." Perlism.

      In conversation Saturday, 28-Oct-2023 17:30:22 JST permalink
      clacke likes this.
    • Embed this notice
      Thijs Alkemade (xnyhps@infosec.exchange)'s status on Saturday, 28-Oct-2023 17:30:29 JST Thijs Alkemade Thijs Alkemade
      in reply to

      @matthew_d_green The only thing worse than reading decompiled, vtable-heavy C++ code is reading C++ source code.

      In conversation Saturday, 28-Oct-2023 17:30:29 JST permalink
      clacke likes this.
    • Embed this notice
      Peter Sommerlad (petersommerlad@mastodon.social)'s status on Saturday, 28-Oct-2023 17:30:31 JST Peter Sommerlad Peter Sommerlad
      in reply to

      @matthew_d_green typical std library implementation. the ugly names are needed to avoid clashes with user macros.

      In conversation Saturday, 28-Oct-2023 17:30:31 JST permalink
      clacke likes this.
    • Embed this notice
      Alexandre Oliva (lxo@gnusocial.net)'s status on Tuesday, 31-Oct-2023 13:08:18 JST Alexandre Oliva Alexandre Oliva
      in reply to
      • John Burns
      underscores protect the code from preprocessor macros. names starting with double underscores are reserved for use by the language implementation
      In conversation Tuesday, 31-Oct-2023 13:08:18 JST permalink
    • Embed this notice
      John Burns (johnjburnsiii@kzoo.to)'s status on Tuesday, 31-Oct-2023 13:08:19 JST John Burns John Burns
      in reply to

      @matthew_d_green

      Did you find out why they prefixed with the underscores?

      I saw something like that in early 00's - but I don't remember the reasoning behind it.

      In conversation Tuesday, 31-Oct-2023 13:08:19 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.