3 ms·
As mentioned in the first line of the blog post (and linked) it was essentially a follow-up to another blog post, http://smallcultfollowing.com/babysteps/blog/2
by Twirrim 8y ago
As mentioned in the first line of the blog post (and linked) it was essentially a follow-up to another blog post, http://smallcultfollowing.com/babysteps/blog/2018/10/31/mir-based-borrowck-is-almost-here/ http://smallcultfollowing.com/babysteps/blog/2018/10/31/mir-... which describes the state of NLL, which also gives an example of bugs fixed by NLL and why it's desirable. This one was purely focussing on the performance side of things mentioned on that previous blog post.
- foldr 8y agoThat post briefly mentions bug fixes in the text, but doesn't actually give any examples.
- kibwen 8y agoHere's a runnable example of a bug that NLL fixes; remove the feature flag up top to observe the use-after-free: https://play.rust-lang.org/?gist=761478ea89b3cd1df50ee274cb7a909d&version=nightly https://play.rust-lang.org/?gist=761478ea89b3cd1df50ee274cb7...