frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Prepare your apps for Google Play's 16 KB page size compatibility requirement

https://android-developers.googleblog.com/2025/05/prepare-play-apps-for-devices-with-16kb-page-size.html
28•ingve•5h ago

Comments

londons_explore•2h ago
Letting userspace know the page size was IMO a design mistake.

Imagine a world where the page size is secret to userspace. Anything that needs page size alignment will be chosen by the kernel.

That in turn allows mixed page size, variable page size, heirarchical pages, etc.

Dylan16807•2h ago
It's hard to hide all the details, especially when you involve varied permissions over different chunks of memory.
duskwuff•2h ago
It's unavoidable. APIs like mprotect() operate on pages; there's no way to hide that from them.
viraptor•2h ago
Also various performance characteristics graphs will have steps around the multiples of page sizes. People would find out anyway. (Although maybe the runtime detection is not a bad idea)
londons_explore•27m ago
Just like cache size.

But when someone releases a new CPU with a larger or smaller cache, all old software continues to work.

Secret page size would offer the same benefit.

londons_explore•28m ago
you can simulate arbitrary sized mprotect() by having the kernel do the closest it can using the hardware, and then any pages crossing the boundary will be handled by page faults. The performance hit should be small as long as most mprotect regions are large (which they typically are).
londons_explore•24m ago
the mprotect API could have been designed more like malloc() - ie. you don't protect a preexisting memory range - instead the API returns a new memory range with the protections you've asked for, possibly copying a load of data into it for you incase you asked for a readonly range.

And that 'copy' might be zero-overhead remapping of the original pages.

Wowfunhappy•2h ago
So, do 4 KB page size apps work on these 16 KB page size phones? There are plenty of legacy apps (especially games I'd imagine) that will never updated for one reason or another. I would want to know if I was buying a phone that won't support those...
jsheard•2h ago
That ship already sailed, most legacy Android games were killed by 32bit support being phased out both in hardware (newer SOCs are 64bit only) and software (Android 14 doesn't support 32bit apps even when running on an older SOC). They've done it before and they'll do it again.

Void: Open-source Cursor alternative

https://github.com/voideditor/void
603•sharjeelsayed•10h ago•255 comments

Fui: C library for interacting with the framebuffer in a TTY context

https://github.com/martinfama/fui
69•Bhulapi•4h ago•21 comments

Reservoir Sampling

https://samwho.dev/reservoir-sampling/
303•chrisdemarco•9h ago•64 comments

Progress toward fusion energy gain as measured against the Lawson criteria

https://www.fusionenergybase.com/articles/continuing-progress-toward-fusion-energy-breakeven-and-gain-as-measured-against-the-lawson-criteria
167•sam•11h ago•74 comments

From: Steve Jobs. "Great idea, thank you."

https://blog.hayman.net/2025/05/06/from-steve-jobs-great-idea.html
734•mattl•8h ago•202 comments

Phoenician culture spread mainly through cultural exchange

https://www.mpg.de/24574685/0422-evan-phoenician-culture-spread-mainly-through-cultural-exchange-150495-x
50•gmays•3d ago•13 comments

Podfox: First Container-Aware Browser

https://val.packett.cool/blog/podfox/
31•pierremenard•4h ago•4 comments

Notes on rolling out Cursor and Claude Code

https://ghiculescu.substack.com/p/nobody-codes-here-anymore
162•jermaustin1•10h ago•79 comments

When Abandoned Mines Collapse

https://practical.engineering/blog/2025/5/6/when-abandoned-mines-collapse
142•impish9208•2d ago•41 comments

Gorilla study reveals complex pros and cons of friendship

https://www.sciencedaily.com/releases/2025/05/250505170816.htm
21•lentoutcry•2d ago•13 comments

How to start a school with your friends

https://prigoose.substack.com/p/how-to-start-a-university
74•geverett•7h ago•29 comments

Stability by Design

https://potetm.com/devtalk/stability-by-design.html
72•potetm•7h ago•16 comments

Show HN: Using eBPF to see through encryption without a proxy

https://github.com/qpoint-io/qtap
213•tylerflint•10h ago•67 comments

Prepare your apps for Google Play's 16 KB page size compatibility requirement

https://android-developers.googleblog.com/2025/05/prepare-play-apps-for-devices-with-16kb-page-size.html
30•ingve•5h ago•9 comments

First American pope elected and will be known as Pope Leo XIV

https://www.cnn.com/world/live-news/new-pope-conclave-day-two-05-08-25
476•saikatsg•10h ago•734 comments

Mathematical Problem Solving

https://www.cip.ifi.lmu.de/~grinberg/t/20f/
62•ibobev•3d ago•3 comments

Show HN: OpenRouter Model Price Comparison

https://compare-openrouter-models.pages.dev/
14•pacific01•3d ago•7 comments

Finding a Bug in Chromium

https://bou.ke/blog/chromium-bug/
3•bouk•3d ago•0 comments

How the US Built 5k Ships in WWII

https://www.construction-physics.com/p/how-the-us-built-5000-ships-in-wwii
63•rbanffy•6h ago•44 comments

Block Diffusion: Interpolating Autoregressive and Diffusion Language Models

https://m-arriola.com/bd3lms/
40•t55•8h ago•9 comments

Static as a Server

https://overreacted.io/static-as-a-server/
81•danabramov•9h ago•58 comments

The Rise and Fall of the Visual Telegraph (2017)

https://parisianfields.com/2017/11/05/the-rise-and-fall-of-the-visual-telegraph/
26•geox•7h ago•6 comments

Ciro (YC S22) is hiring a software engineer to build AI agents for sales

https://www.ycombinator.com/companies/ciro/jobs
1•dwiner•10h ago

A Brief History of Cursor's Tab-Completion

https://www.coplay.dev/blog/a-brief-history-of-cursor-s-tab-completion
20•josvdwest•2d ago•2 comments

Egyptologist uncovers hidden messages on Paris’s iconic obelisk

https://news.artnet.com/art-world/hidden-messages-paris-luxor-obelisk-2636508
85•isaacfrond•18h ago•80 comments

How Obama’s BlackBerry got secured (2013)

https://www.electrospaces.net/2013/04/how-obamas-blackberry-got-secured.html
196•lastdong•3d ago•76 comments

A flat pricing subscription for Claude Code

https://support.anthropic.com/en/articles/11145838-using-claude-code-with-your-max-plan
96•namukang•5h ago•83 comments

Ask HN: What are good high-information density UIs (screenshots, apps, sites)?

400•troupo•13h ago•312 comments

AI focused on brain regions recreates what you're looking at (2024)

https://www.newscientist.com/article/2438107-mind-reading-ai-recreates-what-youre-looking-at-with-amazing-accuracy/
61•openquery•2d ago•32 comments

How to harden GitHub Actions

https://www.wiz.io/blog/github-actions-security-guide
193•moyer•3d ago•65 comments