Linear Space Program
76 subscribers
162 photos
16 videos
11 files
49 links
Побочные эффекты игростроения на хаскеле.

https://icrbow.itch.io/

Чатик: @HaskellGameDev
Дискорд: https://discord.gg/vxpWtBA
Download Telegram
Linear Space Program
🤖💭🐟
Never not photobomb debug captures
This media is not supported in your browser
VIEW IN TELEGRAM
New "game" mode - observation lounge.

Where nothing would ever happen... if not for the bots.
This media is not supported in your browser
VIEW IN TELEGRAM
How to cook with your CPU:

1) Write heavy array processing in unoptimized code
2) Apply food
3) ???
4) PROFILE!
Haskell Performance tip: Instead of calculating trajectory for each frame, just calculate it into infinity and put into store. Then simply consume segments frame by frame ☕️
This media is not supported in your browser
VIEW IN TELEGRAM
Sure, infinite segments may be too much to render. You can, however skip over boring places that are too short to draw. And *then* taking just enough items.
With a few tweaks to path compression numbers it can now draw a few dozens of ships, farther in time and without perceptible degradation.
Linear Space Program
With a few tweaks to path compression numbers it can now draw a few dozens of ships, farther in time and without perceptible degradation.
I wonder how much performance is still left up for grabs with things like repa/accelerate and more diligent coding in general.
Can't optimize without profile.
Won't optimize without benchmarks.