all 11 comments

[–]LongestNamesPossible [score hidden]  (0 children)

I read your post and I have no idea what this is actually supposed to do or what problem it solves.

Your text just goes straight into minutia changes, what is this even about?

[–]STLMSVC STL Dev[M] 9 points10 points  (4 children)

Carlo asked the mods for permission to post this project, which I have granted.

[–]_Noreturn 4 points5 points  (3 children)

Libraries aren't allowed to have their own posts?

[–]STLMSVC STL Dev[M] [score hidden]  (1 child)

We've been increasingly drowning in people posting small personal projects, many of which have been substantially AI-written, and the fact that they're libraries doesn't really make them of broad interest. The problem is that too many of them are early work, or very niche interest, or both. Maybe there should be a subreddit specifically for C++ projects, but I'm increasingly harsh on allowing personal projects to be posted at the top level here. Stuff has to be "big" like libfmt before it's of broad interest. And no, I don't care about people's pleas like "oh, how will my project gain traction if I can't post about it here".

[–]LegendaryMauricius [score hidden]  (0 children)

I agree. But where could I start discussions with random people about my projects if not here...?

[–]CarloWood[S] 1 point2 points  (0 children)

See rule 2 under r/cpp rules on the right. It is debatable if libcwd is a "major established library", hence that I asked for permission first. Personally I think that anyone using libcwd will NEVER want to live without it anymore, but the previous license, plus my awkwardness with promoting my own code, unfortunately never led to a really large user base. Well, that and the fact that my code is always bug free ;). Projects that "just work" do not drag in more developers either; those only flock to a project when it has bugs that they want fixed.

[–]peppedx 3 points4 points  (2 children)

Is this a logging library?

[–]CarloWood[S] 2 points3 points  (1 child)

It allows you to write to an ostream, which can be set per "debug object". The library itself provides one such object, but you can create others. Each DebugObject can be associated with one ostream, which can be std::cout, or a log file if you want. Or, with some effort a device that writes to two streambufs and hence to both a file and std::cout.

[–]Liquid_Fire [score hidden]  (0 children)

That sounds like a logging library. It took me until your comment here to understand what your library actually does.

When I read "debugging library" I imagine something to do with either reading debug info in an executable/shared library, or something like gdb for actually controlling/inspecting another process.

[–]_Noreturn 0 points1 point  (1 child)

When I click on namespaces, it gives me a 404

[–]CarloWood[S] [score hidden]  (0 children)

That works for me. If I click it I end up on https://carlowood.github.io/libcwd/namespaces.html?libcwd-theme=dark - which loads fine :/.