i want a language: — fast like c — can return arrays/objects — oo? — custom operator definitions (eg redefine + for a vec2) — extensible
-
-
i need about 184k lookups / sec for 2d displacement. it gets choppy quickly
-
Hm. I'm shocked there isn't like a pre-packaged approximation out there that gives you this much more quickly.
-
there *probably* is, but it gets really weird fast. taylor series? Chebyshev polynomials? CORDIC? idk what i need
-
and my shaky understanding of how c compilers (and computers) work is hampering me a bit here
-
I wouldn't implement Taylor series, but Chebyshev is a good starting point. And not a bad exercise anyhow.
-
yeah, the SO answers are great. 50% “use a taylor series!” 50% “im an actual engineer and holy fuck dont use the tay
-
I can still hear my russian NumComp professor: "you should always use Chebyshev it is better because it is Russian"
End of conversation
New conversation -
-
-
it's pretty counterintuitive but rasterization is actually abstractly harder than a continuum state
-
No it makes sense, I just find it striking that there aren't pre-packaged solutions. And I wasn't doing RT, but MC.
-
there is a standard solution, its a gpu,
-
how easy is using a gpu? im not particularly eager to write a ton of boilerplate for a handful of sin() calls
-
not easy
-
fucking hell. fuck computers
-
This is why i don't do low level stuff. I'm happier when it's the math that's broken.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.