88 karma · joined Sep 28, 2018 (8y ago) · 30 submissions
comment 7y ago · link · parent
The compiler actually implicitly adds drop glue to all dropped variables!
comment 7y ago · link · parent
Do you think that, in order to avoid giving Vale some PR, it would be better to refuse the money? And presumably have trouble rebuilding the forest.
comment 7y ago · link · parent
Hey, can you answer those questions? Or point to the right answers. Thanks!
comment 7y ago · link · parent
Rust's advantage is that its borrow system, with reborrowing rules and such, feels much more ergonomic.
comment 7y ago · link · parent
comment 8y ago · link · parent
In America they spy on dissidents too. It's just a matter of calling them terrorists.
https://www.aclu.org/blog/national-security/privacy-and-surv...
comment 8y ago · link · parent
Rust doesn't have a formal memory model yet, but it's already known that UB in Rust is quite restricted:
https://doc.rust-lang.org/nomicon/what-unsafe-does.html
Most importantly, UB in Rust should only arise if you're writing unsafe code (barring compiler bugs). Typically, most Rust code is safe. This is a huge win.
comment 8y ago · link · parent
Perhaps if this DE is KDE. Gnome devs aren't interested in a configurable DE.
comment 8y ago · link · parent
But yeah, it involves quite a lot of backtracking, that happens when the resolution engine needs to go back and try something different. When this is a problem you can sometimes use the cut rule http://www.cse.unsw.edu.au/~billw/dictionaries/prolog/cut.ht...
comment 8y ago · link · parent
comment 8y ago · link · parent
(note that URLs can't be a secure handler, since it's just a string that anyone can create. But a URL plus a cryptographic signature could be)
comment 8y ago · link · parent
By the way, Rust devs are working on a mathematical formalization of those rules. Here's a blog post about a part of this effort: https://www.ralfj.de/blog/2018/07/24/pointers-and-bytes.html. (There are similar formalization efforts for subsets of C, that led to software like the CompCert verified compiler)