linq4j

Julian Hyde julianhyde at gmail.com
Mon Jun 11 16:45:04 PDT 2012


I am working on a project to port LINQ to Java. It is called linq4j [ https://github.com/julianhyde/linq4j ].

I am avoiding the syntactic sugar aspects of LINQ at first. So, in essence, I am re-creating the Queryable interface that exists in .NET [ http://msdn.microsoft.com/en-us/library/system.linq.queryable ]; but I am having to re-create the Enumerable [ http://msdn.microsoft.com/en-us/library/system.linq.enumerable ] interface first, since it has many of the same methods, albeit using real arguments instead of expressions. Now I see that the Lambda project is doing similar work (e.g. the extension methods to Iterable described in http://cr.openjdk.java.net/~briangoetz/lambda/collections-overview.html are very similar to .NET's Enumerable interface).

I have no particular desire to make things look identical to .NET, but I was not aware of any comparable work in the Java world.

Are there grounds for us to collaborate?

Julian



More information about the lambda-dev mailing list