Replace PhysFS with actors #27

Open
opened 2025-06-04 15:56:24 +00:00 by john · 1 comment
Owner

A PhysFS style actor would have a team of actors. Each actor would represent a mountpoint. A zip reader actor would mount a zip folder; and then, the PhysFS actor would request a file from that one; etc. The physfs actor, when presented with a file request, could query each source in parallel. It could even mount websites.

A PhysFS style actor would have a team of actors. Each actor would represent a mountpoint. A zip reader actor would mount a zip folder; and then, the PhysFS actor would request a file from that one; etc. The physfs actor, when presented with a file request, could query each source in parallel. It could even mount websites.
Author
Owner

To be more specific: the physfs actor would manage a fleet of actors, each one a particular mountpoint. There would be a zip reader, fd reader, an http reader, etc. an http reader mounted to "http://www.assets.com/mario" would look for that address + "luigi.png", etc. Then the physfs actor, when queried for a file, would ask each of its fleet if it has it; and return the first one.

To be more specific: the physfs actor would manage a fleet of actors, each one a particular mountpoint. There would be a zip reader, fd reader, an http reader, etc. an http reader mounted to "http://www.assets.com/mario" would look for that address + "luigi.png", etc. Then the physfs actor, when queried for a file, would ask each of its fleet if it has it; and return the first one.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: john/cell#27
No description provided.