Recent submissions

Comment · 5 years ago
i am original author of pyo3. Yuri Selivanov (author of uvloop and edgedb) suggested pyo3 name.
Comment · 5 years ago
name was chosen after `uranium trioxide`, pythonium trioxied - pyo3
Comment · 6 years ago
You still need to initialize inner structures and buffers. Cache allows to avoid that.
Comment · 7 years ago
This is 1.0 bench
Comment · 7 years ago
Comment · 8 years ago
We use actix at azure iot
Comment · 8 years ago
one thread in best case. But process may die. Depends on panic
Comment · 8 years ago
Actix provides actor abstraction over synchronous code and allows to communicate with it in async manner. TechEmpower benchmarks uses sync actors for db operations and http part is async. I am not sure how this help though, tokio-minihttp also uses threadpool for db operations, results are not that good
Comment · 8 years ago
Comment · 8 years ago
i think from ergonomics standpoint, actix is very close to rocket. of course rocket has some advantage, but actix compiles on stable and has zero codegen code. as soon as proc macro stabilizes both will be on par.

from performance perspective, actix is faster than rocket on any type of load.

Comment · 8 years ago
first, you need to define what is crash in rust means. panic or error. in general case you can not recover from panic. in case of error, type system prevents unhanded errors in actors. you can restart actor, but that is controlled by developer action.
Comment · 8 years ago
we use actix. but that is all i can share :)
Comment · 8 years ago

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton