Coder Social home page Coder Social logo

mankouzhuya / photonlibos Goto Github PK

View Code? Open in Web Editor NEW

This project forked from alibaba/photonlibos

0.0 0.0 0.0 2.76 MB

Probably the fastest coroutine lib in the world!

Home Page: https://PhotonLibOS.github.io

License: Apache License 2.0

Shell 0.01% C++ 97.04% Python 0.32% C 0.21% CMake 1.73% SWIG 0.69%

photonlibos's Introduction

PhotonLibOS

Linux x86_64 Linux ARM macOS x86_64 macOS ARM

PhotonlibOS.github.io

What's New

  • Feb 2024,中文文档在官网上线了
  • Since 0.7, Photon will use release branches to enhance the reliability of software delivery. Bugfix will be merged into a stable release at first, then to higher release versions, and finally main.
  • Since version 0.6, Photon can run with a userspace TCP/IP stack on top of DPDK. En / 中文.
  • How to transform RocksDB from multi-threads to coroutines by only 200 lines of code? En / 中文.
Click to show more history...

  • Version 0.5 is released. Except for various performance improvements, including spinlock, context switch, and new run queue for coroutine scheduling, we have re-implemented the HTTP module so that there is no boost dependency anymore.
  • Version 0.4 has come, bringing us these three major features:
    1. Support coroutine local variables. Similar to the C++11 thread_local keyword. See doc.
    2. Support running on macOS platform, both Intel x86_64 and Apple M1 included.
    3. Support LLVM Clang/Apple Clang/GCC compilers.
  • Photon 0.3 was released on 2 Sep 2022. Except for bug fixes and improvements, a new photon_std namespace is added. Developers can search for std::thread, std::mutex in their own projects, and replace them all into the equivalents of photon_std::<xxx>. It's a quick way to transform thread-based programs to coroutine-based ones.
  • Photon 0.2 was released on 28 Jul 2022. This release was mainly focused on network socket, security context and multi-vcpu support. We re-worked the WorkPool so it's more friendly now to write multi-vcpu programs.
  • Made the first tag on 27 Jul 2022. Fix the compatibility for ARM CPU. Throughly compared the TCP echo server performance with other libs.

Community

Join Slack: link

Join DingTalk group: 55690000272

photonlibos's People

Contributors

beef9999 avatar coldwings avatar lihuiba avatar mankouzhuya avatar liulanzheng avatar github-actions[bot] avatar louiswilliams avatar yuchen0cc avatar hanlee13 avatar bigvan avatar faker2048 avatar alibaba-oss avatar gavinray97 avatar waberzhuang avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.