Hacker Newsnew | past | comments | ask | show | jobs | submitlogin



That's great, thank you. I was just thinking about starting a collection of these to begin rewriting my old 3D engine from the late 80s.


Please, post the progress if you end up rewriting it.


I'd love to see some benchmarks on your fastmath package


It's… probably not worth it.

I just wrote this years ago (go.mod said 1.12) for the fun of it, thought I had it in a Gist/GitHub, and uploaded it yesterday in response to this post.

One thing I remember trying was coding this up in ASM… which makes it worse, because it prevents inlining. But I learned the Go ASM syntax that way.


Very interesting, thank you for posting it.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: