Hacker news

  • Top
  • New
  • Past
  • Ask
  • Show
  • Jobs

Clice v1.0 Released: Welcome to Modern C++ (https://ykiko.me)

192 points by molenzwiebel 5 days ago | 102 comments | View on ycombinator

assumed_throwaw 4 days ago |

I discovered Clice a few months ago, but it wasn't stable enough for my needs at the time. It looked very promising, though. I'm glad to hear it's moving to v1.0.

I didn't expect this technical article to end on such a melancholy note. I'm sad that the author feels this way about his work of last years. But it was an interesting read, and I think many of us share these concerns and doubts. Hopefully, even in a world of AI agents, there will still be people that write and read code, and who will enjoy using Clice.

tancop 4 days ago |

> in an era like this it means the effort I poured into clice over the past two and a half years is unlikely to have the lasting meaning I first imagined

Reading C++ without a good language server is hard. And if you don't read your agents code that makes you a stupid vibe coder. Everyone else will benefit from your project.

And it's good training data (also for humans) to learn modern C++ from a real codebase.

quailfarmer 4 days ago |

Re the melancholy conclusion: I spent the last year of my school working on a big personal project, but when I started a full time job, this personal project was eclipsed, it no longer made sense in the context of the industry. But I recently returned for my 5yr reunion, and I found a bunch of current students who were still using my system! Upon reflection, it’s still one of the most fun projects I’ve ever done.

anonymous908213 4 days ago |

> Over on X, you can see plenty of people asking Claude in a single sentence to rewrite the TypeScript compiler in another programming language and getting better performance out of it.

And yet nobody is using these rewritten Typescript compilers to compile real programs, because LLM-generated compilers fall apart the moment you move beyond whatever test programs the LLM was special-casing to work for impressive benchmarks. Drawing the conclusion that software dev has been 100x'd because people can post stupid attention-grabbing shit on HN and Twitter, when none of that software is actually used by anybody, is an extremely unfortunate conclusion to draw. And so, facing peer pressure and FOMO, the author abandoned their own project to the bots and allowed it to be slopped out to the point nobody will ever seriously use it. 100x, but at what cost? The damage being done to our community will take decades to recover from at this rate. We have turned the concept of software development into "who can make the most impressive landing page and headline" with no concern for making anything that is useful to anyone - not even to the author, for they are no longer learning.

rixed 5 days ago |

Going on a tangent, but I'm always owndering if "modern C++" sounds rather appealing or off-putting to most people?

rhodo 4 days ago |

This is sick man, I think you should be really proud of what you built!

AshamedCaptain 5 days ago |

The biggest issue with clangd (and a derivate like this) is that it is at least three orders of magnitude slower than non-clang based indexers like the old ones in Eclipse and Qt Creator. It used to be that I could index a huge codebase in a couple minutes; clangd takes days and therefore we have to trouble with stuff such as remote indices. Frankly, I'd trade anything in the world for a fast indexer that is NOT based on clang, even if it were not perfect (which is kind of the point).

qyron 5 days ago |

Interesting project and great writeup! Looking forward to try this.

Neywiny 5 days ago |

Interesting they show clangd crashing in vscode. That's been my biggest gripe with it. But they also show clice crashing in the same spot? Seems odd to not just fix it

ggcr 4 days ago |

Will be replacing clangd with this. Thanks OP!

BoingBoomTschak 4 days ago |

The vibe smell is one of the strongest I've ever encountered. Who thought commit messages each dwarfing a Dumas novel was a good idea?

https://github.com/clice-io/clice/commits/main/

signa11 3 days ago |

reading this, i am reminded of verding's first rule of programming

    Any sufficiently complicated concurrent program in another language contains an ad hoc 
    informally-specified bug-ridden slow implementation of half of Erlang.

nnevatie 4 days ago |

> A completely hermetic, reproducible build powered by Bazel

Why not CMake, the de-facto (like it or not) build tool for C++?

reversedmind 3 days ago |

[dead]

thetrendtimes 4 days ago |

[flagged]

grougnax 4 days ago |

[dead]

Tadpole9181 5 days ago |

[dead]

drnick1 4 days ago |

Meh, I will stick with the kind of C++ that is useful and readable, basically C++98 or C with classes. There are now ten ways of doing the same thing, the language is a complete mess.

glebd 4 days ago |

It's slop, unfortunately.

dwb 5 days ago |

[flagged]