frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

JEP 515: Ahead-of-Time Method Profiling

https://openjdk.org/jeps/515
101•cempaka•8mo ago

Comments

nmstoker•8mo ago
Would be interesting if the Faster Python team considered this approach for Python (although maybe they already did?)
motoboi•8mo ago
The most impact will be achieved on java standard library, like Streams (cited in the article). Right now, although their behavior is well stablished and they are mostly used in the "factory" mode (no user subclassing or implementation of the stream api), they cannot be shipped with the JVM already compiled.

If you can find a way (which this JEP is one way) to make the bulk of the java standard api AOT compiled, then java programs will be faster (much faster).

Also, the JVM is already an engine marvel (java JIT code is fast as hell), but this will make java programs much nimbler.

rzwitserloot•8mo ago
I assume you meant with the AOT argument: "The initial few minutes of a JVM's existence, which would be the entire lifetime if you're using java the way you use e.g. your average executable in your `/usr/bin` dir".

Saying "java programs will be faster" is perhaps a bit misleading to those who don't know how java works. This will speed up only the first moments of a JVM execution, nothing more. Or, I misread the JEP, in which case I'd owe you one if you can explain what I missed.

As a java developer this will be lightly convenient when developing. We go through JVM warmup a lot more than your average user ever does. Personally I think I'm on the low end (I like debuggers, and I don't use TDD-style "what I work on is dictated by a unit test run and thus I rerun the tests a lot during development". But still it excites me somewhat, so that should mean your average java dev should be excited quite a bit by this.

