Hacker Newsnew | past | comments | ask | show | jobs | submit | fafhrd91's commentslogin

name was chosen after `uranium trioxide`, pythonium trioxied - pyo3


If you're trying to figure out the origin of a Rust project's name, the safest bet is always to choose the one that's a reference to metal.


i am original author of pyo3. Yuri Selivanov (author of uvloop and edgedb) suggested pyo3 name.


Oh, I know, I wasn't trying to correct you or anything. I was just adding on to the correct answer to point out that PyO3's naming scheme is part of a popular trend in Rust libraries.


You still need to initialize inner structures and buffers. Cache allows to avoid that.


Thanks for the response.

So it sounds like it is not so much the allocation/de-allocation savings that matters, but rather that you get to skip initializing the memory because it is already known to be a valid instance of a given struct type?


Yes, that.

See also SLAB allocation, used in many OS kernels: https://en.wikipedia.org/wiki/Slab_allocation



That's on 0.7, right? How does the new architecture of 1.0 compare?


This is 1.0 bench


We use actix at azure iot


Ah, something that’s not in that repo? That’s awesome!


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


From repo activity Shio seems dead. And here is for gotham https://gotham.rs/blog/2018/05/31/the-state-of-gotham.html


Yeah, that Gotham news happened after I made this comment. Good to know!


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.


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.


A panic in an actor will take down the whole (rust) server?


one thread in best case. But process may die. Depends on panic


we use actix. but that is all i can share :)


Have you spoken with the Rust core team about Microsoft's use of actix? They love getting feedback from commercial users, and I believe they are willing to sign NDAs when necessary (there's certainly plenty of commercial users they seem to be unable to tell me about, and I ask often :P ). I'm happy to put you in touch with them if you'd like; see my email in my HN profile (and this invitation goes for anyone else out there using Rust in production capacities, of course!).


He's the author of actix


So MSFT uses Rust. :) That's actually quite a newsworthy thing, could be a lot more newsworthy if we knew the purpose it was used for was some mission critical component that also needs to be blazing fast.

Looking at Rust's strengths, and that MSFT has languages/compilers of it's own, the use case is prolly "mission critical component that also needs to be blazing fast". But for now we're guessing.


Oracle also uses it, and they changed the Java ONE conference to be Oracle Code ONE conference, including Go and Rust related talks.


This is very cool! I’d seen their open source work but not seen this.


I've learned to hold my cheering whenever I read Oracle and open source in close proximity.


I hear you. At the same time, the particular project they're doing is an implementation of an open standard, to provide an alternative and prevent monoculture, so seems good to me. I'm not involved in the container space, so I can't speak to the quality, but that's what it looks like from here.


Here is the announcement.

https://www.oracle.com/code-one/index.html

https://blogs.oracle.com/developers/javaone-event-expands-wi...

> Oracle Code One is the most inclusive developer conference on the planet. Join discussions on Java, Go, Rust, Python, JavaScript, SQL, R, and more.


MSFT used `ripgrep` for Visual Studio Code IIRC.


Yes but who are you?


https://github.com/actix/actix/graphs/contributors

fafhrd91 appears to be the primary author.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: