libco
libco is a coroutine library which is widely used in wechat back-end service. It has been running on tens of thousands of machines since 2013. (by Tencent)
bastion
Highly-available Distributed Fault-tolerant Runtime (by bastion-rs)
Our great sponsors
libco | bastion | |
---|---|---|
3 | 15 | |
8,079 | 2,759 | |
1.0% | 1.1% | |
0.0 | 0.0 | |
about 1 month ago | 12 months ago | |
C++ | Rust | |
GNU General Public License v3.0 or later | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
libco
Posts with mentions or reviews of libco.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-04-08.
- Show HN: Neco – Coroutine Library for C
-
Recently programming languages rust swift kotlin are all have too many tricks, make chinese developers feel uncomfortable and naive .
Also I found another project libco: https://github.com/Tencent/libco which is created by the China internet company tecent, the mother company of WeChat.
-
bastion - Highly-available Distributed Fault-tolerant Runtime
WeChat background service is based on C ++ coroutine architecture :libco, see https://github.com/Tencent/libco
bastion
Posts with mentions or reviews of bastion.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-08-06.
- Write Elixir NIFs in Rust
- Bastion – Highly-Available Distributed Fault-Tolerant Runtime for Rust
-
lunatic v0.9 released - Bringing Erlang's supervisors to Rust
How is this better / different than https://github.com/bastion-rs/bastion ?
-
Introspection in Erlang/BEAM-inspired Async-Rust-Executors?
There are attempts to implement an Erlang/BEAM-inspired reactor/runtime/executor/ecosystem for Rust's Async, in particular Bastion. (There are also Lumen, Lunatic and Async-Backplane/Async-Supervisor.)
- What is the current state of actor systems in Rust?
-
Announcing "Zestors": A simple, fast and flexible actor-framework
I would be interested in an example showing how to build a robust runtime like bastion with fault tolerance.
-
Async feedback from 2 years of usage
But the issue you're referring to, building a fault-tolerant web server where you can have granular control over killing background jobs regardless if they're blocked on a syscall, totally requires using this kind of software architecture. See Bastion.
-
Can one code different kind of multithreading paradigms in Rust (BEAM, Node, Go)?
Bastion, a Rust async runtime inspired by the beam distribution and supervision model
-
Linus Torvalds on Rust support in kernel
I don't really know much about erlang, but I think this may be along the lines of what you are thinking of: https://github.com/bastion-rs/bastion
(I also don't really think the linux kernel people would be interested...)
-
Lunatic - An Erlang inspired runtime for all programming languages
This reminds me of bastion. Looks like it attempts to fulfill the same needs, though I guess Lunatic has native WASM support whereas bastion might require some tweaking to have it work? Haven't worked with bastion, so that part of harder time with WASM is just a wild speculation. On the other hand bastion looks much more mature. Probably /u/vertexclique could give a more informed opinion about the difference between the two ;) I really like what these projects are putting forward.
What are some alternatives?
When comparing libco and bastion you can also consider the following projects:
libgo - Go-style concurrency in C++11
actix - Actor framework for Rust.