frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

The UK's War on Anonymity Has Come to America

https://www.effort.news/uk-lobby
389•slowin•4h ago•254 comments

Antirez/h3.c: MiniMax H3 inference engine for Mac computers

https://github.com/antirez/h3.c
91•swyx•2h ago•8 comments

Chicken Scheme 6.0

https://code.call-cc.org/releases/6.0.0/NEWS
96•eatonphil•3h ago•10 comments

Show HN: Scroll through all 43252003274489856000 Rubik's Cube states

https://everycube.alen.is/
109•Alen123•4h ago•27 comments

Recycle – Floppydisks

https://www.floppydisk.com/recycle
27•calvinmorrison•2h ago•3 comments

The “mechanical miracle” that ruined Mark Twain’s life

https://resobscura.substack.com/p/the-mechanical-miracle-that-ruined
81•benbreen•5d ago•23 comments

Show HN: Needle2: 14MB agentic LLM for phones, wearables, smart home and robots

https://cactuscompute.com/needle
225•HenryNdubuaku•10h ago•91 comments

Mark Zuckerberg attacks 'closed' AI rivals as Meta returns to open models

https://www.ft.com/content/4e3957f8-ea7c-4c46-a3de-cdce8e526878
420•root-parent•14h ago•407 comments

Hyperspace

https://hypercritical.co/hyperspace/
15•swyx•2h ago•6 comments

Rust SIMD on the GPU

https://www.vectorware.com/blog/simd-on-gpu/
151•sagacity•9h ago•67 comments

World Train Map – 1247 train routes around the world

https://worldtrainmap.com/
69•Flightmussy•5h ago•25 comments

Sonic Pi v5

https://www.patreon.com/samaaron/posts/sonic-pi-v5-166001392
327•samaaron•3d ago•80 comments

Stowaway – Take the window seat on any plane or satellite overhead

https://stowaway.live/
169•thunderbong•3d ago•17 comments

Publishing Schematics Before “Open Source” Was a Word

https://fabscene.medium.com/publishing-schematics-before-open-source-was-a-word-55-years-of-akizu...
75•extralongdivisi•3d ago•18 comments

Confessions of a Long-Distance Sailor

https://arachnoid.com/lutusp/sailbook.html
78•AntiRush•7h ago•20 comments

Muse Glimmer: 30B-parameter model optimized for always-on local agent workflows

https://research.meta.ai/blog/introducing-muse-glimmer-open-agentic-model
1063•riordan•17h ago•588 comments

Stop Killing Games: It's time to sue Sony, join us

https://www.massaschadeconsument.nl/collectieve-acties/playstation/
221•EDM115•7h ago•100 comments

Humanising LLM Outputs Is Dumb

https://kuber.studio/blog/Reflections/Humanising-LLM-Outputs-is-Actually-Dumb
179•kuberwastaken•14h ago•107 comments

Squeak 6.1

https://squeak.org/release_notes/6.1/
236•fniephaus•15h ago•119 comments

Exploiting System Management Mode with a very long interrupt

https://github.com/xoreaxeaxeax/smiiiiiiiiiiiiiiii
143•WhiteDawn•12h ago•52 comments

The Story of Mac: A Just-So Story

https://gigamonkeys.com/book/macros-defining-your-own
19•kscarlet•5d ago•2 comments

What's the best programming language for coding agents?

http://danluu.com/pl-tokens/
89•chaychoong•11h ago•65 comments

Launch HN: Stoa Markets (YC S26) – A Marketplace for GPUs and AI Servers

https://www.stoaexchange.com
70•erenberke•11h ago•44 comments

Parametron: 50s Japanese computer that uses neither transistors nor vacuum tubes

https://ethw.org/Milestones:Parametron,_1954
202•xeonmc•17h ago•49 comments

Ask HN: In your experience, what are sound conventions for e-ink UI development?

162•BoxOfRain•3d ago•53 comments

The Psychedelic Toad of the Sonoran Desert

https://en.wikipedia.org/wiki/Bufo_Alvarius:_the_Psychedelic_Toad_of_the_Sonoran_Desert
88•simonebrunozzi•6d ago•59 comments

Letter to Governor Abbott on responsible AI infrastructure in Texas

https://openai.com/index/responsible-ai-infrastructure-texas/
99•hackerBanana•13h ago•181 comments

Exploring Claude/GPT Knowledge Cutoffs and Pre-Training Timelines

https://blog.sshh.io/p/exploring-claudegpt-knowledge-cutoffs
125•sshh12•13h ago•14 comments

Claude will watermark AI-generated text and images

https://tokenstead.ai/
6•cdnsteve•2h ago•0 comments

Choral: Choreographic Programming for Java

https://www.choral-lang.org/
7•dplyukhin•3d ago•1 comments
Open in hackernews

JEP 515: Ahead-of-Time Method Profiling

https://openjdk.org/jeps/515
101•cempaka•1y ago

Comments

nmstoker•1y ago
Would be interesting if the Faster Python team considered this approach for Python (although maybe they already did?)
motoboi•1y 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•1y 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•1y ago
I thought Graal was going to slowly replace HotSpot?
vips7L•1y ago
There was talk of the graal jit replacing C2, but native image will never replace HotSpot.
mshockwave•1y 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•1y ago
Is this similar/the same as Azul Zing’s ReadyNow feature?
rst•1y 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•1y 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•1y 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.