Post 9lvQvuTClh4pXS0VsG by espectalll@mstdn.io
 (DIR) More posts by espectalll@mstdn.io
 (DIR) Post #9lvQjUX9NCiDchvn7Y by kaniini@pleroma.site
       2019-08-15T23:19:19.698241Z
       
       0 likes, 1 repeats
       
       i don't really see why people like rust so much.  rust is not a formally specified language and modern C++ can do all of the same memory safety stuff.
       
 (DIR) Post #9lvQnz7bad3VeH7pXU by ivesen@miniwa.moe
       2019-08-15T23:20:08.119546Z
       
       0 likes, 0 repeats
       
       @kaniini but c++ is spoopy
       
 (DIR) Post #9lvQpSwSCkngQKcDvk by roka@pl.smuglo.li
       2019-08-15T23:20:25.430905Z
       
       0 likes, 0 repeats
       
       @kaniini just use forth lol
       
 (DIR) Post #9lvQuKaagekrxyi1mS by espectalll@mstdn.io
       2019-08-15T23:21:17Z
       
       0 likes, 0 repeats
       
       @kaniini Rust is much more friendly and actually enforces memory safety
       
 (DIR) Post #9lvQvuTClh4pXS0VsG by espectalll@mstdn.io
       2019-08-15T23:21:34Z
       
       0 likes, 0 repeats
       
       @kaniini (even if not perfectly and even if the compiler is very nitpicky)
       
 (DIR) Post #9lvQxtHm8u1ERcbcdU by kaniini@pleroma.site
       2019-08-15T23:21:55.840027Z
       
       0 likes, 0 repeats
       
       @espectalll modern C++ compilers can also enforce memory safety if you ask them to.
       
 (DIR) Post #9lvQz31dPrtAwPbkTQ by licho@gnusocial.no
       2019-08-15T23:22:05+00:00
       
       0 likes, 0 repeats
       
       I think it's a particular demographic of impressionable people combined with sensationalist articles on security exploits.
       
 (DIR) Post #9lvR2cvcO0z7A2V4uu by espectalll@mstdn.io
       2019-08-15T23:22:47Z
       
       0 likes, 0 repeats
       
       @kaniini Defaults matter, though. And Rust is really good at providing them and making compromises.
       
 (DIR) Post #9lvR5wyEKJTYBnJ4aW by kaniini@pleroma.site
       2019-08-15T23:23:22.764663Z
       
       0 likes, 0 repeats
       
       @espectalll modern C++ provides good defaults wrt memory safety, too.
       
 (DIR) Post #9lvRInOJFnJ2FBd8ka by slice@chitter.xyz
       2019-08-15T23:24:43Z
       
       0 likes, 0 repeats
       
       @kaniini one reason for me to pick rust over modern c++ is that the latter has some really hellish error messages when it comes to templates, whereas i find rust's error messages to be *very* human readable.
       
 (DIR) Post #9lvRInduJnmb1Yvb3w by kaniini@pleroma.site
       2019-08-15T23:25:30.921677Z
       
       0 likes, 0 repeats
       
       @slice gcc 9 has done a lot to improve this
       
 (DIR) Post #9lvRaZyDtGp3pguNiy by Mikoto@fedi.absturztau.be
       2019-08-15T23:28:56.506576Z
       
       0 likes, 0 repeats
       
       @espectalll @kaniini> actually enforces memory safetyIt does not have dependent types so you end up with programs that can still crash due to trying to access an invalid memory location and with redundant safety check
       
 (DIR) Post #9lvRdRlypCnHHGY7M0 by espectalll@mstdn.io
       2019-08-15T23:29:25Z
       
       0 likes, 0 repeats
       
       @Mikoto > even if not perfectly
       
 (DIR) Post #9lvRdrydOmMgY2fagi by kaniini@pleroma.site
       2019-08-15T23:29:31.138112Z
       
       0 likes, 0 repeats
       
       @Mikoto @espectalll indeed, modern C++'s type calculus approach to memory safety is superior to that of rust, honestly.
       
 (DIR) Post #9lvRxe6Ugl7TJRmB9M by a_breakin_glass@cybre.space
       2019-08-15T23:32:44Z
       
       0 likes, 0 repeats
       
       @kaniini it's slightly less of a pain in the ass
       
 (DIR) Post #9lvRxeRPQzqkMJYska by kaniini@pleroma.site
       2019-08-15T23:33:01.555901Z
       
       0 likes, 0 repeats
       
       @a_breakin_glass yes, slightly less painful on C++ ;)
       
 (DIR) Post #9lvRyxuyVOd13T18a0 by espectalll@mstdn.io
       2019-08-15T23:33:19Z
       
       0 likes, 0 repeats
       
       @kaniini Not in my experience, but I guess it is limited as wellbtw, here's an opinion from some random guy I just looked up, and apparently he really likes static analysis https://alexgaynor.net/2019/apr/21/modern-c++-wont-save-us/
       
 (DIR) Post #9lvSNi9YFvlROtdRGy by espectalll@mstdn.io
       2019-08-15T23:37:48Z
       
       0 likes, 0 repeats
       
       @kaniini (update: ok, I'll admit what I said on "he really likes static analysis" is stupid)
       
 (DIR) Post #9lw7CFT8etVVNERwVk by maximilia@spacekittens.ru
       2019-08-16T07:15:08.446384Z
       
       0 likes, 0 repeats
       
       @kaniini oh my favorite thing about rust is the dependency system, where you put one dependency in your toml and then it starts downloading 400+ things
       
 (DIR) Post #9lw8skquSxEKpAOuZc by maximilia@spacekittens.ru
       2019-08-16T07:34:00.605376Z
       
       0 likes, 0 repeats
       
       @dtluna @kaniini it gets very annoying when some of those dependencies won't install right, then you switch to the next one and it does that again. technically speaking you're completely right, but i personally always got frustrated with rust before i even started getting into the project...