Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
needusername
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
91.
▲
by
needusername
9y ago
Do you know whether Flight Recorder will be a non-commercial feature in Oracle JDK 11 and later? The reason I'm asking is because AppCDS which was a commercial feature in Oracle JDK 8 and is a non-commercial feature in OpenJDK 10 will
92.
▲
by
needusername
9y ago
I am not aware of any such plans. There is a supported API starting with Java 9 http://hirt.se/blog/?p=870 but it is "JDK" (Open/Oracle JDK and derivates) specific and lives in the jdk.jfr module and pac
93.
▲
by
needusername
9y ago
I don't think there is a plan to standardize it. They "just" move the code from the Oracle repo to the OpenJDK repo. I wouldn't assume J9 or Zing will adopt this.
94.
▲
by
needusername
9y ago
From what I understand the goals are similar but the approaches are different. - Shenandoah uses Brooks-style forward pointers whereas ZGC uses colored pointers and off-heap forwarding tables. - Shenandoah could in theory run on Windows, AF
95.
▲
by
needusername
9y ago
Eve at 6k+ simultaneous players has a 10s tick rate due to TiDi. At 6k+ simultaneous players Eve isn't actually playable. I don't think there's an other game with a 1s tick rate, AFAIK Eve has the worst tick rate in the busin
96.
▲
by
needusername
9y ago
I would say it depends, its quite easy to unknowingly depend on non-standard behavior that can break like HashMap iteration order. What often causes issues is that every release has a new byte code version and the ecosystem relies heavily o
97.
▲
by
needusername
9y ago
Also old APIs can be removed part of the every 6 months feature releases. In theory an API can be deprecated in Java 10 and removed in Java 11.
98.
▲
by
needusername
9y ago
Oracle offers support only for LTS releases. Oracle does not offer support for Java 9 and will not offer support for Java 10.
99.
▲
by
needusername
9y ago
I though most of the developed world is on 1 Gbit / 1 Gbit FTTH at this point.
100.
▲
by
needusername
9y ago
So what? 30 sec download time.
101.
▲
by
needusername
9y ago
What was your reason for not using database sequences?
102.
▲
by
needusername
9y ago
> Then you run javah, which gives you some C glue code that you eventually need to compile. That's deprecated and no longer supported in Java 10. The recommend way is to use javac -h. > This is very fast There is a certain call o
103.
▲
by
needusername
9y ago
> global Hi/Lo id generation system Can you elaborate a bit? Are you using an ORM, eg. Hibernate? If so have to considered other strategies like pooled-lo, IDENTITY or recursive CTEs that offer the same benefits but make the sequenc
104.
▲
by
needusername
9y ago
The thing is Java 9 will be end of live and receive no further updates after March 2018 (yes, that's three months away). > it's not nearly as big of a change in the language True, but there were quite dramatic changes to the JD
105.
▲
by
needusername
9y ago
In Java land the JDBC driver is supposed to do that. If it doesn't then that's a bug in the driver. If it's a bug in the JDBC driver then the fix needs to go into the JDBC driver, especially if the driver is on GitHub. The pr
106.
▲
by
needusername
9y ago
> providing abstraction for database-specific and driver-specific quirks That is quite theoretical. My PRs for fixing non-spec compliant behavior in pgjdbc get rejected because they might break some ORMs (mostly Play). My PRs for adding
107.
▲
by
needusername
9y ago
> I am not sure why they are so complicated Uh, the business rules alone. Want to compute scheme fee and interchange on a cross-domain DCC refund reversal, be my guest. Then add the kludges and hacks you have in financial services softwa
108.
▲
by
needusername
9y ago
> i thought jigsaw was about compilation artifacts. Nope, jigsaw doesn't affect compilation artifacts other than an additional module-info.class present in a .jar file. There is an intentionally completely unspecified, Oracle/O
109.
▲
by
needusername
9y ago
> Versioning is not currently built into Jigsaw, but Jigsaw provides all the building blocks necessary to support it in third-party tools. If I need third-party tools to validate my dependency graph at compile time and at runtime to ensu
110.
▲
by
needusername
9y ago
Nope, it makes things (a little bit) worse because now you also have to start up a module system.
111.
▲
by
needusername
9y ago
> Jigsaw was what held up the Java 9 released, due to some members rejecting the proposal. That was only a few weeks. If you check the official release schedule http://openjdk.java.net/projects/jdk9/ Jigsaw was
112.
▲
by
needusername
9y ago
It sounds interesting until you remember what a hassle native compilation is: 1. you need to compile on the exact same CPU make on model that you will run on (for now there's not cross compilation) 2. you need to compile with the exact
113.
▲
by
needusername
9y ago
> What is going on in the Java Land Could. Oracle and IBM are realising that WebLogic and WebSphere licensing revenue isn't going anywhere and if they want to grow revenue and achieve lock-in they have to find a new way.
114.
▲
by
needusername
9y ago
I'm really not a fan of these "clever" hacks that rely on compiler internals. That doesn't even work on ecj.
115.
▲
by
needusername
9y ago
An annotation processor does not seem to be a good fit here. Annotation processors can only generate new classes, not modify existing ones. So you would have to make all classes abstract and then generate non-abstract ones that have a #chil
116.
▲
by
needusername
9y ago
You're correct. In the old days that was the case. They were shared but only for money. These days Tomcat, TomEE and Payara can't claim Java EE compliance because they don't have a TCK. It is not clear to me wether this would
117.
▲
by
needusername
9y ago
> CDI, JAXRS, JPA, JTA, and JMS are brilliant technologies but are held down by the weight of legacy technologies. JMS is not a brilliant technology. It gets stuff done but it's not brilliant. Issues I have with JMS: - There is the
118.
▲
by
needusername
9y ago
> EE has been the cash cow that kept Java alive after applets fell out of favor. I have no insight into Oracles reasoning or finances, I can just see their actions. While I assume they make money off WebLogic licenses I can't image
119.
▲
by
needusername
9y ago
Nope, this is Oracle stop caring about Java EE. They are not doing this for Java SE as long as they are caring about Java SE. I also doubt IBM still cares about Java EE. Their last JSR (Batch/JSR-352) was particularly disgusting and se
120.
▲
by
needusername
9y ago
Yes, if the Payara guys manage to take over the project, do more frequent releases and pull off some major refactorings. I am not sure they have the resources.
More ›