Andrew Steinborn

Results 109 comments of Andrew Steinborn

> the JIT is able to optimize away the allocation This is highly specific to the use case (it relies on a _lot_ going right in ways that are hard...

I talked about this on Discord a bit. I think this would be a lot better if we called it `Component.compose(ComponentBuilderApplicable...)` instead.

You can't do this without either the JVM exposing the Windows build or writing native code to get the build. I don't see either happening (the former, maybe, the latter...

I noticed this issue back in October 2018 when our application was OOMing, and I quickly traced the issue back to `UTF8Encoding`. I was going to open a PR at...

Judging from JEID's resource code, it extends [the potion effect packets in a non-standard way](https://github.com/DimensionalDevelopment/JustEnoughIDs/blob/d095e791ae474e813d69bfcfaa6d1861f1ac178f/src/main/java/org/dimdev/jeid/JEIDTransformer.java#L123) which breaks Waterfall because of a fix to a [Forge 1.8 issue](https://github.com/PaperMC/Waterfall/blob/master/BungeeCord-Patches/0032-Fix-potion-race-condition-on-Forge-1.8.9.patch). I see three...

Sadly, the broken BungeeCord API in question can't be fixed. If a plugin only uses the Waterfall methods, then everything will work, but CloudNet presumably needs to support upstream BungeeCord...

There really isn't, unless we break BungeeCord API compatibility. And at that point, you might as well just use Velocity.

An idea: Velocity implements its scheduler by using a dedicated executor alongside a single-threaded scheduled executor to fire periodic tasks.

I'll provide a potted explanation as to why TyphoonCore doesn't work with Velocity's modern forwarding: Velocity's "modern" forwarding is based on the [Login Plugin Request](https://wiki.vg/Protocol#Login_Plugin_Request) and [Login Plugin Response](https://wiki.vg/Protocol#Login_Plugin_Response) messages....

Velocity itself will work just fine with TyphoonCore, only Velocity's custom IP forwarding won't work. Legacy forwarding should be fully supported as it's the same protocol used by BungeeCord.