Recent submissions

Comment · 2 years ago
Comment · 3 years ago
FWIW, in the UK unemployment is also very low at the moment.
Comment · 4 years ago
I was under the impression that must of Rust's compile time comes down to LLVM
Comment · 4 years ago
Swift tooling is surprisingly bad especially when It's made by a trillion dollar company. Rust's free rust-analyzer extension provides much faster and much more feature filled IDE features than XCode.
Comment · 4 years ago
You can do this in Rust today, with the standard library's reference counter
Comment · 5 years ago
The lint is on by default in the latest version of the compiler
Comment · 5 years ago
Rust has a lint against this kind of attack + you can explicitly disable non-ASCII identifiers if you really want to
Comment · 5 years ago
Housing in your area might get vastly more expensive, but housing somewhere else might not see the same price increase. The CPI is for the entire country
Comment · 5 years ago
Because people like meat? I like meat. I don't like what happens to the animal though. I don't think it gets that much more complicated than that
Comment · 5 years ago
Last I checked, studies on the issue of social media and mental health are pretty mixed and inconclusive. But it is a popular belief regardless
Comment · 5 years ago
I was thinking of following the book but with Bevy. How do you replace bracket-lib?
Comment · 5 years ago
Bevy, while an ECS based library, can easily be used to program a game in a more traditional way (excuse my formatting):

struct Player { health: Health, }

  // ECS style
  fn update_player(query: Query<&mut Player>) {
    
  }

  // Traditional "OOP" style
  impl Component for Player {
        fn update() {
        
        }
   }
Comment · 5 years ago
Thanks for educating me. I am affected by recency bias
Comment · 5 years ago
Interesting perspective. FWIW a lot of modern languages now have put the types on the left for a good reason, it's a lot easier to parse. Plus for a reader, at least in Rust, wherever you see a `:` you know that a type is coming after. For the other stuff, I don't know, I got used to it pretty quickly. Not that much of a big deal in my opinion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton