Live data from Hacker News

Moving from Rust to C++

raphlinus.github.io

111–120 of 145 posts

Re: Moving from Rust to C++

#113
Don't let the turkeys get you down. We need pranksters and, more importantly, the humility to shrug off having been pranked when no harm is done. Some people just take everything a bit too seriously imho. Insightful points in the article too.

Re: Moving from Rust to C++

#114
post #100

A bit too trollish to be funny IMHO. Saying this as a Rustacean.

The part where they said they didn't need inclusivity in computer science made me wanna cry because I didn't realize it was april fools and there are so many people who make that argument unironically..

also the part where they promoted make/cmake :((((

or claimed they can do unsafe code just fine...

all these are real world positions that i've heard defended by old C++ barnacles v_v

Re: Moving from Rust to C++

#116

It is a bad discussion culture if discussing C++'s benefits is just a joke. "WE are better in every aspect, and joining the other team is sooo absurd, the idea is obviously a joke."

What was one of the benefits of C++ that was discussed? It seems like everything mentioned also comes with a terrible faustian bargain. For instance, C++ build systems are as plentiful as they are byzantine and torturous. Some new language features are heaven, but when your compiler hasn't implemented them yet, suddenly you're in hell. And the fact that bigots tend to feel freer in C++ communities than in rust communities certainly feels like a deal with the devil.

Re: Moving from Rust to C++

#117

I wonder what's the consensus on HN about April Fools blog posts like this one. It's probably a cultural thing but I really feel like it's a waste of time, both for the readers and the writer. I don't want to be overly negative because of course they can be a way of publicizing cool things (in this case an open source library). It's just that every April 1st I open a lot of links only to be disappointed that their co…

It's a waste of time. Period.

If I want to waste my time with stupid nonsense, I go to twitter.

Re: Moving from Rust to C++

#118
post #76

Earlier quoted context omitted.

Wasnt gmail announced on Apr 1st?

Yes, and the 1 gigabyte of free storage was plausibly a prank at the time--hotmail at the time provided 2MB, for comparison.

Amazing to think many emails don’t fit in 2mb anymore.

Re: Moving from Rust to C++

#119
This should be good for making some of Raph’s libraries available to more serious game/application programmers. He’s been around for a while so he won’t make silly mistakes which means, given the difference in the number of RUST and C++ CVEs, the library will probably be safer. Not to mention faster because of the rewrite and better compilers.

Re: Moving from Rust to C++

#120
post #26

> Here, it is clear that Rust is held back by its commitment to not break existing code (enacted by the edition mechanism), while C++ is free to implement backwards compatibility breaking changes in each new version. This is well done.

Maybe I am being dumb, but isn’t the opposite true? Or is that the joke? I can’t tell if the joke is that backwards compatibility is good or whether it’s that the languages are switched there

There is no backwards compatibility with popular programming languages. Syntax, dependencies, documentation etc changes so fast, that when I tried to get some simple example working, there were not any working examples at:

1) Official documentation

2) Official source code

3) Google search

4) ChatGPT4

So I feel, that to get anything done, I need to find those programming languages where syntax did not change, and that have existing documentation and books, with examples that still work, and where reading syntax does not require mind bending to impossible shapes.

I did not read that article as being a joke. It got me more interested about C++, that is refreshing.

Post reply on HN