Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
needusername
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
61.
▲
by
needusername
7y ago
You would probably rather write a JVM agent that changes the class references. Eclipse will almost surely fork the namespace to something jakarta related.
62.
▲
by
needusername
8y ago
Well there is an JVM optimization (OmitStackTraceInFastThrow, which is on by default) which optimizes "built in" exceptions that are thrown frequently enough to be cached and have to stack trace. So somebody at one point thought t
63.
▲
by
needusername
8y ago
> OpenJDK is (a subset of) the Oracle JDK. Not anymore. With Java 11 it is entirely the same code, at least until somebody takes over maintenance of the Java 11 branch from Oracle in two months.
64.
▲
by
needusername
8y ago
I find the JEPs listed on the individual project pages quite helpful - https://openjdk.java.net/projects/jdk9/ - https://openjdk.java.net/projects/jdk/10/ - https://openj
65.
▲
by
needusername
8y ago
> Java ... They all use 2 byte encodings No, not anything that is OpenJDK 9+ based which uses 1 byte where possible. > They all use UTF-8 internally Which means a lot of functions now have linear instead of constant asymptotic complex
66.
▲
by
needusername
8y ago
Be that as it may Premier Support for Java 11 still lasts until September 2023. So yes, Premier Support is down to five from eight years but I don't see how this requires a different licensing model. On a different note my personal exp
67.
▲
by
needusername
8y ago
Nope. The different GC (and JIT) is Zing. Zulu is literally just OpenJDK which is the same code base as Oracle JDK with Java 11.
68.
▲
by
needusername
8y ago
Clojure relied on many quirky hacks like putting clojure on the boot classpath and accessing JDBC from there which broke in Java 9.
69.
▲
by
needusername
8y ago
You can still use SOAP, just add a JAR or two, as it should be. If you were using Java EE you were always using the Java EE classes and no the Java SE classes anyway. I think it was mostly removed because Java EE required redefining some Ja
70.
▲
by
needusername
8y ago
> they speed up development, by effectively offloading legacy support Not really, no. They maintain Java 8 until 2025 and Java 11 until 2026 [1]. If you pay enough they will maintain it literally forever. [1] https://www.oracl
71.
▲
by
needusername
8y ago
It looks as if Micronaut is using compile time class generation through annotation processors. This explains a lot as this probably removes a lot of not all of their reflection at startup and runtime. This seems to be the right way to do th
72.
▲
by
needusername
8y ago
Even Vert.x web has no equivalent to Spring which forms the basis of Spring Boot. Spring is a complete application framework that combines dependency injection, AOP and enterprise integration. To my knowledge Vert.x and Vert.x web have no e
73.
▲
by
needusername
8y ago
I look at Netty as an async IO library. You use Netty to build your own servers. Yes, I know, Netty ships with an HTTP client and server.
74.
▲
by
needusername
8y ago
Then people need to use these words more carefully. 'server side application' and 'web server' are not even close to being the same thing.
75.
▲
by
needusername
8y ago
Not Spring Boot. Spring Boot is a framework for implementing a server side application. For example you use Spring Boot to implement a RESTful server side application including persistence and security. You do not use Spring Boot to write a
76.
▲
by
needusername
8y ago
> Spring Boot Vert.x is nothing like Spring Boot. Spring Boot combines Spring with autoconfiguration and the ability to run in its own container. Spring Boot can run on Undertow which the other branch of JBoss marketing promotes a lighte
77.
▲
by
needusername
8y 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. Meaning Shenandoah has a bigger impact on heap
78.
▲
by
needusername
8y ago
It's not a JIT problem, it's a VM problem. Graal uses the same VM with a different (or additional JIT) JIT and inherits the same (intentional) 2 GB limitations. While J9 can give you larger arrays AFAIK you're not guaranteed
79.
▲
by
needusername
8y ago
> Arrays are limited to around 16 GB On HotSpot arrays are limited to 2 GB
80.
▲
by
needusername
8y ago
u64 in the annotation value Check out this document http://cr.openjdk.java.net/~mcimadamore/panama/panama-binder... for the syntax.
81.
▲
by
needusername
8y ago
I don't know, it looks as if you have to hardcode pointer sizes in the source code. https://twitter.com/sundararajan_a/status/101507363642677248...
82.
▲
by
needusername
8y ago
Why would you not have that as a default? What things can go wrong? Not having it means you have to think about transactions in every method or you accept database inconsistency.
83.
▲
by
needusername
8y ago
Uh oh. I naturally assumed Rails runs every request in a transaction because that's obviously the default you want.
84.
▲
by
needusername
8y ago
How does this work? I always assumed that you can have only one transaction open per session/connection (yes there are subtransaction but I don't see how these could be used for multiplexing independent transaction over the same s
85.
▲
by
needusername
8y ago
Does anybody have a source for this? The publication doesn't doesn't exactly have the best reputation. A lot of things are currently built on top of serialization, from JMX to almost everything in Java EE including servlet session
86.
▲
by
needusername
9y ago
Thank you for sharing.
87.
▲
by
needusername
9y ago
I was not particularly asking for JCache/JSR-107. Since you seem to have insight in this area would you mind sharing it? Is your beef with the API or the RI?
88.
▲
by
needusername
9y ago
Not sure if serious or trolling. 1. CDI has no testing story, this is the biggest point, everything else pales to this. Arquilian is a joke compared to Spring TestContext Framework and strictly speaking not part of CDI. 2. CDI is in general
89.
▲
by
needusername
9y ago
> with nice sane defaults I disagree. They seem mostly targeted at low-end cloud providers who overcommit on memory and ignore application response time (gc latency). And they don't even do a good job at this. Their configuration us
90.
▲
by
needusername
9y ago
There is disappointingly little information available on jimage so it's hard to compare. jimage does require you to be fully modular while CDS does not. OTOH CDS is quite a bit tedious to set up.
More ›