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
    Andy Price (andyprice@mastodon.social)'s status on Saturday, 16-Nov-2024 07:02:34 JST Andy Price Andy Price

    Undefined behaviour in a programming language spec is a good thing because it enables optimisations. Similarly, taking the windscreen wipers off your car is a good thing because it improves aerodynamics.

    In conversation about 7 months ago from mastodon.social permalink
    • Embed this notice
      Andy Price (andyprice@mastodon.social)'s status on Saturday, 16-Nov-2024 07:02:32 JST Andy Price Andy Price
      in reply to
      • The Penguin of Evil

      @etchedpixels Sequence points is an interesting case because the unsequenced operations are effectively defined by omission :) You still don't get compiler warnings about something like foo(&s) + bar(&s) though so I'm sure there are a million bugs out there due to it. Is that worth it, is the question.

      In conversation about 7 months ago permalink
    • Embed this notice
      pinskia (pinskia@hachyderm.io)'s status on Saturday, 16-Nov-2024 07:02:32 JST pinskia pinskia
      in reply to
      • The Penguin of Evil

      @andyprice @etchedpixels `foo(&s) + bar(&s)` is a little more obvious an issue rather than say `foo(bar1(), bar2())`. And yes that has shown up in real code (GCC in fact).
      See https://gcc.gnu.org/PR12411 and
      http://gcc.gnu.org/ml/gcc-patches/2003-09/msg01545.html

      In conversation about 7 months ago permalink

      Attachments

      1. No result found on File_thumbnail lookup.
        12411 – Missed -Wsequence-point on functions (example reduced from historical GCC source)
      2. No result found on File_thumbnail lookup.
        Roger Sayle - Re: problem building a GCJ-friendly GNU Crypto
    • Embed this notice
      The Penguin of Evil (etchedpixels@mastodon.social)'s status on Saturday, 16-Nov-2024 07:02:33 JST The Penguin of Evil The Penguin of Evil
      in reply to
      • Yukari Hafner :v_lesbian:

      @shinmera @andyprice Used sensibly a lot of them (like C sequence points) make an enormous performance difference to code.

      In conversation about 7 months ago permalink
    • Embed this notice
      Yukari Hafner :v_lesbian: (shinmera@mastodon.tymoon.eu)'s status on Saturday, 16-Nov-2024 07:02:34 JST Yukari Hafner :v_lesbian: Yukari Hafner :v_lesbian:
      in reply to

      @andyprice UB always struck me less as being for optimisations, but rather for getting whoever was funding the standard to sign off on it because they had an existing product they couldn't be bothered to make comply

      In conversation about 7 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.