4 ms·
Linkage and FFI are described (to some degree, at least) in the FFI guide. http://doc.rust-lang.org/nightly/guide-ffi.html http://doc.rust-lang.org/nightly/guid
by dbaupp 12y ago
Linkage and FFI are described (to some degree, at least) in the FFI guide. http://doc.rust-lang.org/nightly/guide-ffi.html http://doc.rust-lang.org/nightly/guide-ffi.html
Do you prefer reading benchmarks over the textual documentation? (genuine question)
- acqq 12y agoYes I do prefer one good benchmark over ton of stale manuals. The good written benchmark code should show the best possible aspect of the language: how the code looks when it has to compete in speed too. If the code is demonstrably cleaner and almost as fast as C, then it can be a winner. If it's more than 2 times slower, I don't care, unless it has some fantastic libraries or framework which solves something much easier than other languages. Fast and looking nice when solving something like a real problem. Benchmarks can demonstrate that. Manuals and references typically not.
- dbaupp 12y ago> Fast and looking nice when solving something like a real problem. Benchmarks can demonstrate that. Manuals and references typically not. They certainly can. The actual "specification" documents probably not, but guides and tutorials (like Rust offers) can and (some of them) do.