ReactiveX / RxJava

RxJava – Reactive Extensions for the JVM – a library for composing asynchronous and event-based programs using observable sequences for the Java VM.
Apache License 2.0
47.85k stars 7.61k forks source link

RxJava on JDK 21's virtual threads #7763

Open abersnaze opened 1 week ago

abersnaze commented 1 week ago

I'm exploring implementing a new branch of RxJava, where the internals are rewritten to leverage JDK 21's virtual threads. I hope this will significantly simplify Rx's internal implementation and debuggability while maintaining the same interface as 3.x.

This issue is to discuss the idea positively to address architectural problems with compatibility and performance.

I haven't yet set a time frame for when or if this will be completed. I will only submit this with the community's approval. If a community of developers likes this idea and runs with it faster than I keep up, I'm also okay with stepping aside.

@akarnokd et al., Before we discuss the merits or implementation of the idea, are there any additional ground rules for this discussion?

akarnokd commented 1 week ago

are there any additional ground rules for this discussion?

None I can think of right now.