|
|
Subscribe / Log in / New account

Swift concurrency

Swift concurrency

Posted Oct 1, 2024 14:57 UTC (Tue) by walex (guest, #69836)
In reply to: Swift concurrency by geofft
Parent article: Swift 6 released

"Swift is an underrated choice for a compiled / systems programming language on Linux and other non-Apple platforms. It was fairly explicitly designed as a language that works with existing libraries/frameworks that expose C (or Objective-C) ABIs, but is significantly safer to write, but also has a tractable learning curve for the average busy programmer trying to get something shipped."

When it was introduced I was critical, but all that is true for Ada too, which has a very mature ecosystem, and in retrospect it is a tragedy that it was never used outside a few sectors. Rust and Go and Swift etc. are interesting, but if there had been a substantial switch to Ada instead of C++ so many current programming issues would simply not happen. Surely there were other languages of which many of the same things could be said, but Ada had the advantage of having a solid core user and developer base over most of them.

Actually it is not too late to start using Ada, which is a lot more familiar to average programmers than Rust. BTW I think that most Rust sources I have seen and written by Rust experts are written in a too-clever non-Rusty but Java-ish style, which is sad.


to post comments

Swift concurrency

Posted Oct 1, 2024 21:07 UTC (Tue) by Cyberax (✭ supporter ✭, #52523) [Link]

> Actually it is not too late to start using Ada, which is a lot more familiar to average programmers than Rust.

Ada doesn't provide any safety worth talking about outside of specific areas. They only recently started working on truly complicated issues of dynamic memory management, by copying Rust's approach with a borrow checker.


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds