3 ms·
unsafe fn main() { ... }
by vdfs 3y ago
unsafe fn main() {
...
}
- eatonphil 3y agoNot that I see? https://github.com/sabledb-io/sabledb/blob/main/sabledb/src/main.rs https://github.com/sabledb-io/sabledb/blob/main/sabledb/src/...
- topbanana 3y agoRocksDB is written in C++ and runs in-process. That's just like having a load of unsafe Rust code.
- deleted 3y ago[deleted]
- SableDb 3y agoSo does OpenSSL, Bytes crates, WinAPI and many many other crates used by many Rust applications. Does this make applications written in Rust less "Rusties"? IMO, the networking, threading and "tasks" ("green threads") in SableDb code base are the most risky part of writing a server and by choosing Rust, the risk of memory issues is reduced to minimum without scarifying performance