frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: AffineUI a 2 file C++ GPU/HTML5 UI that can replace Electron

https://github.com/affineui/affineui
1•bc1000003•4h ago
I thought this might be useful to C++ engineers working on games, graphics, content in C++ looking for a good lightweight html5 Electron style UI engine. AffineUI is deeply optimized and meant to run as close to 120hz as possible, but supports (most) of html5 and is easy to integrate with your app. It also is highly crash resistant using weakrefs, handles, etc. to avoid footguns.

A zero-dep drop in lib that could be a cross between DearIMGUI and Electron. A full featured GPU accelerated html5 rendering engine you can drop into any C++ project with two files (cpp/h) that adds a gpu accellerated html5 Electron style render plus a Gradio style UI component framework.

Just main.cpp, affine.cpp and affine.h and you have yourself an app that's about 1/100th the size of the average Electron beast. I built it as a nicer (but somewhat larger) replacement for DearIMGUI that had full CSS/HTML5 compatibility for graphics apps I've been working on.

Also available as a python library (pip install affineui), a rust crate (cargo add affineui) and a .net nuget package.

Cheers.

Starship – Critical Path [video]

https://www.youtube.com/watch?v=-a0ecQMq-rM
1•throwitaway222•25s ago•0 comments

Battery-powered Charles River ferry begins testing near Boston

https://www.watertownmanews.com/2026/07/13/wada-hoppah-charles-river-ferry-boat-has-launched-see-...
1•ilamont•2m ago•0 comments

AI use case library – Who is deploying AI, and what happened (150+ cases)

https://aiweekly.co/ai-use-cases
1•adu_onemore•2m ago•0 comments

Human Emacs

https://human-emacs.org/
1•birdculture•3m ago•0 comments

France powers down several nuclear reactors due to extreme heat

https://www.lemonde.fr/en/france/article/2026/07/12/france-powers-down-several-nuclear-reactors-d...
2•_Microft•4m ago•0 comments

Grok Build uploading full repos and .envs to GCP

https://twitter.com/xbtoshi/status/2076338252051841512
2•ashleypeacock•5m ago•0 comments

Trump notifies Congress of new war against Iran

https://www.politico.com/news/2026/07/13/trump-notifies-congress-of-new-war-against-iran-00995170
7•bushwart•5m ago•1 comments

AI Agents for Increasing Revenue

https://alum.so/
2•Sumiran7•5m ago•1 comments

The Tick That Hunts Down Its Hosts–Including Us

https://www.newyorker.com/magazine/2026/07/06/the-tick-that-hunts-down-its-hosts-including-us
1•randycupertino•7m ago•0 comments

Venice's access fee doesn't reduce tourism: it selects who can afford it

https://andreafontana.it/en/venice-entry-ticket-overtourism.html
1•trikko•8m ago•0 comments

Microsoft commits $2.5B, 6k employees AI implementation unit

https://www.cnbc.com/2026/07/02/microsoft-commits-2point5-billion-6000-employees-ai-implementatio...
1•rbanffy•8m ago•0 comments

Quantum-Augmented Databases Study Aims to Break Bottlenecks Slowing Data Systems

https://viterbischool.usc.edu/news/2026/07/toward-quantum-augmented-databases-new-usc-study-could...
1•rbanffy•8m ago•0 comments

Brazilian woman held as a slave for 38 years (2021)

https://www.dw.com/en/brazilian-woman-held-as-a-slave-for-38-years/a-56177797
1•toilet•9m ago•0 comments

Human settlement of East Polynesia coincident with prolonged S. Pacific drought

https://www.pnas.org/doi/10.1073/pnas.1920975117
1•janalsncm•11m ago•0 comments

Welcome to the Modern World. Is The Most Unhelpful Thing You Can Say to a Dev

https://codemonkey.studio/welcome-to-the-modern-world-why-that-might-be-the-most-unhelpful-thing-...
1•rmason•12m ago•1 comments

Brain-inspired hardware brings faster, low-power anomaly detection to AI systems

https://techxplore.com/news/2026-07-brain-hardware-faster-power-anomaly.html
1•rbanffy•12m ago•0 comments

I built a domain name discovery tool I don't hate

https://domaame.com
1•cybrjoe•13m ago•1 comments

Meta's AI Glasses Will Activate the Camera Without the Camera Indicator Light

https://www.privacyguides.org/news/2026/07/13/the-next-version-of-metas-ai-glasses-will-activate-...
1•Cider9986•13m ago•0 comments

Evelyn Berezin: instamatic for UAL, then first word processor

https://www.invent.org/inductees/evelyn-berezin
1•stmw•14m ago•0 comments

Apple sues OpenAI after ex-engineer allegedly used bug to steal trade secrets

https://arstechnica.com/tech-policy/2026/07/apple-sues-openai-after-ex-engineer-allegedly-used-bu...
2•bookmtn•15m ago•0 comments

New York City's chief technologist launches team to transform city's technology

https://www.fastcompany.com/91571965/new-york-citys-chief-technologist-is-launching-a-new-team-to...
1•hn_acker•16m ago•1 comments

Department of War Suspends CMMC Phase II Requirements

https://www.war.gov/News/Releases/Release/Article/4542329/forging-the-arsenal-of-freedom-departme...
2•ckrailo•19m ago•0 comments

We gave open models root on broken servers and graded them on the machine

https://glassmkr.com/blog/open-model-ladder-blind-remediation
1•glassmkr•24m ago•0 comments

Making Fable Cheaper Than Opus

https://cognition.com/blog/making-fable-cheaper-than-opus
1•aarvin_roshin•27m ago•0 comments

Harness Engineering for Self-Improvement – Lil'Log

https://lilianweng.github.io/posts/2026-07-04-harness/
1•haritha1313•29m ago•0 comments

Measuring Agents in Production – ICML

https://arxiv.org/abs/2512.04123
1•haritha1313•30m ago•0 comments

Web Client SDK

1•atoapaymentsapp•31m ago•0 comments

Coluber: Language Written in Nim. Speaks Nim, C, Vlang, Python, and JavaScript

https://codeberg.org/distantfar/coluber
1•baranul•34m ago•0 comments

Consumer Resources – CFPB

https://www.consumerfinance.gov/consumer-tools/
1•enjoyyourlife•34m ago•0 comments

V. vulnificus infection has extreme mortality and lacks a treatment protocol

https://en.wikipedia.org/wiki/Vibrio_vulnificus
1•burnt-resistor•34m ago•0 comments