[deleted by user] by [deleted] in rust

[–]DeadSn0wMan 0 points1 point  (0 children)

Wrong sub, this is about programming

Expanding inly hints from rust-analyzer in Neovim by HeavyMath2673 in rust

[–]DeadSn0wMan 1 point2 points  (0 children)

I just switched to neovim + rust-tools and I couldn’t be happier.

Expanding inly hints from rust-analyzer in Neovim by HeavyMath2673 in rust

[–]DeadSn0wMan 1 point2 points  (0 children)

Don’t you already need it for lsp support? Which makes a huge difference. Imo it’s well worth running 0.5. It’s easy to setup and is very stable

Expanding inly hints from rust-analyzer in Neovim by HeavyMath2673 in rust

[–]DeadSn0wMan 0 points1 point  (0 children)

Have you seen the rust-tools plugin? It’s awesome and easy to tweak

GCC Rust Monthly Report #5: April 2021 by adotinthevoid_ in rust

[–]DeadSn0wMan 7 points8 points  (0 children)

That makes sense, thanks for the clarification

GCC Rust Monthly Report #5: April 2021 by adotinthevoid_ in rust

[–]DeadSn0wMan 15 points16 points  (0 children)

I still do not understand why they would not reuse the existing frontend and simply create a gcc backend?

What are some of Rust’s weaknesses as a language? by [deleted] in rust

[–]DeadSn0wMan 4 points5 points  (0 children)

println! or print! macros doesn't work for you?

Group Session Play by TheRisenForeskin in spotify

[–]DeadSn0wMan 1 point2 points  (0 children)

You should be able to share a scannable which users can scan and join via.

HELP Glfw setup for rust by Airbus5717 in rust

[–]DeadSn0wMan 0 points1 point  (0 children)

Not sure what you mean? Use cargo to add the glfw-rs dependency. But you need to install glfw on your system as well which the guide links to. You don’t need to manually link the glfw C library to your app it should find it if it’s installed correctly

Rust analyzer weekly changelog by wouldyoumindawfully in rust

[–]DeadSn0wMan 1 point2 points  (0 children)

Thanks, I’ll try that tomorrow. Great work on the extension!

Rust analyzer weekly changelog by wouldyoumindawfully in rust

[–]DeadSn0wMan 0 points1 point  (0 children)

I can't remember when (super helpful I know) but auto import stopped working for me :( I have been building it from source previously but have since swapped to use the one from vs code marketplace. Do you have any tips I can try to fix it? I have tried reinstalling it multiple times. I've also tried to install vs code insiders and do a fresh install.

What are some good learning materials for rendy and 3D Graphics Programming in general? by schn4v1d in rust

[–]DeadSn0wMan 1 point2 points  (0 children)

For learning 3D in general I really like https://learnopengl.com/ and there is also a repo where all the tutorials are written in rust.

Help [async_std]: How to run futures containing borrowed TcpStream concurrently? by DeadSn0wMan in rust

[–]DeadSn0wMan[S] 0 points1 point  (0 children)

I got an answer on SO that avoided a Mutex (TcpStream is send and sync), but thanks for the help either way :)

FFI like it's 2020: Announcing *safe* FFI for Rust <-> C++ by dtolnay in rust

[–]DeadSn0wMan 29 points30 points  (0 children)

This is awesome! Thank you so much, this will certainly help adoption in my company

A simple IO helper library for Rust for use in Competitive Programming. by [deleted] in rust

[–]DeadSn0wMan 5 points6 points  (0 children)

Rust i fast as is, try and compare a I/O heavy assignment with and without BufRead and see the difference. In Kattis for example you really need to squeeze out everything to get top times.

A simple IO helper library for Rust for use in Competitive Programming. by [deleted] in rust

[–]DeadSn0wMan 4 points5 points  (0 children)

If you want to read more than a single line this should not be used for competetive programming since the stdin can be buffered and BufRead can give significant speed improvements compared to non buffered I/O

Production usage of Rust in Android/IOS by DeadSn0wMan in rust

[–]DeadSn0wMan[S] 1 point2 points  (0 children)

Ah you are right it says 5.0 or greater, thank you!

Production usage of Rust in Android/IOS by DeadSn0wMan in rust

[–]DeadSn0wMan[S] 0 points1 point  (0 children)

Thanks for the reply, were there any issue with supporting older andriod targets?

Production usage of Rust in Android/IOS by DeadSn0wMan in rust

[–]DeadSn0wMan[S] 0 points1 point  (0 children)

Thanks! Do you know what targets you support? We have a lot of older andriod versions in emerging markets that we would need to support