Recent submissions

Comment · 1 year ago
> but for multi-threaded code Rust uses smart pointers like C++

That's not the whole story. There's also Send and Sync marker traits, move by default semantic also makes RAII constructs like Mutex<T> less error prone to use.

Comment · 1 year ago
`std::optional<T>`'s style is more akin to using

  if x.is_some() {
    let x_value = unsafe { x.unwrap_unchecked() };
  }
everywhere.
Comment · 3 years ago
Book-films!
Comment · 3 years ago
When can we have anything effective against tinnitus...
Comment · 3 years ago
No.
Comment · 3 years ago
Do you find any notable downsides to using Brave? I was with Kagi until they introduced limit to the 10$/month paid tier.
Comment · 3 years ago
> - Google has a number of "sponsored" results at the top of search results, which look identical to the actual search results, other than having a "sponsored".

That was the reason I switched away from Google. Here when I search "apache cassandra" the first result is something something free trial.

edit: I just tried with Bing it gave something similar, oh well.

Comment · 3 years ago
> a hilariously negative caricature of a hypothetical experience using it.

That's what Apple has shown, no?

Comment · 3 years ago
CoreGraphics often emphasizes it's ability to draw PDF, I guess that has to do with the Display PostScript lineage as well.
Comment · 3 years ago
What would be the particular difficulty with intrusive linked lists?
Comment · 3 years ago
It's the same in Haskell, Erlang and Elixir.
Comment · 3 years ago
Bing also doesn't do "site:" queries properly it seems.
Comment · 3 years ago
Erlang processes indeed do cooperative multitasking under the hood, something like yielding control to the scheduler roughly every 1000 function calls.
Comment · 3 years ago
Have they also banned TikTok?

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton