These are chat archives for rust-lang/rust

3rd
Jan 2017
Swoorup Joshi
@Swoorup
Jan 03 2017 16:28 UTC
does anyone has experience between d and rust
Aleksey Kladov
@matklad
Jan 03 2017 16:51 UTC
@Swoorup I have written a tiny bit of D (https://github.com/matklad/draytracer) and a fair amount of Rust
Matanel Levi
@matanelevi
Jan 03 2017 19:16 UTC
@matklad whose better? :D
Aleksey Kladov
@matklad
Jan 03 2017 19:31 UTC
They are different. D excels at compile time meta programming and has a super fast compiler, but it does not have zero cost memory safety of Rust.
Matanel Levi
@matanelevi
Jan 03 2017 19:55 UTC
let result = panic::catch_unwind(|| {
        let a = 2 / 0;
 });
Why catch_unwind dont catch this?
I'm compiling with
[profile.dev]
panic = "unwind"