News for hackers. Stuff that matters.
Re:Swift Static Linux SDK by w10-1 on Tuesday June 11, 2024 @05:59PM (#40652091)
This static SDK is just one example of Swift's new support for user-definable platforms, timed to amplify support for embedded and WASM.

Along with the move to a non-Apple GitHub organisation, it represents real progress in extending swift to other platforms.

It would be interesting to see if this is used for the AI OS that they are inviting researchers to validate for security purposes.

Re:Swift Static Linux SDK by janice1999 on Tuesday June 11, 2024 @06:45PM (#40652531)
Wow, I had no idea people were using Swift for Embedded: https://github.com/apple/swift-embedded-examples
Re:Swift Static Linux SDK by favorited on Tuesday June 11, 2024 @07:15PM (#40652755)
It's relatively new. Apple put out a WWDC session video about embedded Swift today: "Go small with Embedded Swift" <https://developer.apple.com/videos/play/wwdc2024/10197/>
Re:Swift Static Linux SDK by RantyDave on Wednesday June 12, 2024 @06:46PM (#40664028)
Swift on Zephyr! I wonder if you can attach a debugger to it? https://github.com/apple/swift-embedded-examples/tree/main/n...
Re:Swift Static Linux SDK by hugodan on Tuesday June 11, 2024 @06:04PM (#40652146)
Wasm? Care to provide source for that?
Re:Swift Static Linux SDK by mannuch on Wednesday June 12, 2024 @02:19PM (#40661207)
Re:Swift Static Linux SDK by walterbell on Wednesday June 12, 2024 @11:12PM (#40665554)
> It would be interesting to see if this is used for the AI OS that they are inviting researchers to validate for security purposes.

That would imply either:

1. Bare-metal Linux AI OS runs on Apple Silicon. Apple could contribute Apple Silicon firmware/hardware support to Asahi and mainline Linux.

2. Virtualized Linux AI OS runs on Apple Silicon Hypervisor. Apple could contribute mainline Linux guest support for Apple Hypervisor. They could also support Linux VMs on MacOS and iPadOS which run on Apple Hypervisor, for M2+ devices with hardware support for nested virtualization.

Re:Swift Static Linux SDK by cellularmitosis on Thursday June 13, 2024 @11:23AM (#40670803)
Speaking of Swift on other platforms, turbolent now has Swift running on PowerPC/Darwin via his wc2c project: https://forums.swift.org/t/retrocomputing-what-would-it-take...