Skip to content

Latest commit

 

History

History
69 lines (51 loc) · 4.45 KB

README.md

File metadata and controls

69 lines (51 loc) · 4.45 KB

c语言

教程/文章/小抄/规范/记事

  1. hash table in c (用c实现hash table) https://github.com/jamesroutley/write-a-hash-table

实用 库/模块/框架

  1. A dead simple editor (一个非常简单的编辑器,使用C实现,可以使用lua嵌入使用) https://github.com/hellerve/e
  2. A high performance and real time quotation push trade engine.(一种高性能实时报价推送交易引擎) https://github.com/mengyou658/viabtc_exchange_server
  3. tcpcopy是一种应用请求复制(基于tcp的packets)工具,其应用领域较广,目前已经应用于国内各大互联网公司,tcpcopy主要有如下功能: 1)分布式压力测试工具,利用在线数据,可以测试系统能够承受的压力大小(远比ab压力测试工具真实地多),也可以提前发现一些bug 2)普通上线测试,可以发现新系统是否稳定,提前发现上线过程中会出现的诸多问题,让开发者有信心上线 3)对比试验,同样请求,针对不同或不同版本程序,可以做性能对比等试验 4)利用多种手段,构造无限在线压力,满足中小网站压力测试要求 5)实战演习(架构师必备) https://github.com/mengyou658/tcpcopy
  4. c 代码片段 https://github.com/mengyou658/leetcode
  5. bit coin 比特币 https://github.com/mengyou658/bitcoin
  6. Zstandard - Fast real-time compression algorithm Zstandard - 快速实时压缩算法 https://github.com/mengyou658/zstd
  7. Maybe the fastest string library ever https://github.com/boyerjohn/rapidstring
    rapidstring is maybe the fastest string library ever written in ANSI C. Here are some of the features:
    
         Highly performant. Every aspect of the library was first considered from a performance perspective, and it shows. The current benchmarks outperform the standard string implementations of GCC, Clang, MSVC and ICC by a factor of two or more in most tests.
         
         Trivial integration. The entire library consists of a single header file. The code is written in vanilla ANSI C that has been tested on all current compilers. Furthermore, the code is entirely C++ compatible.
         
         Minimalist design. Out of the ~1,500 lines of code, only 200 are used to implement the library functions, the rest being documentation. The library has the sole purpose of providing an efficient and reliable string library.
         
         Extensive documentation. All functions are thoroughly documented with information on its parameters, the complexity, whether it allocates, when it allocates and more.
         
         Configurable. The internal implementation of rapidstring is very open. All internal functions and macros are documented to allow the utmost leeway to the user. Any internal macros such as the allocations functions, the stack capacity, the growth multiplier or the inling settings may be redefined by the user.
         
         Vigorous testing. The library has 100% unit test coverage with valgrind memory leak checks. All tests are ran on GCC, Clang and MSVC in the continous integration builds to ensure the library is always up to par.
         ```
    
  8. A glib-like multi-platform c library http://tboox.org BOX是一个用c语言实现的跨平台开发库。 针对各个平台,封装了统一的接口,简化了各类开发过程中常用操作,使你在开发过程中,更加关注实际应用的开发,而不是把时间浪费在琐碎的接口兼容性上面,并且充分利用了各个平台独有的一些特性进行优化。 https://github.com/tboox/tbox

完整项目/示例/demo/代码片段

测试

UI

工具

  1. 从google chrome 读取用户密码 Meltdown PoC for reading passwords from Google Chrome. https://github.com/mengyou658/Meltdown
  2. A command-line system information tool written in bash 3.2+ 一个显示 Linux 服务器信息的命令行工具 https://github.com/dylanaraps/neofetch