Re:Show HN: A fast append-only data store for Java 8
by agibsonccc on Tuesday April 14, 2015 @05:14PM
(#9377408)
If only enterprise didn't move so slow =/. I wish I could migrate to 8.
Re:Show HN: A fast append-only data store for Java 8
by famousactress on Tuesday April 14, 2015 @05:34PM
(#9377521)
Thanks. Curious... are the parens meaningful in this method body?
private int getPartition(int globalInsertionPosition) {
return (globalInsertionPosition) / this.sizePerPartition;
}
Re:Show HN: A fast append-only data store for Java 8
by probablyfine on Tuesday April 14, 2015 @05:35PM
(#9377531)
No, that's likely a leftover from refactoring. Good spot.
Re:Show HN: A fast append-only data store for Java 8
by famousactress on Tuesday April 14, 2015 @05:46PM
(#9377583)
Haha, no worries! I've been checked out of Java for a while and I was a little bit worried that this was semantically meaningful, which would be a pretty confusing addition to the language :)
Re:Show HN: A fast append-only data store for Java 8
by tlrobinson on Tuesday April 14, 2015 @07:27PM
(#9377984)
What are the Java 8 features being used here, besides the obvious lambda expressions?
(genuine question, I haven't stayed current with Java)
Re:Show HN: A fast append-only data store for Java 8
by cedrickthecrow on Wednesday April 15, 2015 @03:43AM
(#9379420)
Optional is also new to Java 8 although syntactically very similar that Guava.
Example:
https://github.com/mrwilson/java-dirty/blob/master/src/main/...