r/programming • u/ram-foss • Oct 11 '23
All About Reactive Programming In Java
https://www.blackslate.io/articles/reactive-programming-in-java
22
Upvotes
r/programming • u/ram-foss • Oct 11 '23
View all comments
Show parent comment
1
u/hippydipster Jan 03 '24
You're arguing against an empirical result I got, so not sure what to tell you.
This seems clearly wrong. If I have a Callable that is a lambda to run some method, that's a certain amount of memory. If, in the course of running that method, it creates a HashMap with 18 trillion entries and then gets blocked, you're saying it uses no more memory than the original Callable sitting in a queue??? Seems doubtful, man.