I am not all that experienced in it, but I gather that lambda-style java deployments (self contained simple apps that run on demand and could in theory be operating on a 'lets boot up a JVM to run this tiny job which won't last more than half a second') have looong ago moved on from actually booting JVMs for every job, such as by using Graal, an existing AOT tool. But if you weren't using those, hoo boy. This gives every java app 'graal level bootup' for as far as I can tell effectively free (a smidge of disk space to store the profile).

For the kinds of java deployments I'm more familiar with (a server that boots as the box boots and stays running until a reboot is needed to update deps or the app itself), this probably won't cause a noticable performance boost.

indolering•8mo ago
I thought Graal was going to slowly replace HotSpot?
vips7L•8mo ago
There was talk of the graal jit replacing C2, but native image will never replace HotSpot.
mshockwave•8mo ago
in addition to storing profiles, what about caching some native code? so that we can eliminate the JIT overhead for hot functions

EDIT: they describe this in their "Alternative" section as future work

tikkabhuna•8mo ago
Is this similar/the same as Azul Zing’s ReadyNow feature?
rst•8mo ago
Faint echoes of the very first optimizing compiler, Fortran I, which did a monte carlo simulation of the flow graph to attempt to detect hot spots in the flow graph so it could allocate registers to inner loops first.
indolering•8mo ago
OpenJ9 has had some of this type of functionality for a while now. Glad to see the difference between interpreted and compiled languages continue to get fuzzier.
pjmlp•8mo ago
Even longer than that, OpenJ9 AOT capabilities, and JIT cache, go back to the Websphere Real-Time JVM, whose branding had nothing to do with J2EE application server.

Most documentation is gone from the Internet, I was able to dig one of the old manuals,

https://ftpmirror.your.org/pub/misc/ftp.software.ibm.com/sof...

These kind of features have been available in commercial JVMs like those for a while now, what the community is finally getting are free beer versions of such capabilities.

Cloudflare acquires Astro

https://astro.build/blog/joining-cloudflare/
438•todotask2•4h ago•235 comments

STFU

https://github.com/Pankajtanwarbanna/stfu
112•tanelpoder•1h ago•29 comments

6-Day and IP Address Certificates Are Generally Available

https://letsencrypt.org/2026/01/15/6day-and-ip-general-availability
169•jaas•3h ago•88 comments

Michelangelo's first painting, created when he was 12 or 13

https://www.openculture.com/2026/01/discover-michelangelos-first-painting.html
180•bookofjoe•4h ago•117 comments

Just the Browser

https://justthebrowser.com/
357•cl3misch•6h ago•194 comments

Launch HN: Indy (YC S21) – A support app designed for ADHD brains

https://www.shimmer.care/indy-redirect
34•christalwang•2h ago•36 comments

Lock-Picking Robot

https://github.com/etinaude/Lock-Picking-Robot
147•p44v9n•4d ago•65 comments

Dell UltraSharp 52 Thunderbolt Hub Monitor

https://www.dell.com/en-us/shop/dell-ultrasharp-52-thunderbolt-hub-monitor-u5226kw/apd/210-bthw/m...
32•cebert•1h ago•24 comments

Zep AI (Agent Context Engineering, YC W24) Is Hiring Forward Deployed Engineers

https://www.ycombinator.com/companies/zep-ai/jobs/
1•roseway4•1h ago

Can You Disable Spotlight and Siri in macOS Tahoe?

https://eclecticlight.co/2026/01/16/can-you-disable-spotlight-and-siri-in-macos-tahoe/
51•chmaynard•3h ago•37 comments

Cursor's latest "browser experiment" implied success without evidence

https://embedding-shapes.github.io/cursor-implied-success-without-evidence/
92•embedding-shape•4h ago•50 comments

Earth from Space: The Fate of a Giant

https://www.esa.int/ESA_Multimedia/Images/2026/01/Earth_from_Space_The_fate_of_a_giant
4•geox•23m ago•0 comments

Elasticsearch Was Never a Database

https://www.paradedb.com/blog/elasticsearch-was-never-a-database
13•jamesgresql•4d ago•20 comments

Show HN: 1Code – Open-source Cursor-like UI for Claude Code

https://github.com/21st-dev/1code
20•Bunas•23h ago•8 comments

Read_once(), Write_once(), but Not for Rust

https://lwn.net/SubscriberLink/1053142/8ec93e58d5d3cc06/
68•todsacerdoti•3h ago•17 comments

Our approach to advertising and expanding access to ChatGPT

https://openai.com/index/our-approach-to-advertising-and-expanding-access/
16•rvz•39m ago•3 comments

Dev-owned testing: Why it fails in practice and succeeds in theory

https://dl.acm.org/doi/10.1145/3780063.3780066
55•rbanffy•5h ago•69 comments

Zorgdomein Integration: A Guide to Secure .NET and Azure Architecture

https://plakhlani.in/healthcare/bidirectional-patient-data-exchange-with-zorgdomein/
9•prashantl•4d ago•3 comments

Canada slashes 100% tariffs on Chinese EVs to 6%

https://electrek.co/2026/01/16/canada-breaks-with-us-slashes-100-tariffs-chinese-evs/
229•1970-01-01•1h ago•233 comments

psc: The ps utility, with an eBPF twist and container context

https://github.com/loresuso/psc
52•tanelpoder•5h ago•18 comments

OpenAI to begin testing ads on ChatGPT in the U.S.

https://www.cnbc.com/2026/01/16/open-ai-chatgpt-ads-us.html
31•koolba•35m ago•20 comments

The Alignment Game

https://dmvaldman.github.io/alignment-game/
6•dmvaldman•18h ago•0 comments

Why DuckDB is my first choice for data processing

https://www.robinlinacre.com/recommend_duckdb/
96•tosh•7h ago•37 comments

OpenBSD-current now runs as guest under Apple Hypervisor

https://www.undeadly.org/cgi?action=article;sid=20260115203619
370•gpi•15h ago•48 comments

Training my smartwatch to track intelligence

https://dmvaldman.github.io/rooklift/
102•dmvaldman•1d ago•45 comments

List of individual trees

https://en.wikipedia.org/wiki/List_of_individual_trees
299•wilson090•18h ago•101 comments

Interactive eBPF

https://ebpf.party/
165•samuel246•10h ago•7 comments

Pocket TTS: A high quality TTS that gives your CPU a voice

https://kyutai.org/blog/2026-01-13-pocket-tts
582•pain_perdu•1d ago•139 comments

Show HN: mdto.page – Turn Markdown into a shareable webpage instantly

https://mdto.page
31•hjinco•5h ago•18 comments

Show HN: Aventos – An experiment in cheap AI SEO

https://www.aventos.dev/
3•JimsonYang•15h ago•1 comments