大神分享的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/[email protected]
发布了377 篇原创文章 · 获赞 25 · 访问量 10万+

猜你喜欢

转载自blog.csdn.net/fqbqrr/article/details/104499629
今日推荐