Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

[flagged]


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


Swift struggles so much when compiling even moderately sized codebases, I worry this choice will prove untenable in the long term.


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


I'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


I 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


[flagged]


One of which people?


The ones that never wrote a complex project in Rust but advocate that other do.


I actually hate Rust.

That was just a question based on curiosity. [ladybird's author does alot of Rust so I thought I would ask him]

In no way was I asking for the project to switch to it. I just wanted to know if it would help with the technicality.


A Rust evangelist!

Why aren't you written in Haskell?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: