frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Ask HN: Who is hiring? (November 2025)

198•whoishiring•4h ago•217 comments

Learning to read Arthur Whitney's C to become smart (2024)

https://needleful.net/blog/2024/01/arthur_whitney.html
125•gudzpoz•3h ago•38 comments

Ask HN: Who wants to be hired? (November 2025)

63•whoishiring•4h ago•131 comments

Gallery of wonderful drawings our little thermal printer received

https://guestbook.goodenough.us
25•busymom0•1h ago•10 comments

Tiny electric motor can produce more than 1,000 horsepower

https://supercarblondie.com/electric-motor-yasa-more-powerful-tesla-mercedes/
438•chris_overseas•10h ago•398 comments

The Case Against PGVector

https://alex-jacobs.com/posts/the-case-against-pgvector/
186•tacoooooooo•7h ago•76 comments

Why Engineers Can't Be Rational About Programming Languages

https://spf13.com/p/the-hidden-conversation/
33•spf13•2h ago•29 comments

A visualization of the RGB space covered by named colors

https://codepen.io/meodai/full/zdgXJj/
152•BlankCanvas•5d ago•36 comments

Harder, Better, Faster, Stronger Version of Uber H3 in Rust

https://grim7reaper.github.io/blog/2023/01/09/the-hydronium-project/
48•ashergill•1w ago•9 comments

WebAssembly (WASM) arch support for the Linux kernel

https://github.com/joelseverin/linux-wasm
174•marcodiego•2d ago•37 comments

State of Terminal Emulators in 2025: The Errant Champions

https://www.jeffquast.com/post/state-of-terminal-emulation-2025/
87•SG-•5h ago•46 comments

VimGraph

https://resources.wolframcloud.com/FunctionRepository/resources/VimGraph/
123•gdelfino01•6h ago•21 comments

Skyfall-GS – Synthesizing Immersive 3D Urban Scenes from Satellite Imagery

https://skyfall-gs.jayinnn.dev/
75•ChrisArchitect•6h ago•22 comments

The Case That A.I. Is Thinking

https://www.newyorker.com/magazine/2025/11/10/the-case-that-ai-is-thinking
68•ascertain•2h ago•142 comments

Robert Hooke's "Cyberpunk” Letter to Gottfried Leibniz

https://mynamelowercase.com/blog/robert-hookes-cyberpunk-letter-to-gottfried-leibniz/
47•Gormisdomai•4h ago•11 comments

First recording of a dying human brain shows waves similar to memory flashbacks

https://louisville.edu/medicine/news/first-ever-recording-of-a-dying-human-brain-shows-waves-simi...
130•thunderbong•13h ago•112 comments

An Illustrated Introduction to Linear Algebra, Chapter 2: The Dot Product

https://www.ducktyped.org/p/linear-algebra-chapter-2-the-dot
73•egonschiele•6h ago•37 comments

Show HN: Tamagotchi P1 for FPGAs

https://github.com/agg23/fpga-tamagotchi
16•agg23•6d ago•0 comments

No Socials November

https://bjhess.com/posts/no-socials-november
73•speckx•3h ago•100 comments

Show HN: a Rust ray tracer that runs on any GPU – even in the browser

https://github.com/tchauffi/rust-rasterizer
63•tchauffi•6h ago•18 comments

The Continual Learning Problem

https://jessylin.com/2025/10/20/continual-learning/
45•Bogdanp•1w ago•4 comments

Why We Migrated from Python to Node.js

https://blog.yakkomajuri.com/blog/python-to-node
143•yakkomajuri•3h ago•115 comments

Measuring characteristics of TCP connections at Internet scale

https://blog.cloudflare.com/measuring-network-connections-at-scale/
34•fleahunter•5d ago•0 comments

Why Nextcloud feels slow to use

https://ounapuu.ee/posts/2025/11/03/nextcloud-slow/
310•rpgbr•6h ago•238 comments

A collection of links that existed about Anguilla as of 2003

https://web.ai/
48•kjok•6h ago•13 comments

How the Mayans were able to accurately predict solar eclipses for centuries

https://phys.org/news/2025-10-mayans-accurately-solar-eclipses-centuries.html
106•pseudolus•1w ago•101 comments

Python Steering Council unanimously accepts "PEP 810, Explicit lazy imports"

https://discuss.python.org/t/pep-810-explicit-lazy-imports/104131?page=23
84•Redoubts•3h ago•28 comments

OpenAI signs $38B cloud computing deal with Amazon

https://www.nytimes.com/2025/11/03/technology/openai-amazon-cloud-computing.html
127•donohoe•5h ago•116 comments

Wikipedia row erupts as Jimmy Wales intervenes on 'Gaza genocide' page

