Why Nostr? What is Njump?
2024-03-15 14:03:40
in reply to

Alex Nedelcu on Nostr: npub1yy8jn…vyfzq You may be right, but Future was also liked because the API was ...

You may be right, but Future was also liked because the API was nice (e.g., flatMap, sequence), even if it was more error-prone. And the trouble with Java's thread-pools is that they are often limited, so blocking threads is error-prone. And Future did not have the performance of Cats-Effect IO.

Java could've had one thread-pool, like System.Threading.ThreadPool from dotNET. Probably bad idea for constrained devices (Android), but not for server-side.
Author Public Key
npub1y3j2nxan5t86eck4qqpjwg0mmd8sx66vjf3y6gpe5ywv9448gjjq0xzwz9