gobdovan
Joined 5 years ago
Joined 5 years ago
> What was that code?
literally:
``` function numericKernel(a, b, out, n) {
for (let i = 0; i < n; i += 4) {
out[i] = a[i] * b[i] + 0.25;
out[i + 1] = a[i + 1] * b[i + 1] + 0.25;
out[i + 2] = a[i + 2] * b[i + 2] + 0.25;
out[i + 3] = a[i + 3] * b[i + 3] + 0.25;
}
}
```Asking cuz I'm preparing an article on how fast JS can get and found the same thing, you can get in 10% of optimised C-code with basically any code if you torture V8 enough (excepting SIMD where there seems to be a bug in V8 where it doesn't optimise to SIMD even when beyond obvious). Figured out I could extract it in a lib and do it more streamlined but not sure how well manual transforms generalise.
Also, when working on the roc-deflate, did you find recurring transformations that could fit that model or were most improvements specific to compression?
You'd think performance would be easy to achieve because you'd just write clear, high-level declarative facts and LLM + good optimiser + proof certification system will get you there in terms of performance. But you'll be surprised that relational/declarative specification gives you so much behaviour 'for free' that choosing what to actually compute from those relations is a very deliberate choice. It starts to look like finding an imperative-like path of demand through the relations. It seems that you get exactly the same problems but one level up.
Also, if all LLMs would write in the style from the article, in how much time that would be the recognised LLM style people would get sick of? I suppose longer? But even the current style of LLMs was palatable when they first came out.
In fact, your claim is strong and quite easy to test. If watching the series gives people a better fundamental understanding which makes subsequent learning more efficient, take matched novices, randomise them to watch the series or not, then teach both groups some later lin alg materials and measure learning gains on novel problems.
That's the kind of test I mean, not 'can you grind through the course exam'.
If your claimed deeper understanding neither improves what someone can do afterwards nor how efficiently they learn related material, I'm not sure what observable content the claim has.