大神分享的d语言betterC相关地址
已经有人有d的betterC
可用标准库了:这里
有兴趣的也可以参与构建一个基于betterC的核心库,下面是我平时收集到的一些参考库链接:
基本
串
-
https://github.com/mloskot/string_benchmark
-
https://www.codeproject.com/Articles/498251/A-Cplusplus-String-Class
-
https://www.codeproject.com/Articles/1259074/C-Language-Dynamic-String
-
https://blog.csdn.net/peng314899581/article/details/76695161
-
https://blog.csdn.net/gatieme/article/details/64131322
-
https://github.com/gatieme/AderXCoding/tree/master/language/c/zero_length_array
-
https://github.com/cavaliercoder/c-stringbuilder
-
https://github.com/KevinTyrrell/C-String-Builder
数组
-
https://github.com/rxi/vec
-
https://github.com/eteran/c-vector
-
https://lemire.me/blog/2013/02/06/how-fast-should-your-dynamic-arrays-grow/
-
https://www.strchr.com/dynamic_arrays
-
https://arxiv.org/pdf/1711.00275.pdf
-
https://github.com/mettienne/tiered-vector
-
https://www.codeproject.com/Articles/9034/Bits-Array-Encapsulation
格式
- https://github.com/fmtlib/fmt
- https://github.com/synesissoftware/FastFormat
- https://github.com/libmir/mir-runtime/blob/master/source/mir/format.d
- https://github.com/ulfjack/ryu
- https://github.com/night-shift/fpconv
- https://www.cnblogs.com/miloyip/p/4610111.html
- https://github.com/jk-jeon/Grisu-Exact
- http://www.ryanjuckett.com/programming/printing-floating-point-numbers/
日志
- https://github.com/mmueller/clog
- https://github.com/rxi/log.c
- https://www.codeproject.com/tips/987850/logging-in-cplusplus
- https://github.com/HardySimpson/zlog
算法
- https://github.com/fragglet/c-algorithms/
- https://github.com/TheAlgorithms/C
- https://github.com/AllAlgorithms/c
- https://www.codeproject.com/Articles/716530/Fastest-Hash-Function-for-Table-Lookups-in-C
容器
- https://github.com/srdja/Collections-C
- https://github.com/KevinTyrrell/C-DataStructures/tree/4d70a25f80c92ba63be6812f9b4bb7d313de83e7
哈希表
- https://tessil.github.io/2016/08/29/benchmark-hopscotch-map.html
I/O
- https://cristianadam.eu/20160410/c-plus-plus-i-slash-o-benchmark/
- https://github.com/libuv/libuv
线程
-
https://github.com/Pithikos/C-Thread-Pool
-
https://github.com/tinycthread/tinycthread
-
https://github.com/saprykin/plibsys
-
https://github.com/baruch/libwire
-
https://github.com/Qthreads/qthreads
-
https://github.com/samanbarghi/uThreads
-
http://libdill.org/
-
https://github.com/brianwatling/libfiber
-
https://tinythreadpp.bitsnbites.eu/
-
https://github.com/valyala/fiber-framework
-
https://www.codeproject.com/Tips/1325346/A-Simple-Worker-Thread-Class
-
https://www.codeproject.com/Articles/598695/Cplusplus11-Threads-Locks-and-Condition-Variables
-
https://www.codeproject.com/Tips/1279911/Advanced-Thread-Pool
-
https://www.codeproject.com/Articles/20814/Threading-is-easy-A-simple-thread-thread-pool-obje
-
https://www.codeproject.com/Articles/5251328/Exploring-Multi-Threading-in-Cplusplus
-
https://matklad.github.io//2020/01/04/mutexes-are-faster-than-spinlocks.html
-
https://probablydance.com/2019/12/30/measuring-mutexes-spinlocks-and-how-bad-the-linux-scheduler-really-is/
-
https://stffrdhrn.github.io/hardware/embedded/openrisc/2020/01/19/tls.html
日期/时间
- https://www.epochconverter.com/programming/c
http://www.cplusplus.com/reference/ctime/strftime/ - https://stackoverflow.com/questions/3673226/how-to-print-time-in-format-2009-08-10-181754-811
- https://github.com/eggert/tz
序化
- https://www.codeproject.com/Articles/5249666/Fast-Binary-Serializer-with-Compile-Time-Members-a
处理错误
- https://adom.as/excc/
- https://github.com/psevon/exceptions-and-raii-in-c
- https://stackoverflow.com/questions/3899870/print-call-stack-in-c-or-c
- https://github.com/Nanolat/c-callstack
得分
- https://salsa.debian.org/benchmarksgame-team/benchmarksgame/blob/master/README.md
- https://github.com/expr-fi/fastlwc/
- http://www.zverovich.net/2013/09/07/integer-to-string-conversion-in-cplusplus.html
- http://www.strudel.org.uk/itoa/
- https://github.com/miloyip/dtoa-benchmark
面向对象
- https://stackoverflow.com/questions/351733/how-would-one-write-object-oriented-code-in-c
- https://www.codementor.io/michaelsafyan/object-oriented-programming-in-c-du1081gw2
- https://dmitryfrank.com/articles/oop_in_c
- https://www.codeproject.com/Articles/673581/OO-C-Programming-How-To
- https://gitee.com/hevake_lcj/C_OOP
杂项
- http://code.dlang.org/packages/ssll
- https://github.com/maxfreck/betterc
- https://github.com/gozfree/gear-lib
- https://forum.dlang.org/post/fjbnylwrxmynvtleyhop@forum.dlang.org
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· AI与.NET技术实操系列:基于图像分类模型对图像进行分类
· go语言实现终端里的倒计时
· 如何编写易于单元测试的代码
· 10年+ .NET Coder 心语,封装的思维:从隐藏、稳定开始理解其本质意义
· .NET Core 中如何实现缓存的预热?
· 分享一个免费、快速、无限量使用的满血 DeepSeek R1 模型,支持深度思考和联网搜索!
· 基于 Docker 搭建 FRP 内网穿透开源项目(很简单哒)
· ollama系列01:轻松3步本地部署deepseek,普通电脑可用
· 25岁的心里话
· 按钮权限的设计及实现