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)
    8comments
  6. Sonnet 5.5 (anthropic.com)
    255comments
  7. Parley: Federated, decentralised chat that speaks plain IRC (mills.io)
    137comments
  8. Launch HN: Vespper (YC F24) – SOTA Docx MCP (vespper.com)
    8comments
  9. Cf: The Agentic CLI for the Cloudflare API (cloudflare.com)
    32comments
  10. SB 923 is Law: CCPA deletion rights now reach third-party data (getprivisy.com)
    10comments
  11. GrapheneOS – When an app is slow (wirelessmoves.com)
    25comments
  12. Who wrote Elizabeth I's most scathing letters? (smithsonianmag.com)
    13comments
  13. What heraldry and Japanese mon can teach about visual-identity generators (benovermyer.com)
    17comments
  14. MongoDB CEO resigns to join Meta (reuters.com)
    220comments
  15. I switched to Brave (kevquirk.com)
    117comments
  16. Windows 11½ (definitelynotwindows.com)
    92comments
  17. Show HN: Destroy Any Website with Stickman (spritefusion.com)
    14comments
  18. Nvidia wants to put a watchdog chip next to every AI agent (cnbc.com)
    88comments
  19. Kids turned low-traffic NPR Spotify comments into a secret group chat (thisamericanlife.org)
    118comments
  20. I made a visual workspace for AI Automations (biom.dev)
    16comments
  21. 12,000-year-old Göbeklitepe burials explain scattered bones (archaeologymag.com)
    —discuss
  22. So long Google, and thanks for all the nudes (lecaro.me)
    55comments
  23. What would a serious AI product look like? (glyph.im)
    41comments
  24. 37,500 border drawings: a map of the world as people remember it (habibicode.org)
    32comments
  25. When did Google get so weird? (sancho.bearblog.dev)
    994comments
  26. Neal Stephenson responds with wit and humor (2004) (slashdot.org)
    7comments
  27. Show HN: PaperMono, e-ink fridge magnet shopping list with mobile web page (github.com/seamusc)
    51comments
  28. California Farmers Are Struggling to Sell Grapes as Demand for Wine Drops (kqed.org)
    2comments
  29. Footguns with Postgres “at time zone 'UTC'” (bookofrevenue.com)
    92comments
  30. Solving a corn puzzle with CP-SAT (thill.me)
    7comments

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.

54m agoHN ↗

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

19m 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.

56m 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.

28m agoHN ↗

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

18m 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.

55m 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.

32m 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.

22m agoHN ↗

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

16m agoHN ↗

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

13m agoHN ↗

Can you even run Waze/GMaps without Play services?

57m agoHN ↗

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

27m 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?