News for hackers. Stuff that matters.
Re:Comparing Rust and Java by jmspring on Sunday February 28, 2016 @10:33PM (#11193456)
> when I run into unexpected undefined behavior during run time I very much miss Rust and Java as neither would have happened in either.

You obviously haven't dealt runtime dependency injection/etc. in Java.

It happens regularly.

Re:Comparing Rust and Java by zurn on Monday February 29, 2016 @12:34AM (#11193762)
"Undefined behaviour" is a specific term of art in the context of C/C++ and is an euphemism for your whole program state potentially becoming corrupted. With crafted inputs your program can start executing attacker-supplied arbitrary code.
Re:Comparing Rust and Java by Negative1 on Monday February 29, 2016 @12:00AM (#11193673)
Can you give examples? Dependency Injection seems to be the trend going forward as far as good practices go (Play Framework for instance is migrating to pure Dependency Injection for routers/controllers).
Re:Comparing Rust and Java by w84t1me on Monday February 29, 2016 @12:59AM (#11193834)
It might be a reference to debugging Spring autowire.