8 ms·
Amazon Corretto 18 is now generally available
- darkwater 5y agoTotally off-topic but Corretto is the Italian word for a coffee with some liquor added, usually grappa (but it can be cognac, whisky etc). It also means "right" or "correct".
- Loic 5y agoEven better, a "corretto" coffee is done at the origin to "correct" a coffee which was not brewed correctly. You hide the bad brew behind the added shot. Very nice double meaning for this Amazon distribution...
- sgt 5y agoTo "correct" a coffee which was not brewed correctly. That sounds exactly like Java!
- thomond 5y agoAlways thought it was Cornetto rather then Corretto.
- jeffbee 5y agoCornetto is a sort of Italian croissant. You could conceivably have a Caffé corretto and a cornetto for breakfast ;-)
- twic 5y agoOr an ice-cream, which you could also have for breakfast, because you can do whatever you like: https://en.wikipedia.org/wiki/Cornetto_(frozen_dessert) https://en.wikipedia.org/wiki/Cornetto_(frozen_dessert)
- deleted 5y ago[deleted]
- barbazoo 5y agoI miss Cornetto! The texture of the cream and the chocolatey bits at the top bring up very fond childhood memories. Also some of them IIRC have a solid chocolate bottom in the cone.
- sp332 5y agoThe chocolate tips are so popular, they've made them available by themselves so you don't have to deal with the ice cream first. Cornetto Tips https://www.tesco.com/groceries/en-GB/products/308092292 https://www.tesco.com/groceries/en-GB/products/308092292
- deleted 5y ago[deleted]
- blakesterz 5y ago"Amazon Corretto is a no-cost, multiplatform, production-ready distribution of the Open Java Development Kit (OpenJDK)." I'm not sure how I never heard about this before now. Is anyone out there using this over other JDKs?
- markphip 5y agoThis has been around for a few years and was one of the first so I think it is actually fairly widely used. It was the one I adopted for our products and I have stuck with it. I see it used a lot elsewhere too. That said, it depends a bit which OS you are on. The Linux distros have gotten a lot better with their OpenJDK support in their package managers. So if I am using a bistro with the OpenJDK version I want, I will use that now.
- anotherhue 5y agoIt's my preferred one, the 'mystery meat' scandal that hit adoptopenjdk showed me the importance of accountability. https://news.ycombinator.com/item?id=19955958 https://news.ycombinator.com/item?id=19955958
- vips7L 5y agoThis is why I choose Azul!
- unportant 5y agoThe link you provided talk about an issue with Docker's openjdk image which has nothing to do with adoptopenjdk (now Adoptium Temurin).
- anotherhue 5y agoYou are correct, the Azul guy (who reported it) goes into considerable detail here: https://github.com/docker-library/openjdk/issues/320# https://github.com/docker-library/openjdk/issues/320# NEVERTHELESS, software supply chain is important. Whatever JVM one chooses should have a good answer to how they handle it.
- politelemon 5y agoTimely or topical, considering that O is now auditing Java. https://www.theregister.com/2022/03/22/oracle_starts_to_include_java/ https://www.theregister.com/2022/03/22/oracle_starts_to_incl... If you're not familiar with O, or wondering why an innocuous statement like the above strikes fear into people, it's not about just licensing Java. It's about their extortionate tactics and how they try to catch you in gray areas due to ambiguous wording in their terms and conditions, and demand fees for violating them.
- zibzab 5y agoFriendly reminder that if you install virtualbox with guest services at work, Oracle lawyers will eventually demand a huge sum from your company.
- notreallyserio 5y agoI did a tiny amount of searching to verify this but came up empty handed. Guest additions (what I think you meant) is GPLv2, so it should be free for use.
- dspillett 5y ago> Guest additions (what I think you meant) is GPLv2 It is presumably referring to “VirtualBox 6.1.32 Oracle VM VirtualBox Extension Pack”: > Support for USB 2.0 and USB 3.0 devices, VirtualBox RDP, disk encryption, NVMe and PXE boot for Intel cards. > The Extension Pack binaries are released under the VirtualBox Personal Use and Evaluation License (PUEL). ref: https://www.virtualbox.org/wiki/Downloads https://www.virtualbox.org/wiki/Downloads
- rrego 5y agoThe difficulty in distinguishing the two is likely intentional. At my previous org, Oracle sent a spreadsheet of IPs to my company's compliance department which they claimed were using the extension pack and so violated their license agreement. They demanded proof of the license. The vast majority including I, only ever used guest additions (GPL).
- deleted 5y ago[deleted]
- belter 5y agoMain Page: https://aws.amazon.com/corretto/ https://aws.amazon.com/corretto/ FAQ: https://aws.amazon.com/corretto/faqs/ https://aws.amazon.com/corretto/faqs/ Downloads: https://docs.aws.amazon.com/corretto/latest/corretto-18-ug/downloads-list.html https://docs.aws.amazon.com/corretto/latest/corretto-18-ug/d... Q: How is Corretto different from OpenJDK? A: Corretto is a distribution of Open JDK with patches included by Amazon that are not yet integrated in the corresponding OpenJDK update projects. We focus on patches that improve performance or stability in OpenJDK, chosen based on Amazon's observations running large services. Q: What kinds of patches does Amazon intend to include in Corretto? A: Patches will include security fixes, performance enhancements (e.g., speeding up frequently-used functions), garbage collection scheduling, and preventing out-of-memory situations, as well as improved monitoring, reporting, and thread management.
- belter 5y agoMore details: "Amazon Corretto, A Journey into Latency Reduction": https://youtu.be/S4IrAZ5wT3c https://youtu.be/S4IrAZ5wT3c
- bitcharmer 5y agoI'm still struggling to learn what patches exactly Amazon put in their OpenJDK build. Does anyone know how to get access to these details?
- papercrane 5y agoThey maintain a page for each version listing patches. I don't believe it's up for 18 yet, but given the short list for 17 I expect it's currently just patching the vendor metadata. https://docs.aws.amazon.com/corretto/latest/corretto-8-ug/patches.html https://docs.aws.amazon.com/corretto/latest/corretto-8-ug/pa... https://docs.aws.amazon.com/corretto/latest/corretto-11-ug/patches.html https://docs.aws.amazon.com/corretto/latest/corretto-11-ug/p... https://docs.aws.amazon.com/corretto/latest/corretto-17-ug/patches.html https://docs.aws.amazon.com/corretto/latest/corretto-17-ug/p... Edit: While not technically a patch, I should note that they do have different compile options than the Oracle builds. The biggest difference I can think of is Amazon ships with the Shenandoah GC enabled, while Oracle's builds do not.
- lostsoul8282 5y agoIt's not clear to me, why does the world needs another JDK? What does this offer that currently isn't out there?
- jabroni_salad 5y agoIt's a decent compliant stopgap as IT operations continues its general battle to remove all Oracle products from the environment
- Sheen96 5y agoAn alternative to the standard JDK that's supported by Oracle. Generally, the less stuff Oracle controls, the better (not to say Amazon having control is inherently better, but imo, it's better than Oracle)
- pjmlp 5y agoMost of Amazon's work is served on a plate by Oracle, given the ratio of OpenJDK code.
- belter 5y agoIt's not another JDK, its Amazon build of the OpenJDK, like Azul has been doing for a few years.
- shellac 5y agoYes, perhaps better thought of as a distribution or packaging. Somewhat analogous to linux distributions. I thought Azul was a bit more customised around the gc, so not quite the same JVM?
- belter 5y agoI think you are talking about their other offers? I was referring to ones at the bottom of this page under section: "Download Azul Zulu Builds of OpenJDK" https://www.azul.com/downloads/?package=jdk https://www.azul.com/downloads/?package=jdk
- tux1968 5y agoThey mention a new alternative to JNI for interfacing with external code and data. For anyone else that'd like a bit more info, here is the JEP (which still has it marked as in incubation): https://openjdk.java.net/jeps/419 https://openjdk.java.net/jeps/419
- adam_arthur 5y agoPretty awesome to watch how languages get faster and faster over time through engine updates. JS/V8 is particularly impressive. I wonder how far we are from the theoretical performance limit on the software side? I would guess we will eventually see deprecations of warts to improve engine performance further. Or integrated type system etc.
- ebruchez 5y agoThat was the whole idea of the Dart VM, by the way: to bridge the gap between the maximum performance you could get out of JavaScript and what you could get of a more statically-typed language. My recollection from a few years ago was that there was about a 2x performance gap between V8 and HotSpot. (All three VMs efforts: HotSpot, V8, and the Dart VM, were led by Larks Bak, by the way). I don't know if that gap has shrunk, grown, or has remained the same.
- adam_arthur 5y agoYeah, it was a good idea. Given that Typescript is mostly consensus at this point, I'd argue trying to integrate it into the language spec is the better approach vs introducing a new language. But maybe there are technical reasons why it's not feasible
- viddo 5y agoIt appears there are some attempts somewhat in that direction: - https://devblogs.microsoft.com/typescript/a-proposal-for-type-syntax-in-javascript/ https://devblogs.microsoft.com/typescript/a-proposal-for-typ... - https://github.com/giltayar/proposal-types-as-comments/ https://github.com/giltayar/proposal-types-as-comments/
- cogman10 5y agoSo, what's interesting is that static typing buys you somewhat minimal gains in performance. This is why dart 1 shipped with what they called "optional typing". The thing Dart "fixed" in terms of performance is it forced consistent typing. It removed the ability to add/remove/change fields/methods on an object at runtime. The Achilles' heel of javascript (at least, when I got hype on dart years ago) is how stupidly easy it is to change the memory shape of any object. That means the VM can't generally lay out memory for an object in a compact form. Further, the VM has to do a bunch of checks before it can go down the optimized path (in case assumptions are invalidated). For a consistent type system, the only check needed is "is this object shaped like I think it should be?" and then you go from there. I think the most disappointing part of Dart is that all that effort was spent creating a new language when what the browser needed (and still needs) is a new bytecode. I'd love to see WASM reach the point of a universal bytecode but fear that it painted itself into a corner by first targeting memory managed languages.
- timmg 5y agoDumb question: for home/hobby type coding, what is the best JDK to install on my Mac?
- thom 5y agoI often use Liberica cos it’s easy to get JavaFX packaged in.
- dmos62 5y agoFor hobby coding, I'd say the more interesting question is which GC to use.
- jeffbee 5y agoAzul for M1 macs.
- grishka 5y agoI use the M1-native one from adoptium.net
- MartinCron 5y agoNot a dumb question at all. JDK choice is intimidating when you're not in Java-land all day, every day. IntelliJ lets you download + install + switch between JDKS really easily, which I've found indispensable. As another person commented, the Liberica JDKs with JavaFX built in are my go-to for hobby type coding.
- sswezey 5y agoI found this website for picking JDKs to be pretty helpful and unbiased: http://whichjdk.com/ http://whichjdk.com/
- CodeMage 5y agoI miss the days when we didn't need sites like this one, but I'm extremely glad it exists and thankful to you for helping me discover it.
- Traubenfuchs 5y ago
- kitd 5y agoHmm. Very nice, but if those changes aren't ported back to OpenJDK, that's locking you into Amazon in a very un-Java-ry way.
- papercrane 5y agoThere's no incompatible changes that AWS does that could lock you in. They're just changing the vendor strings, and for older builds back-porting fixes that are important to them. The only major difference is Corretto enables an alternative GC, Shenandoah, which was originally implemented by RedHat. This has been mainlined for a long time now, but Oracle does not ship it. It is available in the Azul and RedHat builds as well.
- deleted 5y ago[deleted]
- kleinsch 5y agoHow is this the top comment? These aren’t changes Amazon invented out of nowhere. This is JDK 18. Look it up.
- deleted 5y ago[deleted]