Бляди тоже ок, ага. Войти !bnw Сегодня Клубы
Привет, TbI — HRWKA! 1245.0 пользователей не могут ошибаться!
?6964
прекрасное6456
говно5915
говнорашка5512
хуита4733
anime3075
linux2661
music2640
bnw2607
рашка2582
log2372
ололо2232
дунч1868
pic1816
сталирасты1493
быдло1440
украина1438
bnw_ppl1433
дыбр1238
гімно1158

#LICDN4 (1) / @o01eg / 3686 дней назад
http://rust.unhandledexpression.com/syslog/struct.Logger.html Зачем ему String? Почему не хватает &str?
#C5570H (1+1) / @plhk / 3691 день назад
Option и Result без do-нотации - деньги на ветер писать .and_then() каждый раз слишком ебово руки тянутся к unwrap() тому кто придумал название expect() вообще руки оторвать надо
#8V651K (1+3) / @plhk / 3691 день назад
Ждём ебилдов: http://blog.rust-lang.org/2015/08/06/Rust-1.2.html "What’s in 1.2 stable As we previously announced, Rust 1.2 comes with two major performance improvements for the compiler: An across-the-board improvement to real-world compiler performance. Representative crates include hyper (compiles 1.16x faster), html5ever (1.62x faster), regex (1.32x faster) and rust-encoding (1.35x faster). You can explore some of this performance data at Nick Cameron’s preliminary tracking site, using dates 2015-05-15 to 2015-06-25. Parallel codegen is now working, and produces a 33% speedup when bootstrapping on a 4 core machine. Parallel codegen is particularly useful for debug builds, since it prevents some optimizations; but it can also be used with optimizations as an effective -O1 flag. It can be activated by passing -C codegen-units=N to rustc, where N is the desired number of threads. Cargo’s performance has also improved dramatically: Builds that do not require any recompilation (“no-op builds”) for large projects are much faster: for Servo, build time went from 5 seconds to 0.5 seconds. Cargo now supports shared target directories that cache dependencies across multiple packages, which results in significant build-time reduction for complex projects. The 1.2 release also introduces support for the MSVC (Microsoft Visual C) toolchain, as opposed to GNU variants. The upshot is that Rust code is now directly linkable against code built using the native Windows toolchain. The compiler bootstraps on MSVC, we have preliminary nightlies, and we are testing all rust-lang crates against MSVC. Unwinding support is not yet available (the process aborts on panic), but work is underway to land it. On the language side, Rust 1.2 marks the completion of the dynamically-sized type (DST) work, allowing smart pointers like Rc to seamless apply to arrays and trait objects, so that Rc<[T]> is fully usable. This final enhancement applies to all smart pointers in the standard library. Support for external smart pointer types is available in nightlies, and will be stabilized soon."
#1FIYKL (2) / @o01eg / 3722 дня назад
Структурная обработка исключений -- вещь тормозная, известное дело. Занятно сделано в Rust. Примерно как принято в Эрланге -- не проматчилось -- до свидания. Хотя в Эрланге можно, пусть и не особо принято, ловить ошибки и структурно. Но уж если в Rust действительно есть опасения, что что-то внезапно долбанёт, то туши свет: http://stackoverflow.com/a/30824812/539470 Согласен, вероятность невелика, если программировать, как учат, но когда отлов, например, деления на ноль (которого может и не произойти) требует запуска отдельного потока -- вот это мощь. Тормозная плюсовая раскрутка стека не то что курит в сторонке, она вообще уже ушла %).
#XHE6UY (9+1) / @dluciv / 3726 дней назад
The 1st rule of Secret Rust Club is: you don't talk about Secret Rust Club. The 2nd rule of Secret Rust Club is: error: `1st rule` does not live long enough. error: aborting due to previous error
#9C807V (0+3) / @anonymous / 3728 дней назад
http://blog.maidsafe.net/2015/07/01/the-ants-are-coming/ "Soon after, heavily frustrated by the speed at which we were developing in C++, we started looking into ways to speed up development without a reduction in code quality, surely the holy grail of software development. After much research, David became increasingly convinced that a new systems-level language, Rust, had something to offer. In his spare time (between about 2 a.m. and 5 a.m.) he started transposing one of our most complex libraries, Self-Encryption (the component that seamlessly splits data into smaller chunks and encrypts them), over to Rust, which at that time wasn’t even in Beta yet. This was very successful and fast! David followed a similar process with MaidSafe’s Routing library. With another successful test complete our development team was split for a few weeks while the core team remained in C++ and another team started transposing the rest of the code. This was a risky and scary time. To split the dev team at a period when we were under significant pressure to produce a stable network seemed counterintuitive. But thankfully, going backwards to move forward paid off, and without this change there is no doubt in our minds that we would not be where we are today. It is not the intention to go into detail here about how and whether Rust is better than C++. For debates on that subject you can check out some of the threads on the forum and elsewhere. I think that is a debate as contentious as GPL vs MIT, or even Borg vs MacEnroe, fun to debate but don’t expect consensus any time soon. All I can say is that it’s working for us and allows us to iterate quickly, be more defined with our tasks and be more definitive with our timescales."
#0TN0OX (2) / @o01eg / 3729 дней назад
Go feels like a bunch of older C programmers listing their issues with writing concurrent C code. Rust feels like a bunch of Haskell programmers listing their issues with C++.
#5IVU4J (5+2) / @plhk / 3758 дней назад
А маскотом rust будет https://simpsonswiki.com/w/images/f/fe/Rusty.png ?
#NIDZLF (2) / @o01eg / 3758 дней назад
http://publications.lib.chalmers.se/records/fulltext/219016/219016.pdf "Parallelization in Rust with fork-join and friends Creating the ForkJoin framework Master’s thesis in Computer Science and Engineering"
#DZM24J (0) / @o01eg / 3759 дней назад
Или у одного меня git2-rs не собирается под msys2, или винда была признана устаревшей и неактуальной платформой.
#8Q9D3L (2) / @o01eg / 3763 дня назад
1.1.0 !
#K0GBM5 (4) / @o01eg / 3765 дней назад
--
ipv6 ready BnW для ведрофона BnW на Реформале Викивач Котятки

Цоперайт © 2010-2016 @stiletto.