HackerTrans
TopNewTrendsCommentsPastAskShowJobs

continuations

no profile record

comments

continuations
·há 5 anos·discuss
> $430 billion and add 20,000 new jobs

So it takes $22 million investment to add just 1 job?

Something seems off.
continuations
·há 5 anos·discuss
I think it's even more amazing that Apple can get away with charging $1,300 in 2021 for a desktop with only 8GB RAM.

The desktop I built in 2013 had 32GB RAM and that entire thing cost me $500 or $600.
continuations
·há 5 anos·discuss
How does Google link the real life person who bought Voltaren at a store to the online account or fingerprint that browses the Internet?
continuations
·há 5 anos·discuss
> Quantum-Teleported Data Faster Than the Speed of Light

Isn't that a violation of the No-communication theorem?

https://en.wikipedia.org/wiki/No-communication_theorem
continuations
·há 5 anos·discuss
The truth is out there.
continuations
·há 5 anos·discuss
Say Tokio, the async runtime used in OP's article.
continuations
·há 5 anos·discuss
Then why is it that IO-heavy benchmarks such as the Techempower web benchmark are dominated by async frameworks? The fastest results there are all from async frameworks [1].

And among Rust frameworks the same pattern holds. The fastest Rust frameworks are async while a synchronous frmework such as Rocket is about 20x slower.

[1] https://www.techempower.com/benchmarks/#section=data-r20&hw=...

[2] https://www.techempower.com/benchmarks/#section=data-r20&hw=...
continuations
·há 5 anos·discuss
> A context switch takes around 0.2µs between async tasks, versus 1.7µs between kernel threads. But this advantage goes away if the context switch is due to I/O readiness: both converge to 1.7µs.

This is a big surprise.

If you look at the Techempower web benchmark [1], the performance of actix-web is about 20x higher than that of Rocket.

The common explanation is that actix-web is async and hence much faster than Rocket which relies on kernel context switching.

But if Rust async and kernel thread has the same switch time as shown by this benchmark, then why is actix-web so much faster than Rocket?

[1] https://www.techempower.com/benchmarks/#section=data-r20&hw=...
continuations
·há 5 anos·discuss
How does Rust async compare to Goroutine, Erlang threads, Javascript async, Java async in performance and memory usage? Is there any benchmarks for that?
continuations
·há 5 anos·discuss
Are there any dedicated server hosters that give you 100Gbps private networking among your servers?