https://www.thenational.scot/news/25591165.wikipedia-row-erupts-jimmy-wales-intervenes-gaza-genoc...
18•lehi•51m ago•8 comments

OSS Alternative to Open WebUI – ChatGPT-Like UI, API and CLI

https://github.com/ServiceStack/llms
72•mythz•7h ago•23 comments
Open in hackernews

Show HN: a Rust ray tracer that runs on any GPU – even in the browser

https://github.com/tchauffi/rust-rasterizer
63•tchauffi•6h ago
I’ve been experimenting with Rust lately and wanted a project that would help me explore some of its lower-level and performance-oriented features. Inspired by Sebastian Lague’s videos, I decided to implement my own ray tracer from scratch.

The initial goal was just to render a simple 3D scene in the browser at a reasonable frame rate. It evolved into a small renderer that can: • Run locally or on the web using wgpu and WebAssembly • Perform mesh rendering with a Bounding Volume Hierarchy (BVH) for acceleration • Simulate both direct and indirect illumination for photorealistic results • Be deployed easily as a free web demo using GitHub Pages

The project is far from perfect, but it’s been a fun way to dig deeper into graphics programming and learn more about Rust’s ecosystem. I’m also planning to experiment with Rust for some ML projects next.

GitHub: https://github.com/tchauffi/rust-rasterizer Web demo (desktop browsers): https://tchauffi.github.io/rust-rasterizer/

Would love feedback from anyone who’s built similar projects or has experience with wgpu or ray tracing in Rust.

Comments

WhitneyLand•4h ago
It looks cool, nice project.

Recommend taking a few minutes to make the web page work on mobile.

For example on iPhone the actual webgpu/ray tracing seems to work fine but html formatting is shoving things over to be barely visible.

tchauffi•4h ago
Thanks! It should work on mobile, you can hide the right panel using the button at the bottom of the screen. That said, performance on mobile is pretty limited because of hardware limitations.
jasonjmcghee•41m ago
performance was 60fps on my phone / worked fine, but as parent said - the sidebar covers 90% of the screen. Worth collapsing by default imo.
goodpoint•4h ago
It does not run: "unreachable executed"
tchauffi•4h ago
Maybe your browser do not support webgpu. Try using Chrome.
knowhistory•4h ago
https://www.jsweet.org/examples/#Ray_tracer

Written in Java then transpiled to JavaScript, been around for years.

nogridbag•2h ago
The OP is real time ray tracing which is running between 30-60FPS on my macbook air while moving the camera and objects around.

Your link appears to be a basic ray tracer which anyone who has taken an intro to computer graphics course in college is likely required to implement and would only need a javascript canvas. To be honest I have no idea how much OPs real-time ray tracing differs in complexity from traditional ray tracing.

gunalx•4h ago
Dosent work in firefox, because of missing webgpu.
tormeh•4h ago
Works on mobile Firefox Nightly
swiftcoder•4h ago
Very cool. Enjoyed playing with the "bounces" slider - it's fascinating how little improvement each additional bounce contributes after about 3 bounces. Severely diminishing returns in terms of the final image quality.
tormeh•3h ago
Demonstrates how important it is to match the scenes with the rendering techniques. You can easily create a corridor with a light at one end that requires lots of bounces for the light to get to the end. But in a game you can just decide to not create that kind of scene. Cyberpunk 2077 basically has no rooms without direct light in them, which makes the game look good even without ray tracing.
Maken•3h ago
That's why virtually every renderer stochastically discards indirect paths with low contribution. Looking at the source code, this one computes every subsequent bounce, even those hitting the perfectly blue sphere after hitting the perfectly green one.
eek2121•3h ago
In Firefox, open about:config and set this to true: `dom.webgpu.enabled`.
skrrtww•2h ago
In Safari 26 on an M1 with WebGPU enabled I get "InvalidStateError: GPUCommandEncoder.beginComputePass: Unable to begin compute pass."

In Chrome I get "Failed to start: Failed to create State. Caused by: failed to find GPU adapter."

So I guess it runs on "some" GPUs, in "some" browsers!

CyberDildonics•2h ago
runs on any GPU – even in the browser

Seems pretty clickbaity and dishonest when that's just what webgl and webgpu means. Just say webgpu.

Also the roughness doesn't apply to the environment map.

cptroot•1h ago
If you click into the code you can see that it depends on `wgpu`, which is a wrapper that uses whichever native API would be appropriate for the platform you're working with. If you run the native compiled version you won't be using WebGPU.
_bent•1h ago
Why did you call the project rasterizer when it is not using rasterization but raytracing?
SR2Z•21m ago
Rasterization is just the process of converting an image to a raster, which you also have to do in raytracing. It does sound strange though.