HN user

gk1256

8 karma
Posts0
Comments23
View on HN
No posts found.

I use C++ for large web backends because I dislike Typescript. I use Javascript for small web backends. Actually to me, JS feels so close to C++.

I use cppcms most of times but in some cases I use Seastar for high perf.

I don't think they are wannabes. Getting a feature accepted to C++ is hard. That's why most people push their features into Boost (well, MVP style). The C++ committee has respected people with years of experience.

What's bad for him is good for me. Those C++ features helped me a lot. Actually, in terms of business value they saved me a lot of time.

By “reinvent everything,” I believe you mean to say that you have to make your own linked-lists to have adjustable strings, and you have to create structs with function pointers to have objects…

Spot on.

C chose to be simple in the language itself and not in the code.

But it market itself being simple so people even newcomers think that C is simple in every regard. Only few people rarely acknowledge this fact.

The single greatest praise that I will give to C is that the entirety of the language can be held in the mind of the programmer using it, with zero need for reference. This is impossible in most other languages.

In other languages, which parts you are unable to held in your mind?

The only instance where I need references in C++ is STD library features. But if we measure, it take less time than if we were to reinvent it on C.

C is not perfect. It's closer to assembly, but you can't do anything useful without reinventing most things that is already done in C++.

C++ STD lib is not a big mess. At least, I am using it for decades. I don't know if you really used it because those who are against STD doesn't understand the point of abstractions and it's utility. They always tend to cite why would I use vector when I can create a "simple" linked list myself with pointers.

C is a terrible language. You have to reinvent everything on it. The simplicity is just a lie.

C++ on the otherhand is way simple to use and really straightforward.

I like Zig too.

I knew people will disagree with me. The kids usually who are good with Maths are gifted. They love solving puzzles, but what about the rest kids?

To me, the ultimate solution for this problem is teaching philosophy before maths.

The ideal route is philosophy -> history of maths -> maths

I heard that Govs don't want to add this subject into school because it will create revolutionary thinkers and it sounds more like obfuscation to me.

it's refreshing to see a project explicitly call this out as a benefit for adopting Rust

It seems to be a proposal. The proposal was made by a user who was registered on 09/27/2021.

The text you quoted was included on his proposal. The project itself is not explicitly call that one out.

With all due to respect, your comment is an anti-specialization rant.

Merely knowing the syntax doesn't make one a "C++ programmer"

Does knowing all the possible abstract layers (uh, it's an ocean) make one a C ++ programmer then?

this is even more true when you are messing around in the Kernel

It's his right to mess around Kernel and learn things.