Skip to content

u/Gloriouspieps

In this archive from Jul 2018 to Jun 2022

10
posts
20
comments
2
media
223
score

Top posts

NPCs in a multiplayer game

When it comes to writing native netcode it's always very difficult to find strategies and papers. One of the concepts that continues to baffle me is how games that rely on a large amount of NPCs implement them. A straightforward example is a zombie shooter: zombies are non-playable characters that h...

25 points11 comments
Open on Reddit

Garbage collection A* pathfinding C#

Hi folks, I've got a short question regarding garbage collection. While back I struggled with A-star on very large grids(thousands by thousands) as I would run out of memory. A-star uses a frontier, which did get rather big but wasn't actually bottlenecking anything. So what I tried, and worked, is...

8 points7 comments
Open on Reddit

Top comments

I never really understood the advantage of Cython. Granted it translates a little less roughly to bytecode by virtue of not having to infer all types (which is ironically the one part CPython does really fast), but it's still Python and excruciatingly inefficient and interpreted. You should take a look at the intermediary code to see how bloated it is.

If you want performance just use a statically compiled language.

10 points

Subreddits

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.