this post was submitted on 27 Jul 2023
141 points (97.3% liked)

Selfhosted

40255 readers
1006 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

Yup. always gotta be that one single threaded program. In this case, appears to be frigate.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 6 points 1 year ago (2 children)

Multithreading in games is much more difficult because you not only have to make sure, everything is synchronized, but also that everything finishes in time. It's a bit like a RTOS in that regard. Using a known and fixed amount of threads can be a sane choice.

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago) (1 children)

Yup, glad someone else understands that one.

Not much of a game developer myself- but, yea, I understand the challenges of multithreading, especially around the main loop.

If you want to learn something interesting, check out a few videos on the PS2 architecture, and the challenges around optimizing games for it. Its, very interesting.

https://www.youtube.com/watch?v=IRv_xKS4q7o

Oh, and the PS3 wasn't any better. (Worse in ways..)

https://www.youtube.com/watch?v=zW3XawAsaeU

[–] [email protected] 2 points 1 year ago

Here is an alternative Piped link(s): https://piped.video/watch?v=IRv_xKS4q7o

Piped is a privacy-respecting open-source alternative frontend to YouTube.

I'm open-source, check me out at GitHub.

[–] bouh 0 points 1 year ago

Not always true. Not for all games. And multiplayer games already have multithreading in some way.