Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
atom3
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
atom3
5y ago
According to the cppcon talk about Mesh [1] (an allocator that implement compaction for C++ programs), the overhead can be massive too (17% overhead measured on firefox, 50% on redis!) [1] https://youtu.be/XRAP3lBivYM?t=1374
2.
▲
by
atom3
5y ago
I've not try that but wouldn't the html meta tag work as well? Something like <head> <meta http-equiv="Cross-Origin-Embedder-Policy" content="require-corp" /> <meta http-equiv=&q
3.
▲
by
atom3
5y ago
When I found out about this, I wrote some macros to replicate some of the semantic of ISPC [1] in C++ as a fun experiment [2]. Of course it has no practical value but it was really cool to see it was possible to do so. [1] https:/
4.
▲
by
atom3
5y ago
Oh right, I didn't think of looking for that, guess you're right and doing things by hand is still better
5.
▲
by
atom3
5y ago
> Here’s an example how to compute FP32 dot product with intrinsics: https://stackoverflow.com/a/59495197/126995 I have doubts the ISPC’s reduction gonna result in similar code. Even clang’s automatic vectorize