Ticket #910 (new task)

Opened 2 years ago

Last modified 2 years ago

move soy.Window to soy.windows

Reported by: ArcRiley Owned by:
Priority: High Milestone: beta3
Component: soy.windows Version: Trunk
Keywords: Cc:

Description (last modified by ArcRiley) (diff)

Feedback Requested

The idea is to empty the root soy. namespace except for documentation. This makes it easier to see the extensions in a dir() and the hierarchy cleaner.

We originally put these classes in _core in order to group all platform-specific code in one location. That is no longer an issue with Pyrex 0.9.6

Also, the idea of a single additional "CoreLoop" thread has proven to be disadvantageous, especially with Pyrex's new GIL support. We could attain a much higher fps, in addition to smaller compiled size and less code complexity, by splitting CoreLoop into TransportLoop, WindowLoop, SceneLoop, etc which are run by their respective extensions (soy.transports, soy.windows, soy.scenes, etc).

Since everyone who has commented on this idea has agreed, including earlier talk of splitting physics and rendering for multi-core optimization, it's time to implement.

Thinking into the future, we should be trying to resolve these API choices now to stabilize for Beta-3+.

Change History

Changed 2 years ago by ArcRiley

  • type changed from idea to task
  • description modified (diff)
  • summary changed from move soy.Screen and soy.Window to soy.display, fold remaining _core into _internals to move soy.Window to soy.windows

Changed 2 years ago by ArcRiley

  • component changed from _core to soy.windows
  • description modified (diff)
Note: See TracTickets for help on using tickets.