stackotter / delta-client

An open source Minecraft Java Edition client built for speed.
https://deltaclient.app
GNU General Public License v3.0
322 stars 33 forks source link

Remove reliance on NIO #150

Closed stackotter closed 1 year ago

stackotter commented 1 year ago

This isn't urgent, but it'd be nice not to rely on the Swift NIO library anymore because it's very bloated and Delta Client uses a different library (FlyingSocks) for network sockets. The only feature that NIO is used for is in conjunction with NioDNS. To remove NIO we either need to replace NioDNS with another library that doesn't use NIO (I don't think one exists) or implement DNS resolution (specifically only for SRV records) on our own.

stackotter commented 1 year ago

Woohoo, done. I had to change to another DNS library because NioDNS didn't provide everything I required anymore (and the new library is way better anyway).