We’re dedicated to sharing our work @browsercompany - so today we’re publishing our first post on building rich native experiences on Windows with Swift & open sourcing our swift-firebase repo
First up, interoperability! Windows APIs, COM, C++ and how they integrate with Swift🧵
Saleem Abdulrasool
700 posts
PL/Compiler Engineer, xplat Swift, & Swift Core Team Member @ @browsercompany (ex @GoogleAI, @facebook, @Microsoft)
Joined March 2009
- Bridging Swift to modern Windows: github.com/compnerd/Swift…. You can call into the Windows Runtime from Swift - and it looks like you would expect! #Windows10 #SwiftLang
- Why, yes, you can do hardware accelerated 3D graphics with Swift on Windows! A small proof-of-concept Direct3D demo application written entirely in Swift and HLSL. github.com/compnerd/DXSam…
- macOS, Linux, or Windows, may your packets flow freely! Announcing a swift-nio port for Windows! forums.swift.org/t/windows-nio/… #SwiftLang #networking
- It wasn't that long ago when Swift on Windows felt like a risk, but now our Windows app is in the hands of 80,000 + members, and our devs are able to write Swift as productively as ever! Today, we published a post going over the Swift ecosystem on Windows. Link below👇
- Reducing barriers to entry for Swift is important. Prebuilt docker images with complete toolchains, multiple SDKs, and pre-configured VSCode to help make it easier to get started at hub.docker.com/r/compnerd/swi… forums.swift.org/t/reducing-fri… #SwiftLang #Docker
- My technical talk from the 2019 @LLVM Developer Conference covering a few of the interesting technical challenges of porting Swift to Windows is up! youtu.be/Zjlxa1NIfJc #swift #windows
- Replying to @compnerdOver the next few weeks we’ll be releasing more posts on learnings that have allowed us to build Arc in Swift on Windows incl. - Our WinUI/RT bindings - How we do UI testing on Windows - and much more We’ll be sharing on speakinginswift.substack.com along the way - see you there!
- Replying to @compnerdWe’ve been working hard to stabilize Swift’s C++ interop on Windows! It hasn’t been easy but Swift’s seamless interoperability with C++ has allowed us to use dependencies like Firebase, Sentry, LaunchDarkly on non-Apple platforms Full learnings here: speakinginswift.substack.com/p/interoperabi…
- COM is the basis for so much Windows technology that it is bound to come up. github.com/compnerd/swift… demonstrates how to use COM from Swift and even how to implement a COM interface from Swift! #SwiftLang #Windows10
- Replying to @compnerdAlongside this, today, we're making swift-firebase public, a library that uses C++ Interop to access Firebase from Swift on non-Apple platforms! This is just the first of many as we bring more of our dependencies to Windows.
- Santa is running a bit ahead of schedule: swift-crypto now builds and passes all tests on Windows! @tomerdoron @Lukasaoz #SwiftLang #Windows
- The Swift core libraries have been moved to modern CMake with Swift support! Better builds for all, with support for cross-compilation and integration into existing projects. So glad that this work is done.






