Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
×
Programming Open Source

Swift System is Now Open Source and Supports Linux (swift.org) 21

Michael Ilseman, an engineer on the Swift Standard Library team at Apple, writes: In June, Apple introduced Swift System, a new library for Apple platforms that provides idiomatic interfaces to system calls and low-level currency types. Today, I'm excited to announce that we're open-sourcing System and adding Linux support! Our vision is for System to eventually act as the single home for low-level system interfaces for all supported Swift platforms.
This discussion has been archived. No new comments can be posted.

Swift System is Now Open Source and Supports Linux

Comments Filter:
  • Idiomatic interface? (Score:4, Interesting)

    by JoeyRox ( 2711699 ) on Friday September 25, 2020 @03:28PM (#60544186)
    When did programmers become obsessed with using ridiculous verbal complications to describe simple concepts? System is a library. Nobody every called cout an idiomatic C++ interface to the console.

    Reminds me of the Oswald Bates skits from In Living Color: https://www.youtube.com/watch?v=71xxvp5R9hE [youtube.com]
    • by X2b5Ysb8 ( 6847406 ) on Friday September 25, 2020 @03:47PM (#60544222)
      It’s idiomatic in the sense that it uses all the Swift language features and idioms instead of just being a wrapper around C functions.
      • That's understood. And it's no different than built-in libraries available in any other language. Most people just call them "libraries" or "modules". The fact they use language-specific constructs is implied by the fact they're accessible from that language, ie the entire syntax of a language is idiomatic to that language.
        • And it's no different than built-in libraries available in any other language.

          Except this is not “built in”.

          Most people just call them "libraries" or "modules".

          From the project page. First sentence.

          In June, Apple introduced Swift System, a new library for Apple platforms that provides idiomatic interfaces to system calls and low-level currency types.

          . You do understand you can build a non idiomatic library in swift, ie does use proper naming conventions, doesn’t use the build in error checking, etc...

          • It also doesn't work. From the article:

            "System is only in its infancy—it currently includes a small number of system calls.... There’s a ton of exciting work left to do. System (especially the forthcoming Windows support!) is a fantastic opportunity to get involved"

            So go help them out and do work for free.

            • So go help them out and do work for free.

              The reason you are doing any work on an open source project is not to do work "for free", but instead doing work where the payment for you, is the final result from a number of contributors also doing work where the combination benefits you all.

              And the best part is, like all the best kinds of payments it yields dividends far into the future.

              You seem to be awfully down on work that yields superior results for you personally vs. work that merely gives you money for pay

              • I have no problem with open source, and I've contributed to it.

                I am particularly mocking a well-funded foundation who releases a barely working starter project and then asks open source developers to come build it for them. Apple used to have good engineers, but they've mostly retired.
                • I am particularly mocking a well-funded foundation who releases a barely working starter project and then asks open source developers to come build it for them.

                  Apple is not asking you do do anything. But they don’t care if it works on Linux or windows. Now you might and the hallowing you to add those contributions because it doesn’t contribute anything to Apple.

                  • I want you to read carefully again. They are in fact asking developers to come help them. I quoted the part from the article where they asked that.
                    • They are in fact asking developers to come help them.

                      I want to read my post MORE carefully, apparently what I said flew right past you as what you said here is utterly irrelevant to my point.

                    • I want to read my post MORE carefully,

                      Then please do, I encourage that act.

            • So go help them out and do work for free.

              Or don’t. That’s the beauty of open source, you can contribute as much or as little as you want yet still reap the rewards.

    • Marketing is used by everyone for all things. Sometimes for money, sometimes for power, and sometimes just for ego.

  • by phantomfive ( 622387 ) on Friday September 25, 2020 @08:01PM (#60544614) Journal
    What on earth is a "low level currency type?"

Remember: Silly is a state of Mind, Stupid is a way of Life. -- Dave Butler

Working...