Live data from Hacker News

A header-only C implementation of C++

github.com

91–94 of 94 posts

Re: A header-only C implementation of C++ <algorithm>

#91
post #36

Earlier quoted context omitted.

It also ended serfdom. Being wary of change is usually the excuse to perpetuate awful systems in both technology and society.

> It also ended serfdom. Hardly.

Are we really arguing over the word 'progress'.

Yeah, we 'progressed' beyond serfdom. What is the objection?

Re: A header-only C implementation of C++ <algorithm>

#92
post #76
post #66

Nice work! Have you considering combining ARRAY_ALG_TYPE and ARRAY_ALG_PREFIX into a single function-like macro? ARRAY_ALG_TYPE_PREFIX(int, intv_), for example, can set up all the other macros. I would also recommend adding a ARRAY_ALG_ prefix to the NAME1, NAME2, NS, and T macros so that you don't redefine any previous macros with these names.

can you give an example for the function like macro?

I really should have tested before commenting. You can't define a macro within a macro, so it doesn't work.

Re: A header-only C implementation of C++ <algorithm>

#93
post #16

Well, I do like mine better, which is closer to the STL, and for all containers. https://github.com/rurban/ctl/

I wonder why it's a so common pattern here that everytime someone shows their product, someone in the comments will show their own version in a not-so-implicit patronizing tone

>I wonder why it's a so common pattern here that everytime someone ...

it's only common for normies (ok, I guess that is a lot) to expend too much energy looking for emotional content. Just pay attention to the facts, here's a library/framework, here's another library/framework. See? now you know about two. Want emotion? ok, one guy seems proud of his, another guy maybe too proud of his? So what, you be the judge, look at the code.

Re: A header-only C implementation of C++ <algorithm>

#94
post #93

Earlier quoted context omitted.

I wonder why it's a so common pattern here that everytime someone shows their product, someone in the comments will show their own version in a not-so-implicit patronizing tone

> I wonder why it's a so common pattern here that everytime someone ... it's only common for normies (ok, I guess that is a lot) to expend too much energy looking for emotional content. Just pay attention to the facts, here's a library/framework, here's another library/framework. See? now you know about two. Want emotion? ok, one guy seems proud of his, another guy maybe too proud of his? So what, you be the judge, l…

> it's only common for _normies_

that is very emotional of your part using borderline insults

You don't need to spend any energy looking for emotional content when it's very face front ego inflated "mine is better" without any constructive feedback.

Post reply on HN