frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

An Experimental Approach to Printf in HLSL

https://www.abolishcrlf.org//2025/12/31/Printf.html
30•ibobev•4d ago

Comments

exDM69•4h ago
Using printf in shaders is awesome, it makes a huge difference when writing and debugging shaders. Vulkan and GLSL (and Slang) have a usable printf out of the box, but HLSL and D3D do not.

Afaik the way it works in Vulkan is that all the string formatting is actually done on the CPU. The GPU writes only writes the data to buffers with structs based on the format string.

All the shader prints are captured by tools such as Renderdoc, so you can easily find the vertex or pixel that printed something and then replay the shader execution in a debugger.

I only wish that we would've had this 20 years ago, it would have saved me so much time, effort and frustration.

Charon77•3h ago
Not putting strings on GPU looks very much like how some system approaches semihosting

Gentoo Linux 2025 Review

https://www.gentoo.org/news/2026/01/05/new-year.html
26•akhuettel•1h ago•3 comments

C++ std::move doesn't move anything: A deep dive into Value Categories

https://0xghost.dev/blog/std-move-deep-dive/
117•signa11•2d ago•67 comments

Think of Pavlov

https://boz.com/articles/think-pavlov
28•kiyanwang•2h ago•4 comments

"Food JPEGs" in Super Smash Bros. & Kirby Air Riders

https://sethmlarson.dev/food-jpegs-in-super-smash-bros-and-kirby-air-riders
32•SethMLarson•4d ago•4 comments

The Concise TypeScript Book

https://github.com/gibbok/typescript-book
125•javatuts•7h ago•28 comments

Vojtux – Unofficial Linux Distribution Aimed at Visually Impaired Users

https://github.com/vojtapolasek/vojtux
72•TheWiggles•4d ago•23 comments

More than one hundred years of Film Sizes

https://wichm.home.xs4all.nl/filmsize.html
45•exvi•5h ago•9 comments

Finding and fixing Ghostty's largest memory leak

https://mitchellh.com/writing/ghostty-memory-leak-fix
497•thorel•18h ago•106 comments

Show HN: I used Claude Code to discover connections between 100 books

https://trails.pieterma.es/
396•pmaze•20h ago•106 comments

'Bandersnatch': The Works That Inspired the 'Black Mirror' Interactive Feature (2019)

https://www.hollywoodreporter.com/tv/tv-news/black-mirror-bandersnatch-real-life-works-influences...
54•rafaepta•5d ago•22 comments

Iran Shuts Down Starlink Internet for First Time

https://www.forbes.com/sites/zakdoffman/2026/01/11/kill-switch-iran-shuts-down-starlink-internet-...
23•neom•49m ago•4 comments

Code and Let Live

https://fly.io/blog/code-and-let-live/
367•usrme•1d ago•129 comments

CPU Counters on Apple Silicon: article + tool

https://blog.bugsiki.dev/posts/apple-pmu/
105•verte_zerg•4d ago•0 comments

Show HN: Ferrite – Markdown editor in Rust with native Mermaid diagram rendering

https://github.com/OlaProeis/Ferrite
188•OlaProis•11h ago•106 comments

A Year of Work on the Arch Linux Package Management (ALPM) Project

https://devblog.archlinux.page/2026/a-year-of-work-on-the-alpm-project/
75•susam•11h ago•20 comments

Open Chaos: A self-evolving open-source project

https://www.openchaos.dev/
389•stefanvdw1•21h ago•80 comments

AI is a business model stress test

https://dri.es/ai-is-a-business-model-stress-test
278•amarsahinovic•20h ago•262 comments

Verifiable Brute Force Strength

https://gist.github.com/atoponce/a7715930ae6eb7d6b487f2f76b57a68d
3•upofadown•5d ago•0 comments

Google: Don't make "bite-sized" content for LLMs

https://arstechnica.com/google/2026/01/google-dont-make-bite-sized-content-for-llms-if-you-care-a...
9•cebert•1h ago•4 comments

Overdose deaths are falling in America because of a 'supply shock': study

https://www.economist.com/united-states/2026/01/08/why-overdose-deaths-are-falling-in-america
163•marojejian•17h ago•136 comments

Show HN: Play poker with LLMs, or watch them play against each other

https://llmholdem.com/
132•projectyang•17h ago•67 comments

LLM poetry and the "greatness" question: Experiments by Gwern and Mercor

https://hollisrobbinsanecdotal.substack.com/p/llm-poetry-and-the-greatness-question
10•networked•42m ago•0 comments

I dumped Windows 11 for Linux, and you should too

https://www.notebookcheck.net/I-dumped-Windows-11-for-Linux-and-you-should-too.1190961.0.html
115•smurda•1h ago•119 comments

Show HN: Librario, a book metadata API that aggregates G Books, ISBNDB, and more

114•jamesponddotco•13h ago•39 comments

Show HN: I built an Open Source screen timer for the m5stickc (Arduino)

https://partridge.works/screenie-christmas-project-2025-26/
9•urbandw311er•4d ago•0 comments

An Experimental Approach to Printf in HLSL

https://www.abolishcrlf.org//2025/12/31/Printf.html
30•ibobev•4d ago•2 comments

Max Payne – two decades later – Graphics Critique (2021)

https://darkcephas.blogspot.com/2021/07/max-payne-two-decades-later-graphics.html
69•davikr•9h ago•24 comments

A battle over Canada’s mystery brain disease

https://www.bbc.com/news/articles/c623r47d67lo
163•lewww•8h ago•109 comments

Show HN: Yellopages – New tab Chrome extension

https://yellopages.kawaicheung.io/
27•kiwigod17•2d ago•6 comments

Ripple: The Elegant TypeScript UI Framework

https://jsdev.space/meet-ripple/
29•javatuts•8h ago•19 comments