Ziggit

Carrying dependencies (opens in new tab)

As an example, I feel the thread-local which stored global “parsing state” in rustc was 30% of the reason why rust-analyzer needed to exist as a project. Things which should be independent, parallel&incremental, and which look like they are, actually aren’t, which affects the semantics of the language and constraints its evolution. If that dependency had been explicit, maybe we would have ended up with the same Rust, but there’s a reasonable chance that, with constant reminders that “hey, our...

Read the original article
Sign in to keep reading the full article.

Keyboard Shortcuts

Navigation

Next / previous post
j/k
Open post
oorEnter
Preview post
v

Post Actions

Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Save / unsave
s

Recommendations

Add interest / feed
Enter
Not interested
x

Go to

Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Discover
gb
Search
/

General

Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help