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
    Alex Bradbury (asb@fosstodon.org)'s status on Friday, 03-Nov-2023 00:10:13 JST Alex Bradbury Alex Bradbury

    TIL: Swift has a vision for targeting embedded platforms https://forums.swift.org/t/accepted-a-vision-for-embedded-swift/68067

    It's not mentioned at all in the doc, but work in this area would make a _huge_ difference for the viability of Swift targeting Wasm.

    In conversation Friday, 03-Nov-2023 00:10:13 JST from fosstodon.org permalink

    Attachments


    • Embed this notice
      Paul Cantrell (inthehands@hachyderm.io)'s status on Friday, 03-Nov-2023 00:10:10 JST Paul Cantrell Paul Cantrell
      in reply to

      @asb
      Interesting. I assume it’s the “allocating” variety of embedded Swift you’re thinking of, ie classes still supported and there’s still a heap?

      Is it the sheer download size of the type metadata necessary for erasure, existentials, etc that’s the barrier with current Swift?

      In conversation Friday, 03-Nov-2023 00:10:10 JST permalink
    • Embed this notice
      Paul Cantrell (inthehands@hachyderm.io)'s status on Friday, 03-Nov-2023 02:16:31 JST Paul Cantrell Paul Cantrell
      in reply to

      @asb
      Got it. I’m wondering whether binary size is the main thing you were thinking of, or is there other stuff too?

      In conversation Friday, 03-Nov-2023 02:16:31 JST permalink
    • Embed this notice
      Alex Bradbury (asb@fosstodon.org)'s status on Friday, 03-Nov-2023 02:16:32 JST Alex Bradbury Alex Bradbury
      in reply to
      • Paul Cantrell

      @inthehands the doc notes that the Swift runtime and stdlib is 5MB right now - so the work mentioned to produce smaller more minimal binaries would help a lot. You're right that avoiding heap allocation doesn't seem at all necessary in the wasm context.

      In conversation Friday, 03-Nov-2023 02:16:32 JST permalink
    • Embed this notice
      Paul Cantrell (inthehands@hachyderm.io)'s status on Friday, 03-Nov-2023 02:54:44 JST Paul Cantrell Paul Cantrell
      in reply to

      @asb
      Thanks! Wondering about size-reducing measures that would preserve existentials, although probably doesn’t go anywhere. Will post in the forum.

      In conversation Friday, 03-Nov-2023 02:54:44 JST permalink
    • Embed this notice
      Alex Bradbury (asb@fosstodon.org)'s status on Friday, 03-Nov-2023 02:54:45 JST Alex Bradbury Alex Bradbury
      in reply to
      • Paul Cantrell

      @inthehands yes primarily binary size

      In conversation Friday, 03-Nov-2023 02:54:45 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.