Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
fafhrd91
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
fafhrd91
6y ago
i am original author of pyo3. Yuri Selivanov (author of uvloop and edgedb) suggested pyo3 name.
2.
▲
by
fafhrd91
6y ago
name was chosen after `uranium trioxide`, pythonium trioxied - pyo3
3.
▲
by
fafhrd91
7y ago
You still need to initialize inner structures and buffers. Cache allows to avoid that.
4.
▲
TechEmpower Round 18
(techempower.com)
15 points
by
fafhrd91
7y ago
|
1 comments
5.
▲
by
fafhrd91
7y ago
This is 1.0 bench
6.
▲
by
fafhrd91
7y ago
https://www.techempower.com/benchmarks/#section=test&runid=5...
7.
▲
by
fafhrd91
8y ago
We use actix at azure iot
8.
▲
by
fafhrd91
8y ago
one thread in best case. But process may die. Depends on panic
9.
▲
by
fafhrd91
8y 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 a
10.
▲
by
fafhrd91
8y ago
From repo activity Shio seems dead. And here is for gotham https://gotham.rs/blog/2018/05/31/the-state-of-gotham.html
11.
▲
by
fafhrd91
8y 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 perspecti
12.
▲
by
fafhrd91
8y 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 develo
13.
▲
by
fafhrd91
8y ago
we use actix. but that is all i can share :)
14.
▲
by
fafhrd91
8y ago
recent TechEmpower benchmarks results Citrine: https://www.techempower.com/benchmarks/#section=test&runid=6... Azure: https://www.techempower.com/benchmarks/#section=test&runid=b...
15.
▲
Actix: a small, pragmatic, and fast Rust web framework
(actix.rs)
399 points
by
fafhrd91
8y ago
|
123 comments
16.
▲
A Small Rust API with Actix
(stevezeidner.com)
3 points
by
fafhrd91
8y ago
|
0 comments
17.
▲
by
fafhrd91
8y ago
I like how author writes! And previous post on web dev in rust is very good as well https://brandur.org/rust-web
18.
▲
by
fafhrd91
8y ago
a lot of has changed since 2015. scalable http/1, http2/, websockets libraries and frameworks are available. and with async/await async programming will be even simpler.
19.
▲
by
fafhrd91
8y ago
i'd say in most projects i worked, threads would be enough. but it is so boring :) new shiny async code is much more entertaining! on other hand we should talk about C100k or C1m problems.
20.
▲
by
fafhrd91
8y ago
i just added extractors system. it is not released yet, i am planing to release it later this week https://actix.github.io/actix-web/actix_web/struct.Route.htm...
21.
▲
by
fafhrd91
8y ago
Writing good docs is hard for sure! Especially for developers, you just want to write cool code :) but take into an account lifetime of the projects, compared to python all of them pretty young. For example I started actix-web just 5 months
22.
▲
by
fafhrd91
9y ago
I'd like to mention actix, it is an actor framework for Rust language. it is single process at the moment, but distributed version is in development. https://github.com/actix/actix/
23.
▲
by
fafhrd91
9y ago
Actix is number 7 in TechEmpower plaintext benchmark https://www.techempower.com/benchmarks/#section=data-r15&hw=...
24.
▲
by
fafhrd91
9y ago
Actix web is a small, pragmatic, extremely fast, web framework for Rust. * Supported HTTP/1.x and HTTP/2.0 protocols * Streaming and pipelining * Keep-alive and slow requests handling * Client/server WebSockets support * Tran
25.
▲
Show HN: Actix web 0.4 – simple and extremely fast web framework for Rust
(github.com)
35 points
by
fafhrd91
9y ago
|
2 comments
26.
▲
by
fafhrd91
9y ago
There is no guide for actix but I am planing to add one
27.
▲
by
fafhrd91
9y ago
you can always try rust in parallel with python code with libraries like pyo3
28.
▲
by
fafhrd91
9y ago
stable rust is only two years old. we just need some more time
29.
▲
by
fafhrd91
9y ago
you should check it again :) actix-web now has user guide https://actix.github.io/actix-web/guide/ here is irc bot (wip) https://github.com/DoumanAsh/roseline.rs
30.
▲
by
fafhrd91
9y ago
hyper is 6 and actix is 7 https://github.com/actix/actix-web Rust is represented well!
More ›