Get the latest tech news

How fast is Go? Simulating particles on a smart TV


The challenge, simulate millions of particles in golang, multi-player enabled, cpu only, smart tv compatible.

Way back when in the days of Doom 3 when Mr. Carmack was in his prime, games would calculate lighting based on building shadow geometry from polygons. For low latency realtime apps UDP would be better as it allows unordered messages preventing head of line blocking. I tried to use a fast inverse square root function but for some reason the go version of it didn't work at all which is weird because js lands had no issue.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of smart TV

smart TV

Photo of particles

particles

Related news:

News photo

“Bottlebrush” particles deliver big chemotherapy payloads directly to cancer cells | Outfitted with antibodies that guide them to the tumor site, the new nanoparticles could reduce the side effects of treatment.

News photo

Relax while watching bouncing particles making connections when they get closer

News photo

Particle gains or loses mass depending on direction it travels