Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kjhrklewiou
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
kjhrklewiou
7y ago
I was talking about stuff like CUDA, not OpenGL.
2.
▲
by
kjhrklewiou
7y ago
In GPU programming (CUDA for example), every time you allocate memory you need to explicitly specify where (general memory, L3, L2, L1, register). Because C doesn't support this, they added language extensions. So C is too high level f
3.
▲
by
kjhrklewiou
7y ago
In a way this already happened, with GPU programming, which has a more realistic model of what modern hardware is (explicit memory hierarchy for example). Because the speed advantage is so huge, people went through the pain of learning this
4.
▲
by
kjhrklewiou
7y ago
> an expensive check+branch on each array access I'm curious if this still stands in general today, given today's advanced branch predictors and the fact that the CPU tends to be memory-bandwidth-bound, thus you have more &qu
5.
▲
by
kjhrklewiou
7y ago
I enjoy using C++ from Python through Cython. This way you can have the speed and memory tightness of C++ where it matters, but do the other stuff, like initial data parsing and munging or overall control and sequencing in Python, thus avoi