
wang
@wangzhr4
Followers
3K
Following
8K
Media
630
Statuses
6K
I like putting `GNU` in front of `Linux` | HPC Dev | C, Shell, & Cloud | Music
Shanghai, China
Joined October 2022
Seeing universe as a whole that follows Tao/Dao, is one of the essences of Zhuang Zi's philosophy. That really broadens one's views and thoughts. Sadly, we are being advocated to be "individual". Actually not. One's fingers cannot be individual, so is everyone. We are connected.
Shu(倏) lived in the South, Hu(忽) lived in the north, Chaos lived in the middle. Chaos treated Shu and Hu very well. Shu and Hu wanted to repay Chaos for his kindness. They discussed:. Everyone has 7 orifices to look, hear, breath, and eat; but Chaos doesn't. Let's help him by.
3
3
22
No, using raw pointers in C++ in 2025 means you are writing C, not C++, of course not modern C++. Use STL or equivalent Template Libraries. They are encapsulated enough to avoid any necessity of raw pointers.
Some devs say using raw pointers in 2025 means you’re not writing Modern C++. Others argue they still have niche use-cases. Where do you stand?.
11
2
68
You can play with dynamic data structures in C, but there is one rule: Do not assert memory allocation succeeds, instead, always check NULL return.
Every programmer should spend time building all the fundamental data structures from scratch (dynamically resizable array, hashmap, linked list). Actually learning how they work and the specific implementation tricks is 10x more valuable than just knowing their Big O complexity.
0
0
7
The core of the core issue in Web services: Heartbeats. Never forget designing a good heartbeat solution to handle situations related to networking issues.
Quick Question:. "Just use WebSockets" they said for chat. Simple, right? . Then your users complain: . "Why does my friend appear online when their phone is off?" . "Why did my message disappear when the network blipped?". How do you fix this ?.
0
0
5
Anyone claiming that BYD is "leading the EV market" actually lack of sense of reality about China and the Chinese market. The EV prosperity in China has been driven directly and mainly by the government strategy and policies. So, is Tesla great? Maybe, maybe not, but the real.
Do people understand why this is? Their revenues are roughly the same, but one is worth (market cap) 6 times more than the other. Why would that be?. Partial answer is hype. The other part of the answer is trust in the future. Chinese companies, it is believed, are controlled by.
0
0
1
A weird thing is, I have never seen any mainstream consumer products here in China equipped with the mysterious LoongArch chips. What's happening in China is, for general purpose products, X64 and Arm are still dominating and will continue dominating the market. Without enough.
The West has a blindspot when it comes to alternative CPU designs. We’re so entrenched in the usual x86, ARM, RISC-V world, that most people have no idea what’s happening over in China. LoongArch is a fully independent ISA that’s sorta MIPS…sorta RISC-V…and sorta x87!
0
0
3