Hacker News new | ask | show | jobs
by _aavaa_ 1514 days ago
This by the looks of it is in Jonathan Blow’s Jai language.

How are you finding working with it? Have you done a similar thing in C++ to compare the results and the process of writing it?

200k at 200fps on an 8700k with a 1070 seems like a lot of rabbits. Are there similar benchmarks to compare against in other languages?

1 comments

it's a lot of fun! jai is my intro to systems programming. so i haven't tried this in C++ (actually i have tried a few times over the past few years but never successuflly).

this is just a test of opengl, C++ should be the same exact performance considering my cpu usage is only 7% while gpu usage is 80%. but the process of writing it is infinitely better than C++, since i never got C++ to compile a hardware accelerated bunnymark.

the only bunnymarks i'm aware of are slow https://www.reddit.com/r/Kha/comments/8hjupc/how_the_heck_is...

which is why i wrote this, to see how fast it could go.

I thought Jai wasn't released yet. Are you a beta user or did he release it already?
It isn't released. That said, from people I know, it seems like you can just ask nicely and show some interest and he'll let you try it out.
That only applies if you are a known name (probably being known among his fans works too), or have somebody in his circle vouch for you. Regular people don't get in.
this is untrue. (source: firsthand)
Curious. Did that change more recently? When did you enter?
the official rendering modules are a bit all over the place atm... did you use Simp, Render, GL, or handle the rendering yourself?
just used raw GL calls from #import "GL". although i did #import "Simp" as well for Simp.Texture and Simp.Shader, which Simplified things quite a bit