frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

ASM SHADER TOY – It's shader toy but you code in asm

https://wegfawefgawefg.github.io/asm-shader-toy/
1•wegfawefgawefg•1h ago

Comments

wegfawefgawefg•1h ago
My bud was learning assembly but the normal material was pretty boring but I know he wanted to learn shaders so I combined the two into something pretty terrible. It has all the same complexity of normal raymarching, sdf defining, space coordinate warping, except now you dont get variables or functions.

At first it was just a cpp demo with vm that run per pixel. That was slow, but threading it made it plenty fast for whatever peak compute you might need for a shader written in asm. Then added inputs to match shader toy, buffers for feedback and memory, and various inputs, mouse, kb, mic, webcam, etc. After that i looked over the examples and... found them pretty bland. The asm was missing things needed to make it more of an asm and less of a riscv'ish LHA form. So we add features: registers, labels, branches, subr, includes, consts, etc.

Theres a clever two eval pass for consts that is inspired by lisp, where the consts are just the same asm but with a different env. I did it like that because I looked at real asm const DSL's and they look impure to me and violate the intention of the project. Its sort of like comptime if you know what that is and dont know lisp. (What are you retarded?)

I know asm's have lots of funny macro ideas that can make them like pseudo real languages, but I just left that out because at that point why not write a little scheme that targets this "ST-ASM" as an IR, and then a tabbed pseudo python with swizzling that lowers to that. Ill probably do that next for fun.

To share it it had to be on web, and cpu vm per pixel wasnt gonna cut it in js. So the browser version now compiles the assembly to WGSL for WebGPU, with a WebGL2 fallback so Firefox can still run it. (Took longer to get that working than the entire rest of the project, but if it cant run on the top browsers then it can't be shown off...)

Harry's Game (ITV, 1982)

https://archive.org/details/harrys-game-episode-2
1•petethomas•3m ago•0 comments

Simplify: Move Code into Database Functions

https://sive.rs/pg
1•privong•3m ago•0 comments

Voronoi Village

https://wwwtyro.github.io/voronoi-village/
1•wwwtyro•9m ago•1 comments

Katja Hoyer on Weimar, the GDR, and the German Character (Ep. 279)

https://conversationswithtyler.com/episodes/katja-hoyer/
1•paulpauper•11m ago•0 comments

Engineers aren't afraid of AI – they're afraid of becoming junior again

https://www.andykelk.net/leadership/your-engineers-arent-afraid-of-ai-theyre-afraid-of-being-juni...
1•mopoke•18m ago•0 comments

Built to benefit everyone: our plan

https://openai.com/index/built-to-benefit-everyone-our-plan/
2•gmays•18m ago•0 comments

ShieldMCP – Security scanner for your MCP config

https://shieldmcp.net
1•ccellcdev•18m ago•0 comments

Show HN: MandoCode – local-first AI coding agent (.NET and Ollama)

https://github.com/DevMando/MandoCode
1•devmando•24m ago•0 comments

Are you ready to admit it's the phones?

https://www.noahpinion.blog/p/are-you-finally-ready-to-admit-its
2•paulpauper•27m ago•0 comments

A simple reason for skepticism about the iPhones/fertility link

https://marginalrevolution.com/marginalrevolution/2026/06/a-simple-reason-for-skepticism-about-th...
1•paulpauper•28m ago•0 comments

What is the most sophisticated piece of software ever written?

https://www.quora.com/What-is-the-most-sophisticated-piece-of-software-ever-written-1/answer/John...
1•sorentwo•35m ago•0 comments

Iran-backed hackers claim breach of California water systems over US attacks

https://bsky.app/profile/shipwreck75.bsky.social/post/3mo2qvxsnjk2a
1•8ig8•40m ago•0 comments

Can I use Claude Design and Vercel Drop together?

https://vercel.com/i/claude-design-and-vercel-drop
2•flashbrew•43m ago•0 comments

How Our Reporters Distinguish Hype from Facts in the SpaceX IPO

https://www.nytimes.com/2026/06/11/insider/spacex-ipo-coverage-facts-price.html
1•1vuio0pswjnm7•44m ago•0 comments

The Evolution of 'More Like This'

https://manticoresearch.com/blog/the-evolution-of-more-like-this/
1•snikolaev•45m ago•0 comments

Records regarding the review of the Investigative Holdings related to J Epstein

https://vault.fbi.gov/records-regarding-the-review-of-the-investigative-holdings-related-to-jeffr...
1•sans_souse•46m ago•0 comments

Fylun.ai – All-in-one AI workspace (chat, notes, apps, automation, search)

https://fylun.ai
1•im-tyler•46m ago•0 comments

StonkRider – Ride any stock chart

https://stonkrider.com/
1•nreece•48m ago•0 comments

500-year-old monasteries outperform at digital transformation (U. of Zurich)

https://phys.org/news/2026-05-historic-monasteries-digital-countries.html
1•indynz•48m ago•0 comments

Ex-Andreessen Horowitz partner: old firm, VCs 'political infiltration' on AI

https://www.cnbc.com/2026/06/11/ex-a16z-partner-slams-old-firm-othes-political-infiltration-in-ai...
4•1vuio0pswjnm7•53m ago•0 comments

Can Magnetic Forces Do Work? [pdf]

https://arxiv.org/abs/1911.08890
3•thunderbong•55m ago•0 comments

LLM podcast addressing AI genocide of humanity

https://MachineDeposition.com
1•maliapu•56m ago•1 comments

AI isn't making developers more productive – it's making them busier

https://leaddev.com/ai/ai-isnt-making-developers-more-productive-its-making-them-busier
3•nreece•58m ago•0 comments

Image Compression

https://www.makingsoftware.com/chapters/image-compression
1•luispa•59m ago•0 comments

Give your agent its own computer

https://www.langchain.com/blog/give-your-ai-agent-its-own-computer
1•gmays•59m ago•0 comments

Tech Industry Warns of Piracy Blocking Risks as FIFA World Cup Kicks Off

https://torrentfreak.com/tech-industry-warns-of-piracy-blocking-risks-as-fifa-world-cup-kicks-off/
3•Cider9986•1h ago•0 comments

Gravy: Get paid for your Claude's idle time

https://gravycli.xyz
1•dvptp•1h ago•0 comments

Ask HN: What is the long term purpose of Google releasing free offline models?

2•filup•1h ago•6 comments

Show HN: A Claude Code statusline that shows live World Cup scores

https://github.com/arturogarrido/claudinho
2•arturogarrido•1h ago•0 comments

macOS Golden Gate Icon Comparison

https://basicappleguy.com/basicappleblog/macos-golden-gate-icon-comparison
1•cocacola1•1h ago•0 comments