Tech News
← Home  ·  All topics

Embedded Swift

2 GoKawiil briefs on this topic

Swift-based minimal kernel runs on QEMU for first time

Max Desiatov confirmed that the @c attribute can replace @_cdecl for declaring C functions in Swift, streamlining the process. An experiment was conducted to create a basic Swift kernel that outputs a message via QEMU and then halts, serving as an initial exploration into running Swift without an underlying OS. The project utilizes Embedded Swift, a subset designed for bare-metal environments, but encountered limitations due to the lack of a standard library in the current compiler.

Swift 6.4 ships with unified builds, stable Subprocess API, and faster WebAssembly

Apple's Swift language team has released Swift 6.4, which makes Swift Build the default engine in Swift Package Manager so projects compile identically on Linux, macOS, and Windows. The update also finalizes the Subprocess API at version 1.0 for cross-platform process management, expands C++ and Java interoperability, and speeds up WebAssembly execution via JavaScriptKit by up to 40 times.