How's this? const conversionStorage = new ArrayBuffer(4); const f32View = new Float32Array(conversionStorage); const u32View = new Uint32Array(conversionStorage); function u32...
How would you go about turning a quaternion into a matrix?
When C++ goes to check whether it needs to initialise does it do it in a thread safe way?
Why doesn't std::cout << std::cin work?
What would you expect it to be?
For a fixed size list of numbers is it always cheaper to use a typed array?
Tuples over structs?
Does anyone know the correct syntax for doing this? struct A { int a; }; struct B : public A { int b; }; B b{.A={.a=1}, .b=2};
How would you unstringify a boolean?
What can you give as the unary_op parameter?
Can you extend a class and not provide a constructor?
Is there a version of $ in Haskell that's more like |>?
https://www.typescriptlang.org/play?#code/MYGwhgzhAEDiYFsCm0DeAoaXoGIB2SAHgC4CSAJgFzR4CuCARkgE7QC80ADANzqbbkA9gB4AgswDmEAHwAKAGbVZAK0ENqAKTUAaaGEkRq4qQEp206AAVmghAEsISYQDdBd8t...
How do you even find the operator<< reference for these things?
Aaaa perfect YT recommendation came up for me: https://www.youtube.com/watch?v=htYh-Tq7ZBI
What do they call it in monad land?
Does that still work with composition?
What compile options do people use for TypeScript?
What's the difference in behaviour?
Here's my little approach at doing it manually. function start(task) { let cancelled = false; task(promise => cancelled ? new Promise(() => {}) : promise); return { ...