10 comments

  • assumed_throwaw1 hour ago
    I discovered Clice a few months ago, but it wasn&#x27;t stable enough for my needs at the time. It looked very promising, though. I&#x27;m glad to hear it&#x27;s moving to v1.0.<p>I didn&#x27;t expect this technical article to end on such a melancholy note. I&#x27;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.
  • AshamedCaptain4 hours 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&#x27;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).
    • vintagedave1 hour ago
      Are you sure? This is explicitly not a ‘derivative’ and has a fascinating coroutine with multiprocess architecture. I would not automatically expect it to be too slow.<p>I agree re the old ones though. But they did far less. This design is heavy on completing templates. That’s tricky!
  • rixed3 hours ago
    Going on a tangent, but I&#x27;m always owndering if &quot;modern C++&quot; sounds rather appealing or off-putting to most people?
    • moltopoco2 hours ago
      Just one data point, because I have to get it off my heart. I loved Modern C++ when it meant C++11, but I&#x27;ve become more negative with each new language standard reaching my workplace.<p>Using string_view over string by default is probably the #1 cause of memory errors that landed on my desk. I also keep hearing that &quot;int x{0}&quot; is preferable to &quot;int x = 0&quot; which allows for super dangerous implicit conversions, but then the same people rewrite push_back into emplace_back, which is much more lenient w.r.t. type conversions. It is also much easier to litter every function with [[nodiscard]] constexpr nothrow than it is to argue for readability.<p>My best explanation is that &quot;Modern C++&quot; is making developers biased towards whatever language feature is newer, instead of making good decisions. I wish the community gave up on the moniker.
      • spacechild11 hour ago
        `string_view` (and `std::span`) is great! Finally I don&#x27;t have to use concrete types like `const std::string&amp;` or `const std::vector&lt;float&gt;&amp;` as function parameters when all I really want is just something that <i>behaves</i> like a string or array&#x2F;vector type.<p>In fact, `std::string_view` can lead to very elegant and efficient (zero-allocation) string parsing code.<p>IME, taking a string_view as an argument is pretty unproblematic. Two areas where I have seen problems:<p>1. returning a string_view from a function. Think twice before doing that.<p>2. calling data() and passing the result to a function that expects a null-terminated C strings. (std::string_view is not guaranteed to be null-terminated.)<p>---<p>Apart from that, there are so many great features and libraries in C++17 and C++20 that I use on a regular basis and that I would really miss:<p>- structured bindings<p>- if-statement initializers<p>- fold expressions<p>- inline variables (<i>very</i> useful for handling global state in header-only stuff)<p>- if constexpr (replaces many uses of SFINAE)<p>- concepts (replaces all of the remaining uses of SFINAE)<p>- coroutines (really nice to use with ASIO)<p>- std::optional<p>- std::variant<p>- std::filesystem<p>- std::format (although I personally stick to fmt::format)<p>- from_chars() and to_chars() (fast, local-independent string-number conversion routines)<p>- std::bit<p>- std::apply, std::invoke, std::bind_front<p>- etc.
      • William_BB1 hour ago
        To be fair, string_view has one very attractive feature over const ref string. String&#x27;s char constructor is not explicit. With string view, you are guaranteed to not allocate by accident.
    • htfy961 hour ago
      Yes. Using C++23 in work with house-built coroutine abstraction is very fun and robust. Have to admit that it just requires certain level of skills of your colleague, and unfortunately general hires don&#x27;t have.
    • omoikane3 hours ago
      Maybe they are referring to Effective Modern C++ book by Scott Meyers.<p>I think &quot;modern&quot; is used to contrast newer C++ standards from C++98.
      • jibalt14 minutes ago
        They are quite explicitly referring to C++23
      • ibobev2 hours ago
        Or an older book.<p>&quot;Modern C++ Design: Generic Programming and Design Patterns Applied&quot; by Andrei Alexandrescu<p>Actually, he coined the term. Then Scott Meyers reused it, and now it is a common adjective used before C++ books, libraries, tooling, and so on.
  • Neywiny2 hours ago
    Interesting they show clangd crashing in vscode. That&#x27;s been my biggest gripe with it. But they also show clice crashing in the same spot? Seems odd to not just fix it
    • dwattttt2 hours ago
      I&#x27;m not a C++ expert, but I don&#x27;t see anything in the shown snippet that would cause a language server crash, so I imagine the server is crashing on something off screen.<p>I could understand them showing off crash recovery by using code deliberately written to crash the language server, and so not being something you can &quot;fix&quot;.
  • dwb4 hours ago
    Why is there a cartoon of a young girl as the header image? Isn&#x27;t that a bit...weird?
    • jibalt9 minutes ago
      The blogger&#x27;s name is ykiko -- a Japanese girl&#x27;s name.
    • unleaded41 minutes ago
      To distract people on HN. I&#x27;d do the same thing
    • lmnlvoid2 hours ago
      I think you might be reading a bit much into it. People have blog posts with their pets, children, a random vacation spot, or just a random picture they wanted to share; I&#x27;m not sure why the anime girl is that different. Or is there some extra context I am missing?
      • jibalt9 minutes ago
        Way way too much. The blogger&#x27;s name is ykiko -- a Japanese girl&#x27;s name.
    • makemefundyou204 hours ago
      It&#x27;s just art that the author puts in all their blog post. I think it&#x27;s perfectly normal.
      • jibalt8 minutes ago
        Especially since the blogger&#x27;s name is ykiko -- a Japanese girl&#x27;s name.
    • dingaling9114 hours ago
      You&#x27;ll find the most cracked C++ programmers are either transgender, gay or anime fanatics. It is what it is.
      • dwb3 hours ago
        What does being transgender or gay have to do with depictions of young girls?
        • jibalt12 minutes ago
          &quot;transgender, gay or anime&quot;<p>In this case, anime. It&#x27;s an anime image of a Japanese girl. The blogger (ykiko) is a Japanese girl.
        • perpetualpear2 hours ago
          Both are correlated with autism. And we all know that autism is one of the programming Paths.
        • Tadpole91813 hours ago
          It was a list. Either trangender, gay, or anime fanatics.
      • edukite3 hours ago
        You did my day sir, cheers to you
      • hollerith4 hours ago
        What, no furries?
        • dingaling9113 hours ago
          Them too, forgot.
          • dadoum2 hours ago
            In my view, furries tend more to prefer Rust over C++, but that&#x27;s no scientific study
    • Tadpole91814 hours ago
      First time here?<p>Just teasing - but there&#x27;s a pretty large overlap of skilled FOSS developers and anime afficionatos (and also LGBT). It&#x27;s a pretty common joke that if an exploit drops with an anime girl on the video &#x2F; account - you know it&#x27;s about to get bad.<p>Looking at the blog, this is a common theme with them: every article starts with a shot from some anime. Their GH PFP matches: <a href="https:&#x2F;&#x2F;github.com&#x2F;16bit-ykiko" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;16bit-ykiko</a><p>Hard to say why - maybe that&#x27;s what they&#x27;re watching when they made the article or did the work or something? Maybe they just like it. Maybe they&#x27;re degens. People can be enigmatic sometimes. Well... okay, they&#x27;re a C++ developer, they&#x27;re definitely a degen.<p>Anyway, the first few times may catch you off guard, and sometimes it goes too far, but you learn to tune it out pretty fast. It&#x27;s harmless and I&#x27;m glad they&#x27;re enjoying themselves.
      • dwb3 hours ago
        It doesn&#x27;t strike me as definitely harmless.
        • jibalt7 minutes ago
          Then something is severely wrong on your side of the screen. The blogger is ykiko ... a Japanese girl&#x27;s name.
        • Joker_vD3 hours ago
          Let&#x27;s put it this way, politely: it&#x27;s in the eye of beholder.<p>Most people don&#x27;t find a random picture of an anime teenager to be harmful or have sinister implications.
          • dwb3 hours ago
            I wouldn’t put money on it being outright sinister or harmful, and it’s definitely fine to be into anime with characters like this. But I do find it odd to be into pictures like this enough that you add them to unrelated blog posts.
            • jibalt6 minutes ago
              How is it unrelated when it is a stylized picture of the blogger?<p>What, you couldn&#x27;t imagine that the author is a Japanese female?
            • Joker_vD2 hours ago
              It&#x27;s literally just an arbitrary Attention-Grabbing Picture in the header; because there is really no good attention-grabbing header picture for a C++ language server. A (likely AI-generated nowadays) screenshot of VS Code just doesn&#x27;t quite cut it — so non-corporate people just put some moderately interest-piquing picture, generally of things they themselves find &quot;nice&quot; to look at. Sometimes it&#x27;s some silly meme&#x2F;image macro, sometimes it&#x27;s a random screenshot from an anime.<p>Like, here&#x27;s a random example: [0]. An article is about &quot;a Go-native shell sandbox with coreutils, Python via WebAssembly&quot; — and it opens with a photo of &quot;a sea lion sleeping peacefully on a rocky beach while other sea lions lounge in the background near the water&quot;. Why? Because the author thought it would be nice to put there, that&#x27;s why! No deeper meaning, unless you want to do psychoanalysis over the Internet.<p>[0] <a href="https:&#x2F;&#x2F;xeiaso.net&#x2F;blog&#x2F;2026&#x2F;dancing-mad-sandboxing&#x2F;" rel="nofollow">https:&#x2F;&#x2F;xeiaso.net&#x2F;blog&#x2F;2026&#x2F;dancing-mad-sandboxing&#x2F;</a>
              • jibalt4 minutes ago
                It&#x27;s not arbitrary -- the blogger is ykiko, which is a Japanese female name. The picture is an anime style self image.
              • xena1 hour ago
                Half the reason you put an attention grabbing picture there is that you get algorithmically deboosted for not having one. Don&#x27;t blame the players, blame the game.
                • Joker_vD1 hour ago
                  That too, I guess. I just personally don&#x27;t really mind it either way — a screencap from the 80s&#x27; Transformers cartoon with Optimus Prime in its truck form before an article about different implementation strategies of a &quot;switch&quot; construct? Sure, why not. And I bet <i>that</i> picture wouldn&#x27;t trigger the same response in the original commenter.<p>Some blogs end up having interesting (not the right word, but I can&#x27;t think of a proper one) sequences of leading pictures for their series of related posts, so that&#x27;s an additional bonus for a reader, as a kind of second narrative&#x2F;story, perhaps completely unrelated to the first one.
            • omoikane2 hours ago
              I remember a template for technical design documents that had a placeholder to insert a header image. Any image, could be totally unrelated to the document content. The template explains that it&#x27;s a sort of mnemonic to identify the document, since everyone is expected to use the same template, and all walls of text roughly look similar to each other from a distance.<p>So with some header image, reader might be able to recall &quot;it&#x27;s that Clice post with Yami on top&quot; or &quot;it&#x27;s that other Clice post with Kessoku Band&quot;.
              • hollerith2 hours ago
                That doesn&#x27;t explain why anime aficionados (and furries) have such images in their posts vastly more often than for example people into marijuana or craft beers or motorcycle racing.
            • ulimn2 hours ago
              Wait until you see magazine ads or such showing girls. The atrocity...!
              • dwb2 hours ago
                As I said, it’s about the context. There’s plenty of contexts where I wouldn’t bat an eyelid.
        • Tadpole91813 hours ago
          Okay then, so don&#x27;t read it? Do you have evidence this person did... whatever it is you think they did purely on the basis of theming their profile with girls from massively popular anime [0]?<p>From your profile description and that other comment, I would have assumed you were an ally. If so, I wouldn&#x27;t have expected quite as much morality policing &#x2F; thought crime tone. My perspective is that it&#x27;s a little odd, but as long as they aren&#x27;t hurting someone I really don&#x27;t care what sparks joy in their lives. Life is hard enough.<p>And if they are hurting someone, that&#x27;s what the law is for.<p>[0]: Their PFP comes from a manga &#x2F; show that&#x27;s sold over 10 million copies, apparently.
          • jibalt2 minutes ago
            The blogger&#x27;s name is ykiko -- a Japanese female. The image is presumably a stylized image of the blogger. dweeb&#x27;s comments strike me as rather misogynistic ... he can&#x27;t imagine a female blogger.
          • dwb3 hours ago
            You’re making my comment out to be rather more than it was. I don’t think there’s anything wrong with enjoying manga&#x2F;anime with characters like this, but that’s not what the context of the post is. But sure, ultimately they can do what they want with imagery like this.
      • hollerith3 hours ago
        &gt;they&#x27;re a C++ developer, they&#x27;re definitely a degen.<p>Can you explain this? Is &quot;degen&quot; being used here in the sense of being so avid about C++ that it borders on degeneracy?
    • hmokiguess4 hours ago
      I mean this with no offense, but I find surprising reading a comment such as yours when in your profile about says &quot;they&#x2F;them&quot;
      • dwb3 hours ago
        Why?
        • hmokiguess3 hours ago
          It&#x27;s not uncommon for folks who identify themselves this way to overlap with the circle of those who do these things you called out.
          • dwb3 hours ago
            I think it is very uncommon actually, especially if you consider the global population of non-binary-gender people, from the many cultures we exist in. Don’t let a couple of online bubbles skew your perception.
          • ktosobcy3 hours ago
            Also it&#x27;s kinda fascinating that person with &quot;pronouns&quot; (implying &quot;let there be inclusive acceptance&quot;) is so against… anime girls…
  • BoingBoomTschak1 hour ago
    The vibe smell is one of the strongest I&#x27;ve ever encountered. Who thought commit messages each dwarfing a Dumas novel was a good idea?<p><a href="https:&#x2F;&#x2F;github.com&#x2F;clice-io&#x2F;clice&#x2F;commits&#x2F;main&#x2F;" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;clice-io&#x2F;clice&#x2F;commits&#x2F;main&#x2F;</a>
    • kuhsaft1 hour ago
      I&#x27;m not against agentic coding, but insanely verbose commit messages in place of actual decision making records are definitely an anti-pattern.<p>Requirements, specs, and ADRs shouldn&#x27;t be thrown out with agentic development. I&#x27;ve found that using rust-style `r[rule.id]` for requirements and specs with ADRs works a lot better than verbose commits.<p>Requirements cover what, specs cover how, ADRs cover why, and git commits cover when.
  • drnick136 minutes 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.
  • qyron4 hours ago
    Interesting project and great writeup! Looking forward to try this.
  • glebd41 minutes ago
    It&#x27;s slop, unfortunately.
  • Tadpole91813 hours ago
    [dead]