Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
clibraries
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
Determinant Code Generator
(clibraries.github.io)
2 points
by
clibraries
3y ago
|
0 comments
2.
▲
by
clibraries
3y ago
weird to throw in 3 pet libraries he is advocating for at the end
3.
▲
by
clibraries
3y ago
> Well, you do support only vector containers Yes. > Your name "array" clashes with the C++ array In C they are called arrays. > And your array is unsafe sized, as last is the only size provision, even unsafer than C++
4.
▲
by
clibraries
3y ago
> demonstrate that you can't drive your tooling Apparently few can. How many image libraries came before `stb_image`? KISS is a feature. Also, tooling changes between platforms and build systems.
5.
▲
by
clibraries
3y ago
I assume you are not familiar with modern C, but I think it's a good opportunity to explain. A single header style allows you to customize the library with the preprocessor before `#include`. I use this ability to implement generics. O
6.
▲
by
clibraries
3y ago
I think our projects are completely different and don't have the same goals. 1. You don't implement the most important algorithms. For example `stable_sort` for arrays. So right there, it's not even a substitute. One of my mo
7.
▲
A header-only C implementation of C++ <algorithm>
(github.com)
163 points
by
clibraries
3y ago
|
85 comments