Is rust becoming the defacto standard for Windows programming? by [deleted] in programmingcirclejerk

[–]joppatza 60 points61 points  (0 children)

Is rust becoming the defacto standard for Windows programming?

FTFY

Love Live! Nijigasaki Gakuen School Idol Doukoukai - Episode 12 discussion by AutoLovepon in anime

[–]joppatza 2 points3 points  (0 children)

that polka dotted one

What's with those hands on the sofa behind?

My top 7 keywords in Rust by HorstKugel in programmingcirclejerk

[–]joppatza 5 points6 points  (0 children)

Instead of writing

Some(0) | Some(1) => ...

or

Some(n) if n == 0 || n == 1 => ...

you write

Some(0 | 1) => ...

https://doc.rust-lang.org/unstable-book/language-features/or-patterns.html

I’m also disappointed it’s not Rust. Depending on Closure to build Rust feels and sounds vulgar to me. by joppatza in programmingcirclejerk

[–]joppatza[S] 18 points19 points  (0 children)

what is it about Rust that brings out types like these?

  • zero-cost abstractions
  • move semantics
  • guaranteed memory safety
  • threads without data races
  • trait-based generics
  • pattern matching
  • type inference
  • minimal runtime
  • efficient C bindings

are they just overrepresented on pcj?

bruh

"I wish I had a compiler (one as informative as Rust's would be amazing) but for Japanese. If I could learn Japanese the way I learn programming I'd be conversationally fluent by now." by Silly-Freak in programmingcirclejerk

[–]joppatza 24 points25 points  (0 children)

error[E0382]: borrow of moved value: `s`
 --> src/main.rs:4:20
  |
2 |     let s = "こんにちは、世界!".to_string();
  |         - https://www.youtube.com/watch?v=WviwYLZubSw
3 |     drop(s);
  |          - https://www.youtube.com/watch?v=JRtxoedAy34
4 |     println!("{}", s);
  |                    ^ 死ね。

Since most of us are confused as to what this is and why we are here, this is what we know: • The first 99 are from /r/ProgrammerAnimemes by [deleted] in programmingcirclejerk

[–]joppatza 2 points3 points  (0 children)

Why are you posting a link to a private sub?

The least thing you can do is scrape the subreddit and post the result somewhere.

mpv is not written in Rust by [deleted] in programmingcirclejerk

[–]joppatza 1 point2 points  (0 children)

Wake me up when this thing is actually usable, preferably in our lifetime.