gon VS swift-corelibs-foundation

Compare gon vs swift-corelibs-foundation and see what are their differences.

gon

Sign, notarize, and package macOS CLI tools and applications written in any language. Available as both a CLI and a Go library. (by mitchellh)

swift-corelibs-foundation

The Foundation Project, providing core utilities, internationalization, and OS independence (by apple)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
gon swift-corelibs-foundation
6 17
1,454 5,189
- 0.8%
0.0 8.7
6 months ago 4 days ago
Go Swift
MIT License Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

gon

Posts with mentions or reviews of gon. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-01-13.
  • Sickcodes/Docker-OS X: Run macOS VM in a Docker
    3 projects | news.ycombinator.com | 13 Jan 2023
    It might be less effort to use something like this: https://gregoryszorc.com/blog/2021/04/14/pure-rust-implement...

    Might even be able to modify `gon` to use that instead of Apple's `codesign` and then you'll have notarization too: https://github.com/mitchellh/gon

  • A Completely Open-Source Implementation of Apple Code Signing and Notarization
    9 projects | news.ycombinator.com | 8 Aug 2022
    I’ve always used gon ( https://github.com/mitchellh/gon ) for this, which is open source golang, but I don’t think it supports mach-o embedding. I’ll have to try this tool out.
  • How do I bundle a Golang executable into a MacOS .app file?
    2 projects | /r/golang | 22 Jun 2022
    There is no need for some special solution to pack your .app, you need to create .app directories, copy your binary, create Info.plist with metadata about your binary, icon, etc. I did this for a couple of apps and it is simple. It is another thing if you want to sign and notarize the binary, there are other tools for that, like https://github.com/mitchellh/gon.
  • Signing app for MacOS is like alien cryptographic language
    2 projects | /r/electronjs | 11 Jan 2022
    I use gon to sign and notarize a DMG file. Once you set it up, it's a simple one-line command that will upload the DMG to Apple, await notarization, and give you back a DMG that's ready for distribution.
  • The Gates to Hell: Apples Notarizing
    6 projects | news.ycombinator.com | 30 Apr 2021
    My advice from years of notarizing my apps is to make sure you do it at least once per day for each of your apps. If you only notarize once every release (say, every month or so), you are almost guaranteed to encounter some new cryptic error that you've never seen before, either due to some glitch in signing your app or frameworks, or else some server-side error such as new terms & conditions that you are being "encouraged" to agree to. It will take you hours to research and resolve them if they aren't spotted right away.

    As others pointed out, https://github.com/mitchellh/gon is a great tool for doing this on your local machine (e.g., with a cron job). In addition, if you are building your app using a GitHub action (which I highly recommend if it is open-source), you can use my https://github.com/hubomatic/hubomat action to package and notarize a release in one shot. The sample/template app does this automatically on every commit as well as once per day: https://github.com/hubomatic/MicroVector/actions.

    So when this fails from a scheduled job, you at least know that something has changed on the Apple side and can investigate that right away. And if it fails as a result of a commit, then at least you can start looking at what changes you may have made to your entitlements or code signing settings or embedded frameworks or any of the other million things that can cause it to fail.

swift-corelibs-foundation

Posts with mentions or reviews of swift-corelibs-foundation. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-06-07.
  • Mixing Swift and C++
    1 project | news.ycombinator.com | 23 Jul 2023
    a : https://github.com/apple/swift-corelibs-foundation/blob/main...

    I wouldn't want to be the guy relying on this table advancement for this project. The fact that they're rewriting it in pure swift probably says a lot about the quality of the current approach.

    b: makes absolutely no difference from a developer perspective. if you want to run threads in swift you're going to use gcd.

    c: my take with all apple software tech has been to wait until they've dogfooded their own tech long enough to make it useable. Worked very well for me so far, thank you very much.

  • Roast my supposedly impressive iOS developer resume
    5 projects | /r/iOSProgramming | 7 Jun 2023
  • Apple Announces Full Swift Rewrite of the Foundation Framework
    5 projects | news.ycombinator.com | 11 Jan 2023
    Correction: rewrite of PARTS of Foundation

    There already was an open-source project to rewrite ALL of foundation, but it had stalled on the shores of having to re-implement everything:

      https://github.com/apple/swift-corelibs-foundation
  • Apple's Swift rewrite of its Foundation framework will be open source
    4 projects | /r/programming | 14 Dec 2022
    The (shitty) old Linux implementation has been on GitHub for years.
  • There is no “software supply chain”
    3 projects | news.ycombinator.com | 19 Sep 2022
    Sigh... The traditional argument is that every dependency is of the same quality and trustworthiness of the language Standard Library.

    If I use the SL, then I should also have no problem using some lashed-up chimera that has a dependency hierarchy that spans three continents.

    Like I said, I'll do things my way.

    For the record, here's a peek at some of the "worthless" packages that I use in my own work: https://github.com/RiftValleySoftware

    Also, for the record, here's the Swift Foundation Library: https://github.com/apple/swift-corelibs-foundation

    It has plenty of open issues: https://github.com/apple/swift-corelibs-foundation/issues

    If every dependency chain can match these, yhen I'll be open to considering them.

    As it is, I do use the occasional external package, but I'm picky.

  • A Completely Open-Source Implementation of Apple Code Signing and Notarization
    9 projects | news.ycombinator.com | 8 Aug 2022
    CoreFoundation is (partially?) open-source and cross-platform now: https://github.com/apple/swift-corelibs-foundation
  • Show HN: Particles – the URL contains the whole program code
    3 projects | news.ycombinator.com | 26 Jun 2022
    Partly this is doable because although RFC 2616 specifies a max URL length of 2048 bytes, most browsers allow much longer, with Chrome and Firefox allowing at least 64k chars (that's what they'll display but it seems like more is happily processed), while Safari allows URL strings up to 2GB in size[1]!

    [1] https://github.com/apple/swift-corelibs-foundation/blob/b23d...

  • What is missing in the Swift ecosystem?
    2 projects | /r/swift | 6 Jun 2022
    Regarding your point #3, Swift does indeed have an open-source cross-platform implementation of Foundation. swift-corelibs-foundation
  • Is "import Foundation" always required in Swift code?
    3 projects | /r/swift | 26 Feb 2022
    Foundation is open source and (mostly) works on Linux. What else do you want to see “opened up?”
  • Apple’s use of Swift and SwiftUI in iOS 15
    7 projects | news.ycombinator.com | 19 Dec 2021
    Foundation is not the standard library of Swift. Swift has its own standard library that is bundled with the language on all platforms that are supported.

    And Foundation itself isn't written in Swift, a good portion is written in C.

    > A significant portion of the implementation of Foundation on Apple platforms is provided by another framework called CoreFoundation (a.k.a. CF). CF is written primarily in C and is very portable. Therefore we have chosen to use it for the internal implementation of Swift Foundation where possible. As CF is present on all platforms, we can use it to provide a common implementation everywhere.

    https://github.com/apple/swift-corelibs-foundation/blob/main...

What are some alternatives?

When comparing gon and swift-corelibs-foundation you can also consider the following projects:

gow - Missing watch mode for Go commands. Watch Go files and execute a command like "go run" or "go test"

JWM - Cross-platform window management and OS integration library for Java

httptoolkit-desktop - Electron wrapper to build and distribute HTTP Toolkit for the desktop

Unwrap - Learn Swift interactively on your iPhone.

xcnotary - the missing macOS app notarization helper, built with Rust

google-api-objectivec-client-for-rest - Google APIs Client Library for Objective-C for REST

corona - Solar2D Game Engine main repository (ex Corona SDK)

swift - The Swift Programming Language

realize - Realize is the #1 Golang Task Runner which enhance your workflow by automating the most common tasks and using the best performing Golang live reloading.

Introducing .NET Multi-platform App UI (MAUI) - .NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.

lemur - Repository for the Lemur Certificate Manager

Vapor - 💧 A server-side Swift HTTP web framework.