Skip to content

The Reckoning#54

Draft
Fuzzyzilla wants to merge 11 commits intomasterfrom
breaking-it-over-my-knee
Draft

The Reckoning#54
Fuzzyzilla wants to merge 11 commits intomasterfrom
breaking-it-over-my-knee

Conversation

@Fuzzyzilla
Copy link
Owner

  • New IPC/TCP Client/Server architecture.
  • Broken into more crates. fuzzpaint and core was a nonsense dichotomy, now it actually makes sense.
    • Should help compile time, once I begin exfiltrating code from the aforementioned pair.
  • More effective and entirely-encapsulated use of tokio async.
    • This is intentionally not an async codebase, and I do not want async to infect the entire program. Async is used only where it provides better performance, such as the future-racing pattern for using one thread to listen for notifications on many channels. Aggressive encapsulation avoids locking us into one ecosystem~.
    • Currently, tokio is used, as ironically it is smoller than smol. Its current-thread executor is a true one-thread executor, whereas smol spawns a central management thread.
    • Writing custom futures is fun omg
  • More functionality with fewer threads. (Main UI thread, one server process, client-server poller thread)
    • Fixme - Libraries spawn a BUNCH of threads. Yucky. Whyyy
  • Cleans up some of the oldest crustiest code.
  • Coincidentally fixes CPU Spinning #41, now idles at 0% CPU.

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.

CPU Spinning

1 participant