4 ms·
This is an FAQ “ Ladybird started as a component of the SerenityOS hobby project, which only allows C++. The choice of language was not so much a technical dec
by seanhunter 2y ago
This is an FAQ
“ Ladybird started as a component of the SerenityOS hobby project, which only allows C++. The choice of language was not so much a technical decision, but more one of personal convenience. Andreas was most comfortable with C++ when creating SerenityOS, and now we have almost half a million lines of modern C++ to maintain.
However, now that Ladybird has forked and become its own independent project, all constraints previously imposed by SerenityOS are no longer in effect.
We have evaluated a number of alternatives, and will begin incremental adoption of Swift as a successor language, once Swift version 6 is released.”
https://ladybird.org/#faq https://ladybird.org/#faq
- airstrike 2y agoSwift struggles so much when compiling even moderately sized codebases, I worry this choice will prove untenable in the long term.
- no_wizard 2y agoSwift or XCode? I've experienced very fast Swift compilations, but when compiling an app - which will invoke additional tooling with XCode - is the slowest part. In my experience anyway. I am genuinely curious!
- tough 2y agoI agree with this, i've been avoiding xcode as much as possible for my little swift projects, but now I do wonder if that still stands for large codebases, I guess you could try and find some big codebases on swift on gh and see how much it takes to compile
- airstrike 2y agoI've only used it within XCode so can't say which is to blame, but I did frequently get the message "The compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions" which seems to be a problem with the language/compiler/type system, not XCode per se