Hacker News

Top stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. Pirating the Pirates (mubi.com)
    130comments
  2. MicroLLM Lab – Try 7 tiny LLM's in the browser (stateofutopia.com)
    14comments
  3. Joseph Szabo’s pictures of American adolescents (newyorker.com)
    22comments
  4. Hijacking the PS5's RTMP stream (yashgarg.dev)
    38comments
  5. First Steps of the PLC Organization – Independent Public Ledger of Credentials (plcred.org)
    9comments
  6. Parley: Federated, decentralised chat that speaks plain IRC (mills.io)
    137comments
  7. Sonnet 5.5 (anthropic.com)
    259comments
  8. Launch HN: Vespper (YC F24) – SOTA Docx MCP (vespper.com)
    8comments
  9. World Labs Is Joining AMD (worldlabs.ai)
    1comments
  10. Cf: The Agentic CLI for the Cloudflare API (cloudflare.com)
    32comments
  11. SB 923 is Law: CCPA deletion rights now reach third-party data (getprivisy.com)
    10comments
  12. GrapheneOS – When an app is slow (wirelessmoves.com)
    25comments
  13. What heraldry and Japanese mon can teach about visual-identity generators (benovermyer.com)
    17comments
  14. Who wrote Elizabeth I's most scathing letters? (smithsonianmag.com)
    13comments
  15. MongoDB CEO resigns to join Meta (reuters.com)
    223comments
  16. I switched to Brave (kevquirk.com)
    118comments
  17. Windows 11½ (definitelynotwindows.com)
    92comments
  18. Show HN: Destroy Any Website with Stickman (spritefusion.com)
    14comments
  19. Nvidia wants to put a watchdog chip next to every AI agent (cnbc.com)
    88comments
  20. Kids turned low-traffic NPR Spotify comments into a secret group chat (thisamericanlife.org)
    119comments
  21. I made a visual workspace for AI Automations (biom.dev)
    16comments
  22. 12,000-year-old Göbeklitepe burials explain scattered bones (archaeologymag.com)
    —discuss
  23. So long Google, and thanks for all the nudes (lecaro.me)
    55comments
  24. What would a serious AI product look like? (glyph.im)
    40comments
  25. 37,500 border drawings: a map of the world as people remember it (habibicode.org)
    32comments
  26. When did Google get so weird? (sancho.bearblog.dev)
    994comments
  27. Neal Stephenson responds with wit and humor (2004) (slashdot.org)
    7comments
  28. Show HN: PaperMono, e-ink fridge magnet shopping list with mobile web page (github.com/seamusc)
    51comments
  29. California Farmers Are Struggling to Sell Grapes as Demand for Wine Drops (kqed.org)
    6comments
  30. Footguns with Postgres “at time zone 'UTC'” (bookofrevenue.com)
    92comments

GrapheneOS – When an app is slow

53 pointsby 2h agoblog.wirelessmoves.com
25 comments
1h agoHN ↗

If you have two apps, both maps...

The reason behind it is the hardened memory allocator, which seems to create a significant overhead for Osmand. That might be because scrolling a map requires constant loading and discarding of data.

... is this really the right hunch, over e.g. the OpenStreetMaps app lacking in discipline with its heap allocations?

1h agoHN ↗

Seems unlikely, it's java so this is likely related to loading large amounts of objects and having the GC thrashing.

1h agoHN ↗

Maybe the actual solution is to improve, replace the application.

1h agoHN ↗

There needs to be a wall of shame for apps that abuse hardware owned by users

1h agoHN ↗

How's it abusing anything? It's an Android app that works fine with the default Android memory allocator.

1h agoHN ↗

That doesn't necessarily mean it isn't being abusive, just that said allocator tolerates it okay.

55m agoHN ↗

The AOSP memory allocator is seldom the one used by OEMs.

20m agoHN ↗

Really? They're not using Scudo? The hardened_malloc used in GrapheneOS has a bunch of performance issues that were trade-offs against security. Every other major android distribution uses scudo as far as I know. Which OEMs are you thinking of?

Edit: Did some research after writing this? It appears that Samsung may be still using jemalloc, albeit a newer version than the one from the Android 11 days.

1h agoHN ↗

Or maybe there's a reason why the mainline Android OEMs don't ship that allocator by default.

57m agoHN ↗

The fairly obvious answer here is "OEMs don't care about security because very few people will pay for it, either with $ or time". Benchmaxxing sells better.

29m agoHN ↗

If so, I'd love to know which OEM you're thinking of who ships an Android distro more secure than GrapheneOS.

19m agoHN ↗

Let's first start with y'all providing any proof that it was "benchmaxxing" that causes OEMs not to ship hardened allocators (and not - for example - breaking compatibility with users' software).

And then we can move the goalposts to "more secure distro with GrapheneOS" which isn't part of the conversation until you dragged it out.

57m agoHN ↗

Because they cut costs on hardware and not all ship MTE enabled ARMs.

1h agoHN ↗

Odd. Google Pixel 7 with GrapheneOS here. OsmAnd works perfectly fine for me without disabling any exploit protection options.

33m agoHN ↗

CoMaps behaves very very weirdly on GrapheneOS. Same with OrganicMaps.

Osmand and GMaps are working fine.

Waze is almost melting the poor thing. Beside of that working fine.

24m agoHN ↗

I use Comaps daily on GrapheneOS on a Pixel 8 Pro and it works great.

17m agoHN ↗

Anyone writing about apps compatibility should specify if it's with or without the play services

15m agoHN ↗

Can you even run Waze/GMaps without Play services?

59m agoHN ↗

Huh. Yeah, it is noticeably faster on my 9a with that disabled. I wonder what they're doing differently...

28m agoHN ↗

I wonder if a website using leaflet.js has better or worse performance in the said case. If it does better, then maybe the problem is on OsmAnd's side?