frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Jevopt: Making intelligent compiler optimisation decisions with Jev

https://github.com/Ramneet-Singh/jevopt
1•ramneet_singh•57m ago
Can Jev optimise the size of compiled binaries better than clang -Oz?

Turns out it can (sometimes)! Introducing jevopt: making intelligent compiler optimisation decisions with Jev. I used Jev to make intelligent inlining decisions at each LLVM IR call-site. Here’s why and how I did it.

Everywhere I looked, I saw cool Jev demos, so I thought I'd apply it to my area: systems programming and compilers. When optimising binary size (e.g. in embedded systems), choosing whether to inline a function call is tricky, because while it can duplicate code, it can also enable optimisations that ultimately eliminate code!

Jevopt uses Jev's "intelligence" to make this choice. At each discretionary call site, Jev sees the current caller/callee LLVM IR, original C/C++ source, build context, and 7 structural facts about the program. It returns one choice: inline or keep out of line.

So how well does it work? I evaluated jevopt on all 19 Embench 1.0 programs. Aggregated with geometric mean, the .text in its programs is 7.87% larger than clang -Oz, meaning that jevopt loses in aggregate. However, it sometimes achieves big wins over the mature clang heuristic.

E.g., on Statemate, jevopt produces a .text of 2382B vs 5698B for clang -Oz, achieving a whopping 58% reduction! In total, it beats clang -Oz on 7/19 programs.

(Clearly) jevopt is not production software, but it shows that intelligent model judgements sometimes beat heuristics. Despite the overall negative result, there are two reasons why I find it exciting:

1. Measuring code size, unlike runtime, is essentially free. So if one compiles with both jevopt and -Oz, there are real gains to be had at the cost of just 1 extra compilation (and a few cents in Jev API calls)!

2. As wonderfully intelligent as Jev is, I am fairly certain this is not a use case the author had in mind :) Finetuning a Jev-like model specifically for this task should improve jevopt's performance even more and might even get us an aggregate win over clang -Oz.

The code is open source (github.com/Ramneet-Singh/…), and a full dashboard with the details of my Embench run is hosted at ramneet-singh.github.io/jevopt/.

I plan to keep doing cool stuff at the intersection of AI and compilers, so please reach out if you're interested in this too!

Making portable my unportable transputer C compiler

https://nanochess.org/transputer_c_compiler.html
1•nanochess•1m ago•0 comments

Show HN: Marklite: Lightweight Markdown Viewer/Editor

https://marklite.app
1•mchilson•3m ago•0 comments

The A.I. Party House Where Networking Has a Dark Side

https://www.nytimes.com/2026/09/21/technology/agi-house-ai-culture.html
1•berkeleyjunk•3m ago•0 comments

Claude Status – Elevated errors for multiple models

https://status.claude.com/incidents/7g1qpkyz5gxh
9•corvad•3m ago•1 comments

Tinycc-cygwin (tcc-cygwin) compiler

https://github.com/Muras69/tinycc-cygwin
1•Muras•4m ago•0 comments

Show HN: Shapefile viewer that asks which datum when the .prj is missing

https://9revolution9.com/tools/geo/shp-geojson
1•glassonion999•8m ago•0 comments

Show HN: EagleQR – Privacy-first QR scanner with on-device decoding and summary

https://play.google.com/store/apps/details?id=com.safeqr.scancreate&hl=en_US
1•maazsofttech•8m ago•0 comments

Forging 1024-bit RSA signatures in nearly SNFS time

https://github.com/ucsd-hacc/NSNFSSSFSFN/
1•gslin•10m ago•0 comments

ECB will invest in tokenised securities, and settle trades on its own new rail

https://thenextweb.com/news/ecb-tokenised-securities-pontes-own-funds
1•rguiscard•11m ago•0 comments

RustyTux: Linux kernel n-day local privilege escalation

https://github.com/m0x41nos/RustyTux
5•Jiaqi060•12m ago•0 comments

Pyrowave: GPU-back video codec for high-bandwidth, low-latency streaming

https://github.com/Themaister/pyrowave
1•open-paren•13m ago•1 comments

I think it's time to hang up my Three.js hat

https://twitter.com/dangreenheck/status/2102137910921240807
3•fidotron•15m ago•0 comments

The first mRNA flu shot is now available. Here's who can get it

https://www.nbcnews.com/health/health-news/mrna-flu-vaccine-moderna-mflusiva-explained-rcna598524
2•elo2000•21m ago•2 comments

The Chern-Simons Function and the Quantum Hall Effect

https://arxiv.org/abs/2609.21182
1•tzury•21m ago•0 comments

Scaling Discovery Through Test-Time Communication

https://arxiv.org/abs/2609.21032
1•simonpure•21m ago•0 comments

BCBS Michigan posts $246M loss in 2025

https://www.beckerspayer.com/financial/bcbs-michigan-posts-246-million-loss-in-2025/
1•elo2000•23m ago•0 comments

ShinyHunters hijack rival Clop's leak site

https://www.theregister.com/cyber-crime/2026/09/21/clop-gets-a-taste-of-its-own-medicine-after-sh...
1•Gaishan•23m ago•0 comments

Raspberry Pi is intentionally blocking RAM capacity upgrades

https://www.notebookcheck.net/Raspberry-Pi-is-intentionally-blocking-RAM-capacity-upgrades.140497...
1•throwaway81523•25m ago•0 comments

REO Trucks teams up with frankstephenson design on its new Runabout lineup

https://reotrucks.com/newsroom/frankstephenson-design
1•b_mc2•28m ago•0 comments

Avoid White Noise at Work

https://www.inc.com/samantha-stevens/a-new-study-shows-why-you-should-avoid-white-noise-at-work/9...
1•Gaishan•28m ago•0 comments

First NetHack Ascension by an LLM

https://www.hardfought.org/userdata/C/CodexDelver/nethack/dumplog/1788964024.nh.html
1•kenforthewin•30m ago•0 comments

Trump admin won't give AI leaders a 'liability shield,' Bessent tells CNBC

https://www.cnbc.com/2026/09/21/treasury-bessent-cnbc-squawk-trump-bond-affordabilty.html
1•gradus_ad•31m ago•0 comments

Why Russia's New Jet-Powered Drones Are Harder to Stop

https://united24media.com/war-in-ukraine/why-russias-new-jet-powered-drones-are-harder-to-stop-22666
1•Gaishan•32m ago•0 comments

Magic Jev Ball

https://jevball.rorz.io/
1•sarreph•34m ago•0 comments

TIL: 0xCAFEBABE

https://www.artima.com/insidejvm/whyCAFEBABE.html
1•birdculture•34m ago•0 comments

Living is not for the weak

https://mikhailgarth.com/essays/living-not-for-weak/
1•mikhailgarth•36m ago•0 comments

No Easy Fix for Bogus Respondents in Online Opt-In Polls

https://www.pewresearch.org/methods/2026/08/27/no-easy-fix-for-bogus-respondents-in-online-opt-in...
1•luu•36m ago•0 comments

Show HN: Nvidia networking equipment masquerading as ATT consumer modems and PON

1•cududa•38m ago•0 comments

Argus II: The story of a $150k artificial retina

https://www.youtube.com/watch?v=l1jrlHovmpM
1•lroe•38m ago•0 comments

Jevframe: Typed semantic decisions for Pandas and Polars with Jev

https://pypi.org/project/jevframe/
1•jonbaer•39m ago•0 comments