TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Persistence, façades and Roslyn’s red-green trees

44 pointsby jasimover 3 years ago

4 comments

andrewingramover 3 years ago
This kind of tree is being used by Rome in their Rust rewrite (<a href="https:&#x2F;&#x2F;rome.tools&#x2F;blog&#x2F;2021&#x2F;09&#x2F;21&#x2F;rome-will-be-rewritten-in-rust" rel="nofollow">https:&#x2F;&#x2F;rome.tools&#x2F;blog&#x2F;2021&#x2F;09&#x2F;21&#x2F;rome-will-be-rewritten-in...</a>).
pseudorambleover 3 years ago
This is cool. I&#x27;ve never done a production grade tree like this, but implementing a toy immutable AVL tree you bump into the issue of rebuilding subtrees when modifying a node deep in the tree. According to Eric&#x27;s notes, it seems that the red tree internally can be mutated when it needs to be edited.
mormegilover 3 years ago
(2012)
评论 #29703937 未加载
tester34over 3 years ago
I had opportunity to use Roslyn&#x27;s SDK APIs to build some tools that operated on full source code or uncompilable code parts<p>and it really feels as if that was written with tooling in mind, really impressive.