frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Every Byte Matters

https://fzakaria.com/2026/06/01/every-byte-matters
44•ingve•1h ago

Comments

coldcity_again•46m ago
I love to see stuff like this. And an active Vectrex gamedev and PC/Amiga sizecoder I strongly agree with the sentiment!
forinti•42m ago
So if you need speed, you just have to swallow your OO programmer's pride and put your data in arrays.
theandrewbailey•35m ago
Maybe someone can write an OO language where arrays of structs are automatically stored as structs of arrays.

mild /s

Mizza•25m ago
Are you talking about Zig's MultiArrayList?
noelwelsh•29m ago
The JVM is currently pretty bad for memory allocation. Every object (i.e. not a primitive) has a header that IIRC is 12 bytes. But there is good news in JVM land: this will be reduced to 8 bytes in the next JVM release, and Project Valhalla will give the tools to do away with headers entirely in some cases. Project Valhalla also has tools to manage off-heap memory, which is important in many cases.

The JVM is an odd place where it requires too much heap to compete with the AOT compiled languages, but its startup time is too slow compared to interpreted languages. I think these enhancements are essential to keep the platform relevant.

kakacik•12m ago
Most of real world use of Java platform has next to 0 concerns like those. Some more niche use case may benefit, good, but overall success map isn't changing anytime soon. Reasons for its long term success lie elsewhere.
ssiddharth•28m ago
Slight tangent, but every ms, μs, and ns counts too. We've gotten awfully carefree with response times and wasted compute cycles.
yas_hmaheshwari•20m ago
Out of course: I had thought about reading an article about Iran war or some geo political news when I read fzakaria :-)
pron•20m ago
> The cost of each new field is rarely considered

Most developers, in Java and in most other languages, do not consider the cost of every field, but I can tell you that people who need micro-optimisations certainly do care, and in Java's standard library, a layout is very much a concern (except, as always, you want to optimise what really matters; there's no point in optimising something that is unlikely to be a hot spot in a real program). Sometimes, though, you want to intentionally spread out the layout to avoid cache line sharing when concurrency is involved. You will find such examples in the standard library, too.

Functional Programming

https://mlochbaum.github.io/BQN/doc/functional.html
1•tosh•49s ago•0 comments

Building for Voice In, Visuals Out

https://allenpike.com/2026/voice-in-visuals-out/
1•surprisetalk•1m ago•0 comments

Tech-favored candidates fell short on California's primary night

https://www.politico.com/news/2026/06/03/tech-favored-candidates-fell-short-on-californias-primar...
1•RickJWagner•1m ago•0 comments

Why Nature Magazine Has Joined TikTok

https://www.nature.com/articles/d41586-026-01723-1
1•bookofjoe•4m ago•0 comments

SpaceX is worth less than half of its $1.75T IPO target, Morningstar says

https://www.cnbc.com/2026/06/03/morningstar-spacex-ipo-target-price-nasdaq.html
3•1vuio0pswjnm7•5m ago•0 comments

Show HN: RNKFlow I wanted HN but live like Digg, it became something much bigger

https://rnkflow.com/
1•JCSlim•6m ago•1 comments

Goldman Sachs CEO says markets in 'greed' mode as AI companies seek billions

https://www.cnbc.com/2026/06/02/goldman-ceo-david-solomon-greed-mode-ai-firms-ipos.html
1•1vuio0pswjnm7•7m ago•0 comments

Introducing Search Generative AI Performance Reports in Google Search Console

https://developers.google.com/search/blog/2026/06/gen-ai-performance-reports
1•thm•10m ago•0 comments

Show HN: VNN – AI news aggregator that verifies every source live

https://vnn.valyrian.tech
1•WouterGlorieux•11m ago•0 comments

Show HN: A self-growing wiki of Andrej Karpathy's public work

https://andrej-karpathy.com/
1•vasa_•11m ago•0 comments

Author

1•victorayomide•12m ago•0 comments

The interface for AI hasn't been invented yet

https://adaptivesoftware.substack.com/p/the-interface-for-ai-hasnt-been-invented
1•iristenteije•12m ago•0 comments

Zero Evidence of AI-Related Job Losses

https://www.apollo.com/wealth/the-daily-spark/zero-evidence-of-ai-related-job-losses
2•RickJWagner•12m ago•0 comments

The sorry state of skill distribution

https://blog.trailofbits.com/2026/06/03/the-sorry-state-of-skill-distribution/
2•ingve•13m ago•0 comments

An interactive map of all of English Wikipedia

https://tobypenner.com/wikigraph/
1•tfpgh•14m ago•0 comments

C++ Special Member Function Guidelines

https://www.foonathan.net/special-member-chart/
1•klaussilveira•14m ago•0 comments

Windsurf is now Devin Desktop

https://devin.ai/blog/windsurf-is-now-devin-desktop/
2•chaz6•15m ago•0 comments

Half a Month of Consolation Writing Advice

https://www.astralcodexten.com/p/half-a-month-of-consolation-writing
1•surprisetalk•15m ago•0 comments

AI Workflows Need Topological Sort

https://arpitbhayani.me/blogs/ai-topological-sort/
1•saikrishnanair•16m ago•1 comments

Show HN: AI Council Toolkit – open-source playbook for AI governance

https://www.aicounciltoolkit.com/
1•RickCraig•17m ago•0 comments

Show HN: A pizza configurator that re-adapts when you change your mind

https://wanderer-flow.de/flows/The-Time-Traveling-Pizza-Configurator-5qdvtptcn0bacbmu9jxbq3kvseua...
1•steampixel•20m ago•0 comments

To Mock a Mockingbird

https://en.wikipedia.org/wiki/To_Mock_a_Mockingbird
1•tosh•21m ago•0 comments

Top AI labs expand research into machine 'consciousness'

https://www.ft.com/content/53e14bcc-788c-4959-b260-7aee363594bc
1•1vuio0pswjnm7•22m ago•0 comments

Why Use Google?

https://bsky.app/profile/annierau.bsky.social/post/3mmx7hsaxw227
1•shaunpud•25m ago•0 comments

KNN early termination in Manticore Search

https://manticoresearch.com/blog/knn-early-termination/
1•snikolaev•25m ago•0 comments

Did Claude Opus 4.8 distill Alibaba's Qwen? Here's what the evidence says

https://blog.kilo.ai/p/did-claude-opus-48-distill-alibabas
8•heymax054•25m ago•4 comments

Light Cone Consistency: I'll Take One Scoop of Each

https://swytchbv.substack.com/p/light-cone-consistency-ill-take-one
1•withinboredom•26m ago•0 comments

Study finds AI chatbots frequently miss possible diagnoses

https://www.nbcboston.com/news/local/study-finds-ai-chatbots-frequently-miss-possible-diagnoses/3...
1•1vuio0pswjnm7•26m ago•0 comments

Case report: transient return of speech in dementia patient after 5G psilocybin

https://psychedelics.co.uk/news/an-80-year-old-woman-with-advanced-alzheimers
3•voisin•27m ago•0 comments

The Classical Advances Needed to Make Quantum Computers Tick

https://spectrum.ieee.org/quantum-calibration-decoding
1•oldnetguy•27m ago•0 comments