Hacker News new | past | comments | ask | show | jobs | submit | elvircrn's comments login

"C++ Modules have been greatly improved."

It would be nice to know what these great improvements actually are.


Later in the article, it mentions:

    Improved experimental support for C++23, including:

        std and std.compat modules (also supported for C++20).
From https://developers.redhat.com/articles/2025/04/24/new-c-feat...:

    The next major version of the GNU Compiler Collection (GCC), 15.1, is expected to be released in April or May 2025.

    GCC 15 greatly improved the modules code. For instance, module std is now supported (even in C++20 mode).


In GCC 14, C++ modules were unusable (incomplete, full of bugs, no std modules, etc). I haven't tried 15 yet but if that changed, then it definitely qualifies for a "great improvement".


Still no std modules but otherwise likely useable. modules are ready for early adoptors to use and start writing the books on what you should do. (Not how to do it, those books are mostly written though not in print. How hou should as is was imbort std a good idea or shoule containers and algorithms been split - or maybe something I haven't though of)


those were the greatest improvements of all time. all of them. :D


Surprised there's no mention of Redpanda here.


Having used both Kafka and Redpanda on several occasions, I'd pick Redpanda any day of the week without a second thought. Easier to setup, easier to maintain, a lot less finicky ans uses a fraction of the resources.


In what way is it materially easier to maintain and less finicky? I read a lot about this but I haven’t seen a concise bullet point list of why, which leads me to naturally distrust such claims. Ditto for the resources - Kafka is usually bottlenecked on disk/network, and whether it’s c++ or not doesn’t solve that


I've been using Redpanda for a few years now and here's what I've noticed.

Its a compiled binary - no JVM to manage. Java apps have always been a headache for me. Plus, no zookeeper - one less thing to break.

The biggest benefit I've seen is the performance. Redpanda just outperforms Apache Kakfa on similar hardware. Its also Kafka compliant in every way I've noticed, so all my favorite tools that interact with Kafka work the same with Redpanda.

Redpanda, like Kafka, writes to disk, so you'll always be limited by your hardware no matter what you use (but NVMe's are fast and affordable).

YMMV, but its been a good experience for me.


same


Redpanda isn't FOSS. Apache Kafka is.


Redpanda community edition operates under the BSL license - https://www.redpanda.com/blog/open-source

IANAL, but it looks pretty open source to me.


How would one go about doing this?


For UBO, first they'd need to implement MV3 while still keeping webRequestBlocking.. it seems that there's currently no information about this, so I asked them: https://github.com/uBlockOrigin/uBlock-issues/discussions/35...

In general it involves setting ExtensionInstallForcelist, but I haven't tried it in practice yet, it's a concept..


---------------------------------------------------------------- Dear battery technology claimant,

Thank you for your submission of proposed new revolutionary battery technology. Your new technology claims to be superior to existing lithium-ion technology and is just around the corner from taking over the world. Unfortunately your technology will likely fail, because:

[ ] it is impractical to manufacture at scale.

[ ] it will be too expensive for users.

[ ] it suffers from too few recharge cycles.

[ ] it is incapable of delivering current at sufficient levels.

[ ] it lacks thermal stability at low or high temperatures.

[x] it lacks the energy density to make it sufficiently portable.

[ ] it has too short of a lifetime.

[ ] its charge rate is too slow.

[ ] its materials are too toxic.

[ ] it is too likely to catch fire or explode.

[ ] it is too minimal of a step forward for anybody to care.

[ ] this was already done 20 years ago and didn't work then.

[ ] by this time it ships li-ion advances will match it.

[ ] your claims are lies.

----------------------------------------------------------------

Source: https://news.ycombinator.com/item?id=26633670


What other boxes does it check because otherwise it’s viable for home scale uses.


this is the stupid binary-ism that is holding us back. "its no good for X, so its immediately discounted for ANY solution".

The issue plagues moving forward with other energy solutions like hydrogen.


What's hydrogen a solution for?


Power supply to remote temporary areas like construction sites. Let’s say you need 100kW for 12 hours a day for a month to the middle of nowhere. You could run new power lines and get the connected, over land you don’t own, taking months. Or you could bring in a hydrogen generator and ship in new bottles to “recharge” it.


green energy storage and transport, ammonia (fertilizer and fuel), used in the manufacture of green steel etc etc


Oh, I would have considered using hydrogen for manufacture as obviously a separate topic. Do people really reject that idea because of hydrogen's issues as energy storage?

For storage and transport, I feel like the situations where is close to the best option are extremely limited, but I guess we'll see.


absolutely they do.

I work for a company that is keen on producing green hydrogen and exploring all uses of it, and the media and talking head narrative that constantly gets set is either "See Hindenburg, so too dangerous" or "Toyota Mirai was a laughing stock failure therefor all hydrogen is a laughing stock failure"

Politics and the media seems to be stuck in this loop of "one or the other.. there is never any shades of grey". the media does it i believe because it makes for easy narrative/story telling and selling. Politics do it because it simplifies their job.

People eat it up.

I get it, being skeptical all the time is exhausting. Having to see some of the opposing views as, in part at least, correct while not being railroaded into conceding ALL of your points is a Sisyphean task.

I despair for our futures because its getting worse.


More affordable blimps?


Sulfur batteries are known to be deadly toxic when lighted on fire


Are there any battery that are non toxic if lighted on fire?


there are uses for non-portable batteries



Right, all your points may be correct or are perhaps possible.

Now would you kindly cite authoritative sources and references so we can verify your assertions.


Well, the article says;

The researchers suggest more work is required to improve the energy density.

So I'm deferring to what the researchers said about their research.


I just love how responsive the editor is.

The biggest downside is that now I dread switching to overleaf after typst!


No benchmarks yet?


I started this journey a while back using Tanenbaum's MIC-1 during my Uni days with a another colleague. Still have it online if anyone is interested: https://github.com/elvircrn/mic-1.


I have a chrome extension that I made for myself which removes recommended videos based on:

* channel/video title * duration * keywords * channel size/video views

Then, I have a video queue where I add videos that I find interesting.

Ever since I started using it, I started getting almost exclusively videos that I enjoy consuming, since YouTube seems to quickly adapt to my clicking patterns.


Great idea! I wish I could filter all videos that start with "I "


Last week while looking into the Apple DMP exploit paper [1], I noticed that the researchers were inspired by this [2] anandtech article.

Y'all will be missed.

[1] https://www.prefetchers.info/ [2] https://www.anandtech.com/show/16226/apple-silicon-m1-a14-de...


Take a computer architecture course for starters.


Got any you’d recommend?


for appetizer I recommend Cliff Click's "A Crash Course in Modern Hardware" talk

https://www.youtube.com/watch?v=5ZOuCuGrw48 (and here's the 2009 version https://www.infoq.com/presentations/click-crash-course-moder... .. might be interesting for comparison )


Thanks!


Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: