Faster than the LuaJIT's interpreter... with the JIT disabled. would've been nice to make that more clear.
HN user
farzher
the answers are more absurd than the questions
Amazon calculates a product's star rating using machine-learned models instead of a simple average.
lmao! i thought you linked me to an April fools page for a second .-.
"63% of reviews are 5 stars" but when you filter to 5 star reviews, there's zero. small indie company. i'm guessing this is all just an excuse for Amazon to inflate their numbers
anyone have an explanation for this? this isn't an issue of fake/bot reviews.
why does Amazon say the product is 4/5 stars even though no reviews are saying that... ?
i'm just starting learning directx and noticed it can render a triangle at 12,000 fps! i had no clue this was possible. i don't think there's any room for input delay there, but i'll find out
jai's irrelevant to the performance here, but it's very relevant to how easy this was to make. i'm not a systems programmer. i've tried writing hardware accelerated things like this in C++ but have failed to get anything to compile for years. the only reason i was able to get this working is because of jai. this is my first time successfully using openGL directly, outside of someone else's game engine
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
writing 100% of the code on the gpu can render 10,000,000 triangles per frame at 60fps ... even in the web browser! (because there's no javascript running) https://www.youtube.com/watch?v=UNX4PR92BpI
but yes, that's cheating, since it's impractical to work with
you can write 100% of the code on the gpu. but that's impractical to work with. i did that here to see how fast webgl can go, since javascript is so slow https://www.youtube.com/watch?v=UNX4PR92BpI
for this bunnymark i have 1 VBO containing my 200k bunnies array (just positions). and 1 VBO containing just the 6 verts required to render a quad. turns out the VAO can just read from both of them like that. the processing is all on the CPU and just overwrites the bunnies VBO each frame
One fun thing I discovered is just how low latency a pure CPU rasterizer can be compared to a full CPU-GPU pipeline
i'm definitely going to have to test that! always trying to minimize input delay
you're not missing anything, it's not impressive. i was just checking how fast computers are and sharing the results. my original title was "an optimized 2d game engine can render 200k sprites at 200fps" but the mods changed it to match my youtube title (which made it a lot more popular). and the fact it's written in jai isn't relevant, it's just what i happened to use
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 finally got around to writing an opengl "bunnymark" to check how fast computers are.
i got 200k sprites at 200fps on a 1070 (while recording). i'm not sure anyone could survive that many vampires
sorry to hear you got scammed out of $5000 /:
in California the fastest internet available to me is 50Mb/s. and it constantly spikes to 1000ms pings.
i saw a dude living miles off-grid in Sweeden with a fiber connection routed to his tiny house in the woods ...
my windows computer has trouble sleeping. it always randomly wakes up :( quite annoying waste of power
wtf is the color of 0cf4c7.png ? it's different in every browser, and even when you download the file, it's again different in every program that opens it. this is not just a browser issue.
the Photos app on Windows 11 renders it as 01f4c7. almost 0 red. (although come to think of it, maybe the Windows 11 Photos app is an embedded browser, lol)
this is the worst experience ever on a gaming mouse that scrolls 1 tick at a time
l hate this type of sliding puzzle. but the site is very nice. it's alike a rubik's cube for babies
turn back on the computer and play elden ring. touch grace
the article gives a bunch of examples where gpt-3 gives a bad answer, until the next day where if you ask the same exact question now it has a good answer ready
Gary: Does grape juice taste better if you add sour milk?
GPT-3, March 18: I’m not sure if grape juice tastes better if you add sour milk.
GPT-3, March 19: No, grape juice does not taste better if you add sour milk.
cosmetic cash shops is actually the best thing to happen to video games. i remember back when most multiplayer games were pay2win! now that's not a common thing anymore thanks to people paying for cosmetics
it plays like garbage
passwords get leaked more than cracked. this article is dumb
the internet doesn't travel at the speed of light. i think it's around 2/3 the speed of light. could still reduce that ping by about 33%
the html formatting is whack. also where's the switch from HDD to SSD ?
you actually sat there and watched a 17MB gif video at 1x speed with no controls? lol. worst landing page i've ever seen
ah, i see, the game is much better when you don't have a 165hz monitor. maybe fix that. lol
why does this have so many upvotes???????????????????????????
good, we like chips