pikalabs / pink Goto Github PK
View Code? Open in Web Editor NEWA high performance network library
Home Page: http://baotiao.github.io/
License: BSD 3-Clause "New" or "Revised" License
A high performance network library
Home Page: http://baotiao.github.io/
License: BSD 3-Clause "New" or "Revised" License
since pink has update to version 2, the Readme is too old.
we need update it
we have write an benchmark example in code.
However we havn't gave our test result, we need add the test result
when I use bg_thread, sometime user was blocking in the function Schedule function, but pink tell the user nothing. And it's not easy to debug the problem.
So can we add some logs there, or the schedule function will return some flag to tell the caller.
Hi, what's the connection with evpp? And do you think pink can have benefit by adopting libevent too? Thinking of a model like wangle or proxygen that specifically differentiates IO-related and CPU-related pools.
../include/pink_conn.h:5: #ifndef header guard has wrong style, please use: PINK_INCLUDE_PINK_CONN_H_ [build/header_guard] [5]
../include/pink_conn.h:121: #endif line should be "#endif // PINK_INCLUDE_PINK_CONN_H_" [build/header_guard] [5]
../include/pink_conn.h:27: Line ends in whitespace. Consider deleting these extra spaces. [whitespace/end_of_line] [4]
../include/pink_conn.h:40: Line ends in whitespace. Consider deleting these extra spaces. [whitespace/end_of_line] [4]
../include/pink_conn.h:42: You don't need a ; after a } [readability/braces] [4]
../include/pink_conn.h:41: Line ends in whitespace. Consider deleting these extra spaces. [whitespace/end_of_line] [4]
../include/pink_conn.h:43: Line ends in whitespace. Consider deleting these extra spaces. [whitespace/end_of_line] [4]
../include/pink_conn.h:44: Line ends in whitespace. Consider deleting these extra spaces. [whitespace/end_of_line] [4]
../include/pink_conn.h:68: You don't need a ; after a } [readability/braces] [4]
../include/pink_conn.h:111: You don't need a ; after a } [readability/braces] [4]
../include/pink_conn.h:119: Namespace should be terminated with "// namespace pink" [readability/namespace] [5]
try to improve these code.
现在只有一个很久之前发布的release,有版本发布计划吗?
pink is lack of test, we can consider add gtest in our project
#include "pink/src/pink_util.h"
可以把pink_util.h也移到include下面
如果这个地方return, 那上面new 出来的socket_p什么时候被 delete?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.