Skip to content

imeplement concurrent chunk generation#1216

Open
FDUTCH wants to merge 15 commits into
df-mc:masterfrom
FDUTCH:concurrent_chunck_generation
Open

imeplement concurrent chunk generation#1216
FDUTCH wants to merge 15 commits into
df-mc:masterfrom
FDUTCH:concurrent_chunck_generation

Conversation

@FDUTCH
Copy link
Copy Markdown
Contributor

@FDUTCH FDUTCH commented Mar 28, 2026

This pr implements concurrent chunk generation with no additional locks.
But it is not ready for production use and it requires testing on a multiplayer server.

PS. No AI was used...

@FDUTCH FDUTCH marked this pull request as draft March 28, 2026 15:41
@FDUTCH
Copy link
Copy Markdown
Contributor Author

FDUTCH commented Mar 28, 2026

okay, now it feels really stable

@FDUTCH
Copy link
Copy Markdown
Contributor Author

FDUTCH commented Apr 7, 2026

should I also call world.Provider asynchronously?

@HashimTheArab
Copy link
Copy Markdown
Collaborator

take reference from this PR for some things HashimTheArab#7

@FDUTCH
Copy link
Copy Markdown
Contributor Author

FDUTCH commented Apr 7, 2026

take reference from this PR for some things HashimTheArab#7

I don't really like how this is done in your brunch:

  1. it is too over complicated
  2. it has additional locks
  3. I don't like workers concept

I was planing to make pr in the future that will allow you to swap low level systems of the world to your own, like how world is handling ticks, chunk requests and such...

@FDUTCH FDUTCH marked this pull request as ready for review April 11, 2026 18:08
@FDUTCH FDUTCH changed the title imeplement concurrent chunck generation imeplement concurrent chunk generation Apr 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants