Hacker News

Top stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. Pirating the Pirates (mubi.com)
    149comments
  2. MicroLLM Lab – Try 7 tiny LLM's in the browser (stateofutopia.com)
    20comments
  3. World Labs Is Joining AMD (worldlabs.ai)
    4comments
  4. Palantir founder purchases large swath of forest in Sweden (arctictoday.com)
    4comments
  5. Jeff – Jev-compatible 0.8B decision models, trained at home, ~30 ms (github.com/firelex)
    4comments
  6. 12,000-year-old Göbeklitepe burials explain scattered bones (archaeologymag.com)
    1comments
  7. Hijacking the PS5's RTMP stream (yashgarg.dev)
    42comments
  8. Joseph Szabo’s pictures of American adolescents (newyorker.com)
    22comments
  9. Scientists solve 1840s space weather mystery (arstechnica.com)
    1comments
  10. Parley: Federated, decentralised chat that speaks plain IRC (mills.io)
    140comments
  11. First Steps of the PLC Organization – Independent Public Ledger of Credentials (plcred.org)
    11comments
  12. Best of British Design (best-of-british-design.vercel.app)
    2comments
  13. Sonnet 5.5 (anthropic.com)
    273comments
  14. Launch HN: Vespper (YC F24) – SOTA Docx MCP (vespper.com)
    8comments
  15. Cf: The Agentic CLI for the Cloudflare API (cloudflare.com)
    34comments
  16. Who wrote Elizabeth I's most scathing letters? (smithsonianmag.com)
    15comments
  17. GrapheneOS – When an app is slow (wirelessmoves.com)
    25comments
  18. What heraldry and Japanese mon can teach about visual-identity generators (benovermyer.com)
    18comments
  19. SB 923 is Law: CCPA deletion rights now reach third-party data (getprivisy.com)
    11comments
  20. MongoDB CEO resigns to join Meta (reuters.com)
    225comments
  21. Show HN: Destroy Any Website with Stickman (spritefusion.com)
    16comments
  22. I made a visual workspace for AI Automations (biom.dev)
    17comments
  23. I switched to Brave (kevquirk.com)
    125comments
  24. Kids turned low-traffic NPR Spotify comments into a secret group chat (thisamericanlife.org)
    123comments
  25. Nvidia wants to put a watchdog chip next to every AI agent (cnbc.com)
    94comments
  26. It's Time to Investigate the AI Labs (calnewport.com)
    1comments
  27. Windows 11½ (definitelynotwindows.com)
    100comments
  28. California Farmers Are Struggling to Sell Grapes as Demand for Wine Drops (kqed.org)
    17comments
  29. So long Google, and thanks for all the nudes (lecaro.me)
    58comments
  30. Neal Stephenson responds with wit and humor (2004) (slashdot.org)
    12comments

GrapheneOS – When an app is slow

62 pointsby 2h agoblog.wirelessmoves.com
25 comments
2h 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.

2h agoHN ↗

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

2h 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.

1h agoHN ↗

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

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

1h 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.

50m agoHN ↗

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

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

1h 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.

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

44m agoHN ↗

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

37m agoHN ↗

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

35m agoHN ↗

Can you even run Waze/GMaps without Play services?

1h agoHN ↗

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

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