Y
Hacker News
new
|
ask
|
show
|
jobs
by
ronsor
1904 days ago
Gecko is (mostly, at least) traditional C++.
Servo
is written in Rust.
1 comments
amelius
1903 days ago
Would Rust be the best choice of language, given all the back pointers (previous, parent)?
link
timw4mail
1903 days ago
Trees are not that bad in Rust, it's when you have a cyclical structure that Rust is really difficult.
link
amelius
1903 days ago
Yes, that's what I meant by "back pointers". In the article, every node has a parent pointer and a child pointer (or several). You can't have both of these pointers without introducing cycles.
link