Ladybird browser to start using Swift language this fall
1–10 of 205 posts
Re: Ladybird browser to start using Swift language this fall
#2Re: Ladybird browser to start using Swift language this fall
#3One thing I don't understand about Swift is why it uses a private fork of LLVM. Why can't they upstream whatever changes they need?
Same applies to all C and C++ compiler vendors, that have replaced their proprietary compilers (there are plenty more than just clang/gcc/msvc), with LLVM.
Such is the freedom of Apache/MIT/BSD style licenses.
Re: Ladybird browser to start using Swift language this fall
#4The browser story is not great for Rust as we can only point to Servo which isn't ready to be used as a daily driver for millions of users. But Arc Browser is written with a combination of Swift and C++ to run on macOS and Windows.
Other than iOS apps, perhaps Swift found another use-case in large C++ code bases thanks to the C++ interop story.
Re: Ladybird browser to start using Swift language this fall
#5I would have thought that Ladybird would be using a language that specifically guarantees memory safety which is Rust. But Swift is a very surprising choice but actually makes sense for a browser. The browser story is not great for Rust as we can only point to Servo which isn't ready to be used as a daily driver for millions of users. But Arc Browser is written with a combination of Swift and C++ to run on macOS and…
Re: Ladybird browser to start using Swift language this fall
#6One thing I don't understand about Swift is why it uses a private fork of LLVM. Why can't they upstream whatever changes they need?
Re: Ladybird browser to start using Swift language this fall
#7Andreas Kling @awesomekling · 44m
My general thoughts on Rust:
- Excellent for short-lived programs that transform input A to output B
- Clunky for long-lived programs that maintain large complex object graphs
- Really impressive ecosystem
- Toxic community
==============================
Re: Ladybird browser to start using Swift language this fall
#8One thing I don't understand about Swift is why it uses a private fork of LLVM. Why can't they upstream whatever changes they need?
Re: Ladybird browser to start using Swift language this fall
#9I would have thought that Ladybird would be using a language that specifically guarantees memory safety which is Rust. But Swift is a very surprising choice but actually makes sense for a browser. The browser story is not great for Rust as we can only point to Servo which isn't ready to be used as a daily driver for millions of users. But Arc Browser is written with a combination of Swift and C++ to run on macOS and…
Rust isnt the only compiled language that provides memory safety by default. Swift does as well.
Re: Ladybird browser to start using Swift language this fall
#10============================== Andreas Kling @awesomekling · 44m My general thoughts on Rust: - Excellent for short-lived programs that transform input A to output B - Clunky for long-lived programs that maintain large complex object graphs - Really impressive ecosystem - Toxic community ==============================