frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

When Compilers Disagree About UTF‑8

https://nemanjatrifunovic.substack.com/p/when-compilers-disagree-about-utf8
15•rbanffy•4d ago

Comments

kstenerud•4d ago
You could actually use SIMD instructions to detect sequences of bytes with the top bit cleared, thus allowing bulk copies of ASCII text without a per-byte loop.

Another optimization would be to take advantage of the fact that codepoint usage tends to cluster around the language of the text. So if you detect usage of 3-byte encodings, chances are you'll continue encountering only 3-byte encodings, with the odd ASCII or emoji codepoints. This opens up even more state machine possibilities.

duskwuff•42m ago
> So if you detect usage of 3-byte encodings, chances are you'll continue encountering only 3-byte encodings, with the odd ASCII or emoji codepoints.

Depends on what kind of text you're processing. Many languages use the ASCII range for spaces/newlines, digits, and punctuation.

mort96•33m ago
That, plus markup, be it something XML/HTML-like or something Markdown-like.

How I use LLMs to learn complex topics

https://laurentiugabriel.github.io/blog/articles/how-i-use-llms-to-learn/
190•laurentiurad•2h ago•105 comments

Is it all just vapourware?

https://kirahowe.com/2026/aug/8/is-it-all-just-vapourware
39•Lyngbakr•33m ago•19 comments

Deletes all instances of Microsoft's GDID and prevents minting of new ones

https://github.com/yegors/deGDID
39•campuscodi•1h ago•21 comments

Saying No

https://rozumem.xyz/posts/19
93•rozumem•2h ago•76 comments

Ask HN: What are you working on? (August 2026)

130•david927•4h ago•463 comments

Mea Culpa – Dark Hours

https://blog.terrygodier.com/2026/08/09/mea-culpa-dark-hours.html
499•satvikpendem•8h ago•225 comments

The tragedy of the commons, AI edition

https://www.economist.com/britain/2026/08/06/the-tragedy-of-the-commons-ai-edition
25•simonpure•1h ago•2 comments

New Zealand lost its music media, and what we're building to replace it

https://propelmusic.co.nz/articles/the-sound-went-quiet-nz-music-media
12•berghoffer•54m ago•1 comments

The Hacker's Renaissance

https://phrack.org/issues/72/19#article
13•yu3zhou4•1h ago•3 comments

Cool URIs Don't Change (1998)

https://www.w3.org/Provider/Style/URI
129•Klaster_1•7h ago•24 comments

OpenChamber: An Agentic Development Environment

https://openchamber.dev/
76•hexomancer•4h ago•43 comments

Taxi drivers rarely die of Alzheimer's

https://theconversation.com/taxi-drivers-rarely-die-of-alzheimers-how-complex-mental-maps-and-spa...
95•jader201•6h ago•84 comments

I've yet to see any"My AI went rogue and caused us to recognise a workers union

https://mastodon.neilzone.co.uk/@neil/117061512483182546
29•severine•35m ago•5 comments

John C. Lilly on solid state intelligence and the elimination of man (1978)

https://kibotronics.net/unlisted/lilly-machines/
103•Kiboneu•7h ago•57 comments

"I loved every minute of it, however hard it had been" [video]

https://www.youtube.com/watch?v=GS7CxAtV5Ks
6•jackdoe•2d ago•3 comments

How not to turn ideologically crazy

https://blog.andymasley.com/p/the-main-way-ive-seen-people-turn
7•mef•1h ago•5 comments

Show HN: Alphabet Soup, a multiplayer game, build the longest word to win

https://alphabetsoup.club
10•johnchinjew•1h ago•3 comments

Tuxedo No. 2 – Cocktail recipes

https://tuxedono2.com
5•smartmic•48m ago•0 comments

How Golden Is Silence, Actually?

https://www.newyorker.com/magazine/2026/08/10/silence-kate-mcloughlin-book-review
17•tintinnabula•3d ago•6 comments

Crickets as Pets

https://en.wikipedia.org/wiki/Crickets_as_pets
64•Michelangelo11•4d ago•30 comments

Ransomware gangs skip the CEO, head straight for the 40-something IT manager

https://www.theregister.com/security/2026/08/09/ransomware-gangs-skip-the-ceo-head-straight-for-t...
53•joebuckwilliams•2h ago•19 comments

Everything you do is being recorded

https://www.theatlantic.com/technology/2026/05/ai-wearable-surveillance-countermeasures/687203/
139•ike_usawa•10h ago•120 comments

Windows 11's built-in Weather app wastes more than 1 GB of RAM

https://www.notebookcheck.net/Windows-11-s-built-in-Weather-app-wastes-more-than-1-GB-of-RAM.1364...
250•akyuu•6h ago•206 comments

When Compilers Disagree About UTF‑8

https://nemanjatrifunovic.substack.com/p/when-compilers-disagree-about-utf8
15•rbanffy•4d ago•3 comments

Show HN: A Project Oberon System version running on RISC-V instead of RISC-5

https://github.com/rochus-keller/OberonSystem/tree/op2-rv32
92•Rochus•8h ago•16 comments

I Made Tinnitus My Friend (Then It Disappeared)

https://mynoise.net/vlog.php?ep=20260803
13•gregsadetsky•2h ago•4 comments

Archival Resource Key (Ark) Alliance

https://arks.org/
3•cxr•1h ago•0 comments

Reviving a four year old reMarkable 2

https://oskrim.github.io/hardware/2026/08/09/remarkable-over-ssh.html
101•tremguy•9h ago•82 comments

There Are Magic Hexagons of Every Order

https://gukov.dev/math/2026/08/02/new-magic-hexagons.html
174•gukoff•14h ago•27 comments

Every fast write moves work somewhere else

https://www.shayon.dev/post/2026/220/every-fast-write-moves-work-somewhere-else/
52•shayonj•5h ago•19 comments