Live data from Hacker News

Rust 1.49.0

blog.rust-lang.org

101–110 of 117 posts

Re: Rust 1.49.0

#102
post #90

Earlier quoted context omitted.

in terms of cognitive load, yes

i have yet to understand that feeling

We don't code in a vacuum.

Reading third party code is part of the job so language features reach us regardless.

Re: Rust 1.49.0

#103

I really enjoy using Rust for personal side projects. It made me a better C++ developer. I'm excited about stabilized const generics to be able to speed up my linear algebra code. This issue though prevents me from recommending Rust for closed source development to my colleagues: https://github.com/rust-lang/rust/issues/40552

It is helpful to leave comments on issues like this, by the way.

Re: Rust 1.49.0

#104
post #96
post #87

Earlier quoted context omitted.

Maybe read a bit on Deref: https://doc.rust-lang.org/std/ops/trait.Deref.html Any time you have a &String reference, it triggers coercion to &str.

Unfortunately that is not always the case. This fails to compile, for example (and is fairly irritating): let my_str = "Hello".to_owned(); match &my_str { "Hello" => (), _ => () }

try &*my_str

Re: Rust 1.49.0

#109

I really enjoy using Rust for personal side projects. It made me a better C++ developer. I'm excited about stabilized const generics to be able to speed up my linear algebra code. This issue though prevents me from recommending Rust for closed source development to my colleagues: https://github.com/rust-lang/rust/issues/40552

It is helpful to leave comments on issues like this, by the way.

Done!

Re: Rust 1.49.0

#110
post #71
post #67

Any chance to see increased support for 8bit AVR in upcoming releases? I know Rust is community driven, so it's not like contributions will appear from thin air. But I guess maybe it would be time to promote/incentivize people to contribute support for microcontrollers. This is a realm where C reigns and Rust would be a bowl of fresh air.

32 bit microcontrollers are well-supported, and often cheaper, more power efficient and with more features than old 8-bit uCs. https://github.com/rust-embedded/wg

Maybe, but 8bit MCUs are simple, efficient, have a huge community & resources, and more importantly exist in convenient DIP & SOIC form factors.
Post reply on HN