hg: lambda/lambda/jdk: Remove FlatMapper and relevant flatMap variants; migrate to flatMap(e -> stream) (original) (raw)

Marc Petit-Huguenin marc at petit-huguenin.org
Tue Apr 9 16:33:29 PDT 2013


-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256

On 04/09/2013 04:25 PM, Brian Goetz wrote:

1. Pluggable Op API. It became apparent very early on that this was not going to converge within the timeframe needed, and that we were better off focusing on the parts that were going to converge. Finishing this and including it in Java 9 is a high priority. (By the way, had we committed to any of the forms from, say, more than two weeks ago, we would have nailed ourselves into a corner but good. So this was clearly the right decision, it was just not ready to stabilize.)

Changing stuff, even fundamentally, even late in the game, is fine for me. What bother me is this increasing feeling of, hmm, claustrophobia when I try to do something with streams. I had plans for an I/O stream source where some parts of the pipeline can be removed and pushed closer to the hardware. That would have been cool. Right. We chose to keep the ability to give that to you eventually rather than give you something crappy now that almost but not quite gives you that (and never can be extended.) That feeling of claustrophobia -- which I totally understand -- has already yielded benefits that you might not have seen. For example, even thought this was not the intent, each feature we have taken away has led to performance improvements, some of them significant, which often is enabled by pruning the 2% use cases. Everyone benefits from this, even the 2% of the users that also suffer somewhere else. These are generally good trades. Our focus for 8 is providing the right user-level abstractions for people who want to do typical queries and transformations on Collections. The rocket-scientist applications necessarily must take a back seat until we get the former right.

OK. Thanks for taking the time to respond.


Marc Petit-Huguenin Email: marc at petit-huguenin.org Blog: http://blog.marc.petit-huguenin.org Profile: http://www.linkedin.com/in/petithug -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux)

iQIcBAEBCAAGBQJRZKVHAAoJECnERZXWan7EqXoP+wXaateVnY/jhHDHDnGMgMQ1 mJCxgdnjliZOzYPNxJRbl1mNaRAa+VBlJIe61jWI9icoZ2t8yHTYUmIsDamDQg22 mbx7paQ8XUEmhFAEY+NVJ3mbnTodDI9kgLLdhcLiFqa7/BSsRrK68LBBjdzZD+4A 9a8YcrUYlFwuHJZJO7/HO1XiFLBv537bMB+1rc3UulJMkCTD8SAtpzoWPBYVc2AQ Rf+V5jVlUTpPjrJoQTBLdHarVVLZ3X0TR6hTsc7JBllwNn040cOiJ48yQ61iZNnL Gi+/Z3MA5Gk+fc5/MvE8mnc5tyqUix6YRPTpE65hWVqrgAwv7t8Q9sk7WF5rfpMj AuRDEL/T9rNoPhkbfKuiGJPJ31IZtqgITfbhAS4h64GdDvee0x/2JrFZ7C9q5Nfi l5GRAteomC09u+QIgj2UfBlQWamJ/0r2mDbORxKrxFm9/FU6S+rqP8EhNiS/awgd pKFk1fJLpuTnfdXCORW1hLMMC3Q8hUF9PBpE+m7NDCivAtzoaXtUaObeNL/N3DST NrU1mqgxefRVjJvP9J2OtxFdT+unTZRhw0ly2T4E7YmEB9pp/Qe/lKSQFwfLlLEL qw7TumsAcvV1G9HETuqNwBUmYxKAvFd0322e5pYnXYE4s9nBTv6PsKOvZnJOMQ08 lnQlbUy/YEyh3e4wxosn =J8x5 -----END PGP SIGNATURE-----



More information about the lambda-dev mailing list