pub ThisWeekInRust {} – Telegram
pub ThisWeekInRust {}
989 subscribers
2 photos
2.41K links
Handpicked Rust updates,
delivered to your telegram.

Contacts: @sergeysova
Reposted from: https://this-week-in-rust.org
Source code: https://github.com/sergeysova/this_week_in_rust.rs
Another: @this_week_in_react
Download Telegram
It’s that time again! Time for us to take a look at how the Rust project is doing, and what we should plan for the future. The Rust Community Team is pleased to announce our 2018 State of Rust Survey! Whether or not you use Rust today, we want to know your opinions. Your responses will help the project understand its strengths and weaknesses and establish development priorities for the future.Completing this survey should take about 10 to 15 minutes and is anonymous unless you choose to give us your contact information. We will be accepting submissions until September 8th, and we will write up our findings a month or so afterwards to blog.rust-lang.org. You can see last year’s results here.This year, volunteers have also translated the survey into many languages! You can now take the survey in:EnglishSimplified ChineseTraditional ChineseFrenchGermanHindiItalianKoreanPolishPortugueseRussianSpanishSwedishVietnamese(If you speak multiple languages, please pick one)Please help us spread the word by sharing the survey link on your social network feeds, at meetups, around your office, and in other communities.If you have any questions, please see our frequently asked questions or email the Rust Community team at community-team@rust-lang.org.Finally, we wanted to thank everyone who helped develop, polish, and test the survey!

via The Rust Programming Language Blog https://ift.tt/2MsBOmR
Benchmarking gfx-portability versus MoltenVK and OpenGL with Dota2 on Mac

https://gfx-rs.github.io/2018/08/10/dota2-macos-performance.html
DX11 backend for gfx-rs - GSoC 2018 report

https://gfx-rs.github.io/2018/08/14/gsoc.html
Updates from core

the Great Generics Generalisation: HIR Followup
https://github.com/rust-lang/rust/pull/51880

implement Unsized Rvalues
https://github.com/rust-lang/rust/pull/51131

add bare-metal aarch64 target
https://github.com/rust-lang/rust/pull/53233

debug_assert to ensure that from_raw_parts is only used properly aligned
https://github.com/rust-lang/rust/pull/52972

do not suggest conversion method that is already there
https://github.com/rust-lang/rust/pull/53406

export WASM table by default
https://github.com/rust-lang/rust/pull/53237

fix usage of wasm_target_feature
https://github.com/rust-lang/rust/pull/53321

syntax: enforce attribute grammar in the parser
https://github.com/rust-lang/rust/pull/53293

move SmallVector and ThinVec out of libsyntax
https://github.com/rust-lang/rust/pull/53085

resolve: crates only exist in the type namespace
https://github.com/rust-lang/rust/pull/53335

#[feature(uniform_paths)]: allow use x::y; to resolve through self::x, not just ::x
https://github.com/rust-lang/rust/pull/52923

Self in type definitions (RFC #2300)
https://github.com/rust-lang/rust/pull/53324

rustc_codegen_llvm: restore the closure env alloca hack for LLVM 5
https://github.com/rust-lang/rust/pull/53239

make LLVM emit assembly comments with -Z asm-comments
https://github.com/rust-lang/rust/pull/53290

unions are not always trivially dropable
https://github.com/rust-lang/rust/pull/53288

cause cycle err on inf trait normalization
https://github.com/rust-lang/rust/pull/53316

NLL: optimize reassignment immutable state
https://github.com/rust-lang/rust/pull/53258

speed up NLL with HybridIdxSetBuf
https://github.com/rust-lang/rust/pull/53383

TokenStream::extend (awesome speedups!)
https://github.com/rust-lang/rust/pull/53304

don't accept non-string literals for the format string in writeln
https://github.com/rust-lang/rust/pull/53256

add the identity function as core::convert::identity (RFC #2306)
https://github.com/rust-lang/rust/pull/47562

don't panic on std::env::vars() when env is null
https://github.com/rust-lang/rust/pull/53208

use target_pointer_width for BACKTRACE_ELF_SIZE
https://github.com/rust-lang/rust/pull/53377

non-naive implementation of VecDeque.append
https://github.com/rust-lang/rust/pull/52553

stabilize use_extern_macros
https://github.com/rust-lang/rust/pull/50911
Crate of the week: wasm-bindgen-futures

This week's crate is wasm-bindgen-futures, a crate to make ECMAScript promises and Rust futures interoperate. Thanks to Vikrant for the suggestion!
Updates from core

Stablize Iterator::find_map
https://github.com/rust-lang/rust/pull/53385

Stabilise raw_identifiers feature
https://github.com/rust-lang/rust/pull/53236

Stabilize 'attr_literals' feature
https://github.com/rust-lang/rust/pull/53044

Exhaustive integer matching
https://github.com/rust-lang/rust/pull/50912

Unify E0243, E0244, E0087, E0088, E0089, and E0090 into E0107
https://github.com/rust-lang/rust/pull/53584

Change Rc::inc_{weak,strong} to better hint optimization to LLVM
https://github.com/rust-lang/rust/pull/53080

add #[panic_handler]; deprecate #[panic_implementation]
https://github.com/rust-lang/rust/pull/53619

wasm: remove --strip-debug argument to LLD
https://github.com/rust-lang/rust/pull/53434

resolve: overhaul #![feature(uniform_paths)] error reporting
https://github.com/rust-lang/rust/pull/53427

visit all attributes for feature collection
https://github.com/rust-lang/rust/pull/53397

{to,from}_{ne,le,be}_bytes for unsigned integer types
https://github.com/rust-lang/rust/pull/53358

fix error for unsized packed struct field
https://github.com/rust-lang/rust/pull/53342

various changes to rustc_on_unimplemented
https://github.com/rust-lang/rust/pull/53295

implement Iterator::size_hint for Elaborator
https://github.com/rust-lang/rust/pull/52858

Fix unsoundness for VecDeque
https://github.com/rust-lang/rust/pull/53571

Use optimized SmallVec implementation
https://github.com/rust-lang/rust/pull/53384

Feature gate where clauses on associated type impls
https://github.com/rust-lang/rust/pull/53235

resolve suggestions should use crate:: when enabled
https://github.com/rust-lang/rust/pull/51456

Allow panicking with string literal messages inside constants
https://github.com/rust-lang/rust/pull/52011

Implement try block expressions
https://github.com/rust-lang/rust/pull/52602

Stabilize a few secondary macro features
https://github.com/rust-lang/rust/pull/53459

Merge IdxSet and IdxSetBuf
https://github.com/rust-lang/rust/pull/53520

syntax: Optimize some literal parsing
https://github.com/rust-lang/rust/pull/53521

Buffer LLVM's object output stream
https://github.com/rust-lang/rust/pull/53524

Fix NLL ICEs
https://github.com/rust-lang/rust/pull/53580

Rename TyVariants and variants
https://github.com/rust-lang/rust/pull/53581

Use SmallVec for SmallCStr
https://github.com/rust-lang/rust/pull/53644