lauf
PhotonLibOS
Our great sponsors
lauf | PhotonLibOS | |
---|---|---|
5 | 6 | |
63 | 792 | |
- | 4.3% | |
5.9 | 9.4 | |
14 days ago | 2 days ago | |
C++ | C++ | |
Boost Software License 1.0 | Apache License 2.0 |
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.
lauf
-
What could go wrong making a VM? A feeling of dread.
I have a VM lying around: https://github.com/foonathan/lauf
-
Any data/research on the value and cost of growable coroutine stacks?
Yeah, that's what I'm doing in lauf. When returning, the stack segments stay allocated and can be reused when it reaches the end again.
-
wrench (tiny, fast, c-like interpreter): created a webpage and now looking for benchmark code
I'm working on lauf, which is a low-level bytecode Interpreter: https://github.com/foonathan/lauf
-
September 2022 monthly "What are you working on?" thread
I've been working on a generic bytecode interpreter the last couple of months. It reached a point where I needed to test it in a real compiler, so I've started writing a C interpreter.
-
C++ Show and Tell - September 2022
I'm currently writing a C interpreter using my lauf bytecode interpreter. It's developed live on Youtube where I'm streaming every Tuesday and Thursday at 17:00 CEST/CET: https://www.youtube.com/c/foonathan
PhotonLibOS
-
Coroutine made DPDK dev easy
So, we try to use Photon coroutine lib to simplify the development of DPDK applications with the new concurrency model, and provide more functionalities, such as lock, timer and file I/O. First of all, we need to choose a userspace network protocol stack. After investigation, we have chosen Tencent's open source F-Stack project, which has ported the entire FreeBSD 11.0 network protocol stack on top of DPDK. It also has made some code cuts, providing a set of POSIX APIs, such as socket, epoll, kqueue, etc. Of course, its epoll is also simulated by kqueue, since it is essentially FreeBSD.
-
200 lines of code to rewrite the 600'000 lines RocksDB into a coroutine programx
Finally, the PhotonLibOS project is open sourced at https://github.com/alibaba/PhotonLibOS. If you are interested in C++ coroutines and high-performance IO, welcome to have a try.
- A performance review of io_uring vs. epoll for standard/streamed socket traffic
-
C++ Show and Tell - September 2022
Photon (https://github.com/alibaba/PhotonLibOS) is a coroutine lib, and it just released v0.3.
- C++ Show and Tell - July 2022
-
I was thinking of submitting a proposal to make std::coroutine_handle<void> convertible to void (*)() and was looking for feedback.
the fastest coroutine library by the year of 2022, https://github.com/alibaba/PhotonLibOS
What are some alternatives?
code-style-agnostic-search - Coding Style -agnostic (and more) search for C++
libfiber - The high performance c/c++ coroutine library for Linux/FreeBSD/MacOS/Windows, supporting select/poll/epoll/kqueue/iouring/iocp/windows GUI
Dependencies - A rewrite of the old legacy software "depends.exe" in C# for Windows devs to troubleshoot dll load dependencies issues.
concurrencpp - Modern concurrency for C++. Tasks, executors, timers and C++20 coroutines to rule them all
windows_registry_folder_wmi_enumerator - Use C++11 range for-loop to enumerate registry keys/values, folder and WMI queries
libgo - Go-style concurrency in C++11
LazyExpression - Variadic recursive expression templates with lazy evaluation which look like ordinary (possibly nested) containers.
coost - A tiny boost library in C++11.
clauf - A C interpreter developed live on YouTube
tolc - A bindings compiler for C++
tsmp
f-stack - F-Stack is an user space network development kit with high performance based on DPDK, FreeBSD TCP/IP stack and coroutine API.