Reactive Streams VS pidove

Compare Reactive Streams vs pidove and see what are their differences.

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
Reactive Streams pidove
16 9
4,747 46
0.2% -
1.9 0.0
about 2 months ago almost 2 years ago
Java Java
MIT No Attribution MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

Reactive Streams

Posts with mentions or reviews of Reactive Streams. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-01-10.
  • CompletableFuture vs Flow
    1 project | /r/java | 13 Oct 2023
    Taken from https://www.reactive-streams.org/
  • Reactive Backend Applications with Spring Boot, Kotlin and Coroutines (Part 1)
    7 projects | dev.to | 10 Jan 2023
    Reactive programming is a paradigm that focuses on non-blocking and asynchronous processing of tasks. One set of specifications/abstractions for reactive programming on JVM is called Reactive Streams. Project Reactor is a message-driven, type-safe and functional implementation of Reactive Streams, and it is used by Spring (via spring-webflux module) to enable reactive web applications. Reactive streams model the data processing as a stream with one end producing the values and one end consuming them.
  • Brief Intro to Reactive Streams with Project Reactor
    2 projects | dev.to | 1 Jan 2023
    The reactive streams API provides the specification for non-blocking async streams processing with back pressure mechanism, and Project Reactor is an implementation written in java.
  • Whats the fuzz about Cats and Zio? ELI5
    1 project | /r/scala | 12 Dec 2022
    Cats Effect is a little more than just an IO effect implementation as they also provide an interface (or a standard) against implemented as typeclasses. You could think of it as a Java's Reactive Streams library which allows switching underlying implementation of actual effectful streaming.
  • Cosmos DB for Spring Developers, Part I: Using Cosmos DB as a SQL Database
    5 projects | dev.to | 18 Aug 2022
    NOTE: The Reactive Streams API and the implementation of it as provided by Spring WebFlux/Project Reactor is beyond the scope of this particular article. Please consult the appropriate documentation at the 'Web on Reactive Stack' Spring documentation site, any of several sessions I've delivered available on my YouTube channel, or by visiting the Reactive Streams and Project Reactor sites.
  • Show HN: Pidove, an Alternative to the Java Streams API
    3 projects | news.ycombinator.com | 5 Jun 2022
    There is a very big design space for "Stream" APIs.

    Microsoft's LINQ for instance can compile a stream operation into a SQL statement and JooQ does the same. That system offers query optimization and efficient joins that depend on the query system having complete visibility into the queries. indexes built ahead of time, etc.

    Another extreme is a system like

    https://www.reactive-streams.org/

    that are especially good for apply a filter and map and other operations to a stream of real time events, e.g. instead of having a pull operation such as a for-loop over an Iterable, items go into the system from a stream.

    I've worked on systems that use the later kind of streaming to run batch jobs and you can get great performance (780% speedup with 8 cpus) on crazy heterogenous workloads. You do have to be careful though to shut the system down or flush it out or otherwise you get wrong answers. Frequently those frameworks don't shut themselves down properly unless you implement clean shutdown yourself.

    The point is that operators like "filter" and "map" and the rest are so powerful because they are portable between the minimal pidove up to a Hadoop cluster.

  • Quine Ingest Streams
    1 project | dev.to | 23 May 2022
    Backpressure is a protocol defining how to send a logical signal UP the stream with information about the downstream consumers readiness to receive more data. That backpressure signal follows the same path as data moving downstream, but in reverse. If downstream is not ready to consume, then upstream does does not send.
  • What is the current state of the art for efficiently handling blocking requests in Java/Spring?
    3 projects | /r/java | 30 Apr 2022
    Reactive libraries like reactor are build on the Reactive Streams specification, just read that first sentence.
  • Project Loom: Understand the new Java concurrency model
    1 project | /r/java | 10 Mar 2022
    Not a well written article. "Fiber" was dropped by spec team way back in favor of "virtual thread". Mentions "Rx Java" but not http://www.reactive-streams.org/ as a standard for existing async IO. I mean anyone who has done reactive java long enough can tell you about various implementations! I expected a better article from infoworld.com
  • When consuming from a reactive stream is it more like a literal stream where items in the stream ay go by and not get consumed while you're busy, or is it more like a queue?
    2 projects | /r/learnjava | 3 Aug 2021

pidove

