atom3·5년 전·discussAccording 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
atom3·5년 전·discussI'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="Cross-Origin-Opener-Policy" content="same-origin" /> ... </head>
atom3·5년 전·discussWhen 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://ispc.github.io/[2] https://github.com/aTom3333/ispc-in-cpp-poc
[1] https://youtu.be/XRAP3lBivYM?t=1374