The developers of the experimental browser ladybird announced About the intention to use the programming language swift as the main one for your project. The inclusion in the code on SWIFT is planned to start in the fall, after the release of the SWIFT 6 release (using the SWIFT 5 branch, the binding to the old version of the Clang interferes with the current LadyBird code base in C ++). Due to the possibility of combining code on C ++ and SWIFT, the implementation of SWIFT will be made gradually without rewriting the existing code.
The choice of SWIFT is due to a number of advantages, including safe methods of working with memory, protection from the conditions of the race, modern syntax and ergonomics. Of particular importance for the Ladybird team is the object-oriented nature of SWIFT, which allows you to more accurately simulate web specifications and the internal components of the browser. The developers also note the improved SWIFT support for non-Apple platforms and active work on compatibility with C ++, which opens the way to the gradual implementation of the language into the project. Despite the historical connections of SWIFT with Apple, the language is becoming more and more independent, as evidenced, for example, the transfer of it repository in a separate organization on Github.
Andreas Kling, the founder of the LadyBird project, shared his thoughts about Rust. According to the cling, although Rust has an impressive ecosystem, it is less convenient for developing long -live programs with large complex columns of objects. In addition, the cling described the Rust community as a “toxic”.
Recall that initially the LadyBird browser developed as part of the project for the development of the Serenityos operating system. In June 2024, Andreas Kling, who worked at one time at Nokia and was engaged in the development of Safari, decided to separate the browser project from the operating system project, and completely devote his time to its development. In July, the project received a donation of $ 1 million and began to form a non -profit organization Ladybird Browser Initiative.
The browser is written in C ++ and It spreads under the BSD license. The project develops its own engine libweb , javascript interpreter