Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
naertcxx
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
naertcxx
2y ago
For algorithms like the ones in CLRS, which are explicitly written and proven with pointers in mind, definitely. As I wrote, the stdlib++ agrees. Read that code and reevaluate your view on whether it is ridiculous. For other graphs, it de
2.
▲
by
naertcxx
2y ago
I agree with this. Python is now more complex than C++. Python looks as if it is simple, because the syntax looks clean. If you read the new "compilers" [1] in packages like PyTorch, which are unfortunately written in Python,
3.
▲
by
naertcxx
2y ago
I think the focus on smart pointers is a huge mistake. Code bases using shared_ptr inevitably will have cycles and memory leaks, and no one understands the graphs any more. Tree algorithms that are simple in literature get bloated and slow