HNHacker News
TopNewBestAskShowJobs

gk1256

8 karma · joined November 13, 2021

submissionscomments
gk1256··on Inja: A Template Engine for Modern C++
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.

gk1256··on WebVM: Server-less x86 virtual machines in the browser
The downvoters are anti capitalists it seems. If you don't like me, don't downvote me, just leave it as it's. I never ever will downvote who loves socialism in HN.
gk1256··on WebVM: Server-less x86 virtual machines in the browser
This is why I love Capitalism and Competition. This is amazing and fantastic.
gk1256··on The Problem with C (2020)
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.
gk1256··on The Problem with C (2020)
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.
gk1256··on The Problem with C (2020)
> 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.

gk1256··on The Problem with C (2020)
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.

gk1256··on The Problem with C (2020)
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.

gk1256··on Fetch API has landed into Node.js
I wish if Node had a way to enforce any case in its requests.
gk1256··on Prime Video Uses WebAssembly
"Emscripten" can target platform outside browsers. You have STANDALONE_WASM flag for that.
gk1256··on Prime Video Uses WebAssembly
I can dislike Rust too, but the facts are facts. Emscripten is the leader of WASM world and lot of its code is based on C++.
gk1256··on Why don't we use the math we learn in school?
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.

gk1256··on Founder of The Infraud Organization hacking group arrested in Moscow – source
I'm speculating here but It's possible Putin changed his mind and now wants his share of their money which often counts to millions of dollars.
gk1256··on Ruby: Porting YJIT to Rust
> 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.

gk1256··on Essence: Desktop operating system built from scratch
Both. SerenityOS, includeOS, Managarm used Modern C++ for Kernel. For example, Managarm used coroutines and Templates also RAII stuff like lock_guard in it's kernel.
gk1256··on Essence: Desktop operating system built from scratch
I like the UI, but I'm disappointed to find that the author is using orthodox C++ instead Modern C++
gk1256··on PayPal faces lawsuit for freezing customer accounts and funds
PayPal has lot of third party data than most banks, but they stuck at decision making process.

"Shoot First and Ask Questions Later"

gk1256··on LAN-port-scan forbidder, browser addon to protect private network
Extension will fail for Websocket connections since manifest fails to include ws protocol.
gk1256··on United States Pirate Party
Liberty is not anarchism.
gk1256··on PayPal faces lawsuit for freezing customer accounts and funds
PayPal has the fraud problem. Every next payment platform who aims to become the next PayPal also suffer from it.
gk1256··on Dear sir, you have built a compiler
Well, a lot of guys doing algebra without realizing it.
gk1256··on Tetr.io
Tether.io :)
gk1256··on C++ in the Linux Kernel
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.