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
    Cassandra Granade 🏳️‍⚧️ (xgranade@wandering.shop)'s status on Thursday, 19-Dec-2024 03:35:33 JST Cassandra Granade 🏳️‍⚧️ Cassandra Granade 🏳️‍⚧️

    This shouldn't need to be a macro in a library. I'm glad that the Wine folks wrote it, but it shouldn't have to be up to library authors to make sure that a for-each loop works correctly.

    In conversation about 5 months ago from wandering.shop permalink

    Attachments


    1. https://stockroom.wandering.shop/media_attachments/files/113/675/257/474/916/336/original/cc10e7246875455f.png
    • Embed this notice
      Cassandra Granade 🏳️‍⚧️ (xgranade@wandering.shop)'s status on Thursday, 19-Dec-2024 03:37:04 JST Cassandra Granade 🏳️‍⚧️ Cassandra Granade 🏳️‍⚧️
      in reply to

      At the *very* least, it should be the case that correct for-each functionality can be a library itself that other programs and libraries can depend on, instead of each individual library having to reimplement basic language features.

      In conversation about 5 months ago permalink
    • Embed this notice
      Cassandra Granade 🏳️‍⚧️ (xgranade@wandering.shop)'s status on Thursday, 19-Dec-2024 04:13:54 JST Cassandra Granade 🏳️‍⚧️ Cassandra Granade 🏳️‍⚧️
      in reply to

      This is the kind of shit I mean when I say that C/C++ is a kind of hazing ritual: yes, for a project at the scale of Wine, you can make it safe by writing all the right macros, turning on all the right lints, and vendoring all the right libraries, but it takes a lot of work to get there.

      If you don't put in the work, things will seem to compile and run OK, but with a lot higher risk of surprising and difficult bugs.

      C and C++ don't work correctly *by default*, and that creates a barrier.

      In conversation about 5 months ago permalink
    • Embed this notice
      Cassandra Granade 🏳️‍⚧️ (xgranade@wandering.shop)'s status on Thursday, 19-Dec-2024 04:16:08 JST Cassandra Granade 🏳️‍⚧️ Cassandra Granade 🏳️‍⚧️
      in reply to

      One could argue the same is true of other languages as well. The whole Python `def f(x = []): x.append("foo")` problem is absolutely the language not being safe by default, and in a surprising way. Yes, the logic makes perfect sense once you're used to how Python works, but it is a hell of a footgun.

      So there's absolutely an aspect of the above being a matter of degree. That's a pretty extreme degree, though, and I think is worth calling out.

      In conversation about 5 months ago permalink

      Attachments


    • Embed this notice
      Cassandra Granade 🏳️‍⚧️ (xgranade@wandering.shop)'s status on Thursday, 19-Dec-2024 04:18:36 JST Cassandra Granade 🏳️‍⚧️ Cassandra Granade 🏳️‍⚧️
      in reply to

      Anyway, please enjoy my stray thoughts as I compile and run a bleeding-edge version of Wine so that I can add context to my bug report.

      It took ten or so minutes to figure out the right way to invoke `./configure` for the project and to get the right system-level development libraries in place, so now it's just the waiting game. How long am I waiting on a pretty high-end desktop? Who knows!

      In conversation about 5 months ago permalink

      Attachments


    • Embed this notice
      Cassandra Granade 🏳️‍⚧️ (xgranade@wandering.shop)'s status on Thursday, 19-Dec-2024 04:28:04 JST Cassandra Granade 🏳️‍⚧️ Cassandra Granade 🏳️‍⚧️
      in reply to
      • ✧✦Catherine✦✧

      @whitequark It took about half an hour for me on a 16-core with 128 GB RAM. And yeah, other than the docs for ./configure being out of date (the --options flag seems to have been removed, but docs say it's still there), that was one of the smoother `./configure; make` processes I've seen.

      In conversation about 5 months ago permalink
    • Embed this notice
      ✧✦Catherine✦✧ (whitequark@mastodon.social)'s status on Thursday, 19-Dec-2024 04:28:05 JST ✧✦Catherine✦✧ ✧✦Catherine✦✧
      in reply to

      @xgranade wine builds pretty quickly (and the build system is shockingly good)

      In conversation about 5 months ago permalink
    • Embed this notice
      ✧✦Catherine✦✧ (whitequark@mastodon.social)'s status on Thursday, 19-Dec-2024 04:31:22 JST ✧✦Catherine✦✧ ✧✦Catherine✦✧
      in reply to

      @xgranade you can even run wine from the build directory, which most unix projects don't bother with

      In conversation about 5 months ago permalink
    • Embed this notice
      Cassandra Granade 🏳️‍⚧️ (xgranade@wandering.shop)'s status on Thursday, 19-Dec-2024 04:31:22 JST Cassandra Granade 🏳️‍⚧️ Cassandra Granade 🏳️‍⚧️
      in reply to
      • ✧✦Catherine✦✧

      @whitequark That is very nice (and indeed, is how I'm currently collecting stack traces for this bug report). Wine prefixes are also very very nice.

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