←
Saleem Abdulrasool702 posts
S

Saleem Abdulrasool

@compnerd

PL/Compiler Engineer, xplat Swift, & Swift Core Team Member @ @browsercompany (ex @GoogleAI, @facebook, @Microsoft)

◷ Joined March 2009▧ 10 Photos and videos
Leo G Dion avatar
⟳ Saleem Abdulrasool retweeted
Leo G Dion@leogdion·Aug 24

Before Windows, @compnerd got Swift running on Android, did a PlayStation port, and laid early groundwork for embedded Swift. In the latest episode, he shares his journey of porting Swift to Windows one patch at a time. brightdigit.com/episodes/211…

1:41
Andreas Kling avatar
⟳ Saleem Abdulrasool retweeted
Andreas Kling@awesomekling·10 Aug 2024

We've been evaluating a number of C++ successor languages for @ladybirdbrowser, and the one best suited to our needs appears to be @SwiftLang 🪶 Over the last few months, I've asked a bunch of folks to pick some little part of our project and try rewriting it in the different languages we were evaluating. The feedback was very clear: everyone preferred Swift! Why do we like Swift? First off, Swift has both memory & data race safety (as of v6). It's also a modern language with solid ergonomics. Something that matters to us a lot is OO. Web specs & browser internals tend to be highly object-oriented, and life is easier when you can model specs closely in your code. Swift has first-class OO support, in many ways even nicer than C++. The Swift team is also investing heavily in C++ interop, which means there's a real path to incremental adoption, not just gigantic rewrites. Strong ties to Apple? Swift has historically been strongly tied to Apple and their platforms, but in the last year, there's been a push for "swiftlang" to become more independent. (It's now in a separate GitHub org, no longer in "apple", for example). Support for non-Apple platforms is also improving, as is the support for other, LSP-based development environments. What happens next? We aren't able to start using it just yet, as the current release of Swift ships with a version of Clang that's too old to grok our existing C++ codebase. But when Swift 6 comes out of beta this fall, we will begin using it! No language is perfect, and there are a lot of things here that we don't know yet. I'm not aware of anyone doing browser engine stuff in Swift before, so we'll probably end up with feedback for the Swift team as well. I'm super excited about this! We must steer Ladybird towards memory safety, and the first step is selecting a successor language that we can begin adopting very soon. 🤓🐞

Josh Miller avatar
⟳ Saleem Abdulrasool retweeted
Josh Miller@joshm·13 Mar 2024

🪟Arc for Windows Update🪟 🧪 ~100k beta testers onboarded 📈 ~1 million people on waitlist 📅 Opening to GA before Summer 🥇 1st major Windows app built in Swift Shoutout to @alexandracoding and the team!

Post attachment
Saleem Abdulrasool avatar
Saleem Abdulrasool@compnerd·7 Mar 2024

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👇

Post attachment
Arc avatar
⟳ Saleem Abdulrasool retweeted
Arc@arcinternet·5 Mar 2024

👯 Windows Buddy Day is back by popular demand! for today, mac and windows members can fast-track their buddies onto Arc for Windows Beta drop their emails in the form below and we'll do the rest 💌

Alfian Losari avatar
⟳ Saleem Abdulrasool retweeted
Alfian Losari@alfianlosari·14 Jan 2024

Experimenting with the @browsercompany swift-winrt language projection to create a Swift WinRT & WinUI 3 Windows News App! It’s so amazing, build native Windows UI using pure Swift and share business logic across platforms such as macOS, iOS, & Linux. #iosdev

1:00
Saleem Abdulrasool avatar
Saleem Abdulrasool@compnerd·20 Sep 2023

Over 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!

Saleem Abdulrasool avatar
Saleem Abdulrasool@compnerd·20 Sep 2023

Alongside 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. github.com/thebrowsercompany…

Saleem Abdulrasool avatar
Saleem Abdulrasool@compnerd·20 Sep 2023

We’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…

Post attachment
Saleem Abdulrasool avatar
Saleem Abdulrasool@compnerd·20 Sep 2023

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🧵

Post attachment