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

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

Notices by John McCall (rjmccall@hachyderm.io), page 3

  1. Embed this notice
    John McCall (rjmccall@hachyderm.io)'s status on Friday, 14-Jun-2024 03:52:07 JST John McCall John McCall
    in reply to

    11:20 - There's a whole theory waiting to be written about representations of values, but you should not try to find out more by googling "representation theory"

    In conversation about a year ago from hachyderm.io permalink
  2. Embed this notice
    John McCall (rjmccall@hachyderm.io)'s status on Friday, 14-Jun-2024 03:52:06 JST John McCall John McCall
    in reply to

    13:32 - I had to cut this for time, but of course indirect enum cases don't use inline storage. Instead, indirect case payloads are stored in a case-specific heap allocation. Swift doesn't currently support mutating enum cases, but when we do, we expect that the language will implicitly use copy-on-write on these.

    In conversation about a year ago from hachyderm.io permalink
  3. Embed this notice
    John McCall (rjmccall@hachyderm.io)'s status on Friday, 14-Jun-2024 03:52:06 JST John McCall John McCall
    in reply to

    13:05 - This is a *huge* simplification to the point of being a lie. Array's single stored property is another struct, which itself has another struct as its single stored property. Eventually, on Apple platforms, that bottoms out as a Builtin.BridgeObject, which is essentially an optimized sum of either an ObjC or a Swift object reference. So it is a pointer that's referenced-counted at the end of the day, but there's a lot of extra stuff to it that I had to leave out.

    In conversation about a year ago from hachyderm.io permalink
  4. Embed this notice
    John McCall (rjmccall@hachyderm.io)'s status on Friday, 14-Jun-2024 03:52:05 JST John McCall John McCall
    in reply to

    We've been kicking around an idea to add a similar `indirect` feature for structs, so that you can very easily adopt copy-on-write on some or all of a struct's members. If we had that already, it would've made a really nice narrative for the upcoming section about getting value semantics with out-of-line storage! Alas.

    In conversation about a year ago from hachyderm.io permalink
  5. Embed this notice
    John McCall (rjmccall@hachyderm.io)'s status on Tuesday, 05-Dec-2023 11:56:36 JST John McCall John McCall
    in reply to
    • Kyle Bashour
    • Joe Fabisevich :verified:
    • Rob Napier
    • jesse squires
    • Quinn “The Eskimo!”

    @jsq @cocoaphony @kylebshr @justkwin @mergesort I definitely wouldn’t go so far as to say “no non-actor classes”! There are other ways to keep things isolated and thread-safe, like something isolated to the main actor, or just not sending it between concurrent domains

    But yeah, we know we owe the community a guidebook here. We’re working on it, and seeing things like is a huge hint about places to flesh out

    In conversation Tuesday, 05-Dec-2023 11:56:36 JST from hachyderm.io permalink
  6. Embed this notice
    John McCall (rjmccall@hachyderm.io)'s status on Tuesday, 05-Dec-2023 11:56:34 JST John McCall John McCall
    in reply to
    • Kyle Bashour
    • Joe Fabisevich :verified:
    • Rob Napier
    • jesse squires
    • Quinn “The Eskimo!”

    @cocoaphony @mergesort @kylebshr @justkwin @jsq Non-Sendability is the big tool there for when making something an actor isn’t right

    In conversation Tuesday, 05-Dec-2023 11:56:34 JST from hachyderm.io permalink
  7. Embed this notice
    John McCall (rjmccall@hachyderm.io)'s status on Tuesday, 31-Oct-2023 14:34:04 JST John McCall John McCall
    in reply to
    • Paul Cantrell
    • Ole Begemann
    • Doug Gregor
    • Yaroslav

    @inthehands @yar @dgregor79 @ole I completely agree. Even if somehow you never write Rust again, being familiar with Rust's ownership concepts will be very helpful in using Swift's (should you need to)

    In conversation Tuesday, 31-Oct-2023 14:34:04 JST from hachyderm.io permalink
  8. Embed this notice
    John McCall (rjmccall@hachyderm.io)'s status on Thursday, 07-Sep-2023 05:32:37 JST John McCall John McCall
    in reply to
    • Steve Canon

    @steve Hey, I know that guy.

    He got pretty flustered after all the tech failures, really unprofessional

    In conversation Thursday, 07-Sep-2023 05:32:37 JST from hachyderm.io permalink
  9. Embed this notice
    John McCall (rjmccall@hachyderm.io)'s status on Thursday, 01-Jun-2023 08:42:31 JST John McCall John McCall

    The revision of SE-0377 to make explicitly `borrowing` and `consuming` parameters require explicit copies has been accepted!
    https://forums.swift.org/t/accepted-se-0377-revision-make-borrowing-and-consuming-parameters-require-explicit-copying-with-the-copy-operator/65293

    In conversation Thursday, 01-Jun-2023 08:42:31 JST from hachyderm.io permalink

    Attachments

    1. Domain not in remote thumbnail source whitelist: global.discourse-cdn.com
      [Accepted] SE-0377 (revision): Make `borrowing` and `consuming` parameters require explicit copying with the `copy` operator
      Hello, Swift community. The review of the revision of SE-0377 ran from May 15th through the 29th. This review was narrowly focused on a specific revision of the proposal, discussed in the review thread linked above. Feedback on this revision was strongly positive. One question did arise during the review about the interaction with initializer parameters. Initializer parameters have long been special in the Swift ABI because they default to consuming, whereas other parameters default to borr...
  10. Embed this notice
    John McCall (rjmccall@hachyderm.io)'s status on Tuesday, 09-May-2023 23:37:00 JST John McCall John McCall

    I tried to say this at the panel tonight, but I muffed it; I’m sorry, it’s been a long day. #cppnow23

    In conversation Tuesday, 09-May-2023 23:37:00 JST from hachyderm.io permalink
  11. Embed this notice
    John McCall (rjmccall@hachyderm.io)'s status on Tuesday, 09-May-2023 23:36:59 JST John McCall John McCall
    in reply to

    Programmers are often not very good at understanding when their code is security-sensitive

    In conversation Tuesday, 09-May-2023 23:36:59 JST from hachyderm.io permalink
  • After

User actions

    John McCall

    John McCall

    Language designer and implementer at Apple: Swift, Objective-C, C++, C. Erstwhile editor of the Itanium C++ ABI. Focus on security mitigations and low-level language implementation.

    Tags
    • (None)

    Following 0

      Followers 0

        Groups 0

          Statistics

          User ID
          111515
          Member since
          7 Apr 2023
          Notices
          51
          Daily average
          0

          Feeds

          • 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.