Y
Hacker News
new
|
ask
|
show
|
jobs
by
carstenhag
1097 days ago
The person probably implied that Postgres should switch to another toolchain that guarantees more things at compile time, so probably Rust.
2 comments
blincoln
1097 days ago
If the existing code is old-school enough to use thousands of global variables in a thread-unsafe way, seems like changing it enough to compile as safe Rust code would push the "non-trivial" envelope pretty far.
link
bb88
1097 days ago
You can take a chunk of code and just rewrite it in Rust. You'll learn a lot quickly by this.
link
tylerhou
1097 days ago
The boundaries within database code are not clear. There are too many interlocking parts to take a nontrivial chunk and rewrite it Rust.
link
steve_adams_86
1097 days ago
It’s sort of like the inverse of the Matrix when Neo learns kung fu. You realize that you actually don’t know how to program :)
link