Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
ponyc
Pony is an open-source, actor-model, capabilities-secure, high performance programming language
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
See: https://github.com/rust-lang/rfcs/issues/1215 See also: https://smallcultfollowing.com/babysteps/blog/2022/03/29/dyn-can-we-make-dyn-sized/
Well, one recent issue I came across recently is the lack of support for clusters. There are crates for parallelism on a local machine, but the crates wrapping MPI or coming up with a native solution are basically not maintained anymore. I've only found actix telepathy, which is not a complete solution tho, being an extension of Actix.
As others have mentioned here, inserting mutexen implicitly would probably lead to large numbers of difficult to debug deadlocks. I suspect that serious attempts to design this would result in something close to Pony Lang, but with Traits and Sum types. Heck, Pony is still pre-1.0, so it wouldn't be impossible to add those to Pony either.
If it's perfectly fine then it shouldn't be terribly difficult to write it in a way that the borrow checker is happy with. The problem is reformulating your problem such that it's easy to either annotate the lifetimes in that way or have the compiler infer them for you. And it's made more difficult if your libraries have incorrectly elided lifetimes.
Async trait methods: on roadmap; RFC 3185; expected to be delivered soonish
Regarding static init: https://crates.io/crates/inventory (https://github.com/dtolnay/inventory)
Keep an eye on the discussion on tracking issue #84277. That's where they track progress toward stabilizing the Try and FromResidual traits that back the ? operator.
Source: Building the only piece of Haskell software I use, tart.