Live data from Hacker News

Doom in Django: testing the limits of LiveView at 600.000 divs/segundo

en.andros.dev

1–10 of 55 posts

Re: Doom in Django: testing the limits of LiveView at 600.000 divs/segundo

#3
post #2

In the blog post it uses "600,000 divs/second!" and "10,000 divs using its template engine" while the heading uses 600.000. I assume the difference in usage of full stop / period or comma is accidental?

Yes, you right hehe. I had fixed!

Re: Doom in Django: testing the limits of LiveView at 600.000 divs/segundo

#7

if only i could run django on cloudflare workers guess i could run it on a dedicated server would be nice if we can get django and liveview working without a server

you can do it on wasmer's workers, their last wasm/python approach is pretty solid (compatibility, performance). it's sad to say, but after 4 years of "beta" Python support on CF workers - it's still ugly. I dunno who was responsible for such a neglect, but even with the last changes - total fiasco

Re: Doom in Django: testing the limits of LiveView at 600.000 divs/segundo

#8
Since Doom renders the image with vertical columns of pixels (floor, lower wall, portal if exists continues rendering the other sector, then upper wall then ceiling) and since browsers are very good at drawing the sprites out of larger textures... You could send vertical divs shaded with the sector light level and picking the correct textures. Instead of hundreds per column you will have like 5 divs on average per column and they will be textured shaded and scaled by the browser?

Re: Doom in Django: testing the limits of LiveView at 600.000 divs/segundo

#9

if only i could run django on cloudflare workers guess i could run it on a dedicated server would be nice if we can get django and liveview working without a server

I wish we could host Django apps with the tasks and everything on Cloudflare workers. Also it would be nice to have a DB like SQLite within Cloudflare.
Post reply on HN