Posts with mentions or reviews of pidove. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-11-03.
  • Java JEP 461: Stream Gatherers
    3 projects | news.ycombinator.com | 3 Nov 2023
    Streams is too complex for what it does and it doesn’t even parallelize well. Here is something that does roughly the same thing but I think is way better

    See https://github.com/paulhoule/pidove

    https://central.sonatype.com/artifact/com.ontology2/pidove

  • Java 21: The Nice, the Meh, and the Momentous
    3 projects | news.ycombinator.com | 22 Sep 2023
    (1) It's a bit of a bad smell (which he points out) that records aren't being used much at all in the Java stdlib, I wrote something that built out stubs for the 17 and 18 stdlibs and that stood out like a sore thumb. I do like using records though.

    (2) I've looked at other ways to extend the collections API and related things, see

    https://github.com/paulhoule/pidove

    and I think the sequenced collections could have been done better.

    (3) Virtual Threads are kinda cool but overrated. Real Threads in Java are already one of the wonders of the web and perform really well for most applications. The cases where Virtual Threads are really a win will be unusual but probably important for somebody. It's a good thing it sticks to the threads API as well as it did because I know in the next five years I'm going to find some case where somebody used Virtual Threads because they thought it was cool and I'll have to switch to Real Threads but won't have a hard time doing so.

  • Ask HN: What problems do Generators solve in Java?
    1 project | news.ycombinator.com | 5 Jul 2023
    I think that guy just made up a generator class for fun. It’s not too different from the integrator except it doesn’t have a hasNext() method so it either returns results forever or it has to return a sentinel value like null or return an exception to end iteration.

    Somebody could make the case that returning a sentinel value or an exception is a better API since there is no risk somebody else is going to call the next() method after you call hasNext() and next(). Writing a generator that wraps a generator is a little simpler than writing an interest or that wraps an iteration because you don’t have to write a hasNext() function, which can occasionally be awkward.

    That generator library has a few functions, like map that work on generators, unfortunately the Java stdlib doesn’t come with anything like that. (There is the streams API but it is over-complicated.)

    I’ll point out this library I wrote

    https://github.com/paulhoule/pidove

    which does a lot of what the Steams library does but it works on iterators without creating streams. If you like those generator examples you might like pidove.

    As for Python it is kinda accidental that generators would up related to coroutines, that is, generators were an easy way to implement coroutines, later async/await and stuff like that got added.

  • Overinspired?
    2 projects | news.ycombinator.com | 10 Mar 2023
    I find this alien to my point of view. On the other hand, my side projects aren't driven by FOMO but are more like the "special interests" of autistic people.

    Most of the time I have three side projects going on, maybe two of which are really getting the attention they deserve and one that is languishing. (See my profile to see about my current three.) Occasionally I get inspired to spend 1-4 weekends on some sudden inspiration, of which

    https://github.com/paulhoule/pidove

    came to completion but

    https://github.com/paulhoule/ferocity

    probably won't. The project I'm working the hardest on now is something that I was baffled that it didn't exist 18 years ago but felt compelled to do something out because of the Twitterinsanity last December and it turned out the technological conditions right now make it the perfect time to work on.

  • JDK 20 and JDK 21: What We Know So Far
    7 projects | news.ycombinator.com | 9 Mar 2023
    When I saw sequenced collections earlier I didn’t like the design but I completely approve of the latest revision. One nice thing about the process they use to develop Java is that they really do work and rework new features to make them great.

    I just wish that instead of Streams they’d made something more like

    https://github.com/paulhoule/pidove

  • I love building a startup in Rust. I wouldn't pick it again
    11 projects | news.ycombinator.com | 17 Feb 2023
    ... or you can just use a sane FP library like

    https://github.com/paulhoule/pidove

    Some people don't like the Lispy signatures so I did start coding up a version with with a fluent interface but didn't quite finish.

  • “I've never heard anyone say that they loved Java” (2001)
    2 projects | news.ycombinator.com | 26 Jun 2022
    Inner classes are pretty useful.

    This library contains a huge number of Iterables, each of which has at least one Iterator implementation.

    https://github.com/paulhoule/pidove

    It is convenient to let the Iterator be immutable and the Iterator be an inner class that gets its configuration information out of the Iterable.

    (That said, if people really thought seriously about Iterator being a Supplier people might think more rationally about error handling. Also in a slightly parallel universe the Iterator would only have one method since remove() hardly ever gets used and having both hasNext() and next() methods is asking for bugs.)

  • Show HN: Pidove, an Alternative to the Java Streams API
    3 projects | news.ycombinator.com | 5 Jun 2022
  • Ask HN: Working Offline for 8 Hours?
    1 project | news.ycombinator.com | 16 Apr 2022
    If you were programming in Python or many other languages you could download documentation locally.

    In both Python and Java doing a mini-project I frequently challenge myself to only use the standard library. It's good for practicing HackerRank-rank style programming (the fun of single-file Java)

    When I am waiting for builds I sometimes hack on this

    https://github.com/paulhoule/pidove

    because I don't really like the Streams API and want to perfect my mastery of generics and internal DSLs.

    Now that I think of it, standard-library only for node seems like a good challenge for me because I code a lot of front-end Javascript but just barely know the node API.

What are some alternatives?

When comparing Reactive Streams and pidove you can also consider the following projects:

RxJava - RxJava – Reactive Extensions for the JVM – a library for composing asynchronous and event-based programs using observable sequences for the Java VM.

proposal-explicit-resource-management - ECMAScript Explicit Resource Management

Mutiny - An Intuitive Event-Driven Reactive Programming Library for Java

project-loom-c5m - Experiment to achieve 5 million persistent connections with Project Loom virtual threads

reactor-core - Non-Blocking Reactive Foundation for the JVM

ferocity - Write Java expression trees, statements, methods and classes with a LISP-like internal DSL

Reactor

Newt - Autogenerate a .Net (C#/EF Core) data project (class library with entities and data contexts) from a Postgres database, plus Graphviz and SQL.

Vert.x - Vert.x is a tool-kit for building reactive applications on the JVM

gophercon22-parser-combinators - Simple parser combinator package as shown at GopherCon 2022

ea-async - EA Async implements async-await methods in the JVM.

go - The Go programming language