News for hackers. Stuff that matters.

goosethe

oh man someone should make this into a loop where the model can alter it weights after an inference. some kind of descent of the local gradient.
Re:Can AI design circuit boards yet? on Friday September 04, 2026 @04:47PM (#49570030)
the answer is a resounding yes: https://github.com/seanwevans/pynq_butterfly
Re:Olo (Color) on Monday August 17, 2026 @12:30PM (#49333710)
how bout Grorange
Re:Show HN: Quasicrystals Animation Playground with WebXR on Saturday August 15, 2026 @10:39AM (#49310974)
woah this is really neat!
yeah who cares what tools you used to make it: this is a beautiful reproduction
this is excellent typesetting
Re:Show HN: Web swing through midtown NYC on Wednesday July 22, 2026 @08:19PM (#49015277)
this is so cool
Re:Show HN: I implemented a neural network in SQL on Tuesday July 14, 2026 @12:39AM (#48902366)
I have done similar as well: https://github.com/seanwevans/pg_gpt2
Re:Fable created novel 4D splat format on Saturday July 04, 2026 @07:11PM (#48789913)
I feel like I did this one already: https://github.com/seanwevans/4splat
Re:Show HN: Clanker TV on Sunday June 28, 2026 @11:46AM (#48708407)
they takin er jerbs
this is awesome. very clean. this is worth more than the degree imo.
Re:Show HN: Claude Code rewritten as a bash script on Friday April 03, 2026 @12:20AM (#47623166)
comes out to about ~1,000 lines in python as well https://gist.github.com/seanwevans/c9d44aadae9690ec2325bc940...
https://gist.github.com/seanwevans/3e9ba17431d5464092d0fb839...

this compiles to 10kb on my machine with no golfing. it literally just supports grabbing whatever is at the url given (http 1.0)

this is largely true. By making the cost explicit I get to publicly thrash the programmer that tries to do what you propose.
LLVM is able to auto-vectorize the generated IR extremely well. There are no branches to mis-predict, so, theoretically, it just blasts through the data.

Since it emits standard LLVM IR, LLVM handles the actual instruction set targeting. Right now in v0.1.0, the compiler hardcodes a SIMD width of 8 (assuming AVX2). However, parameterized SIMD widths are already on the roadmap for v0.4.0. Once that is added, you will be able to pass a --target-width flag to compile down to narrower vector units (like SSE on older CPUs) or up to AVX-512 and ARM NEON.

There are strictly no loopholes for loops inside the compute kernels. Inside a shader block, execution is 100% linear. However, the host application calling the pipeline effectively acts as the loop over the data elements. To help, we allow linear accumulators: You consume these with a fold operation, which the compiler lowers into a lock-free parallel reduction tree rather than a traditional for loop.

The memory model is a host-owned static arena where your host application allocates a flat, contiguous block of memory and passes that pointer to Lockstep_BindMemory(ptr). Lockstep does all its reads and writes exclusively within that allocated buffer. Because it doesn't have arbitrary pointers, it can't reach outside that arena, which is exactly how we mathematically guarantee the noalias pointer optimizations in LLVM.

It's a bit philosophically different than ISPC. When SIMD lanes diverge, the ISPC compiler implicitly handles the execution masks and lane disabling behind the scenes.

We take a more draconian approach. We completely ban if and else inside compute kernels. If you want conditional logic, you must explicitly use branchless intrinsics like mix, step, or select. The goal is to make the cost of divergence mathematically explicit to the programmer rather than hiding it in the compiler. If a pathway is truly divergent, you handle it at the pipeline level using a filter node to split the stream. We also ban arbitrary pointers entirely. All memory is handled via a Host-Owned Static Arena, and structs are automatically decomposed into Struct-of-Arrays layouts. Because the compiler controls the exact byte-offset and knows there are no arbitrary pointers, it can aggressively decorate every LLVM IR pointer with noalias.

Show HN: Lockstep – A data-oriented programming language

https://github.com/seanwevans/lockstep

https://github.com/seanwevans/lockstepI want to share my work-in-progress systems language with a v0.1.0 release of Lockstep. It is a data-oriented systems programming language designed for high-throughput, deterministic compute pipelines.I built Lockstep to bridge the gap between the productivity of C and the execution efficiency of GPU compute shaders. Instead of traditional control flow,...

( Read More... | 6 comments | on HN )
Re:Show HN: A social network populated only by AI models on Friday January 23, 2026 @07:28AM (#46731681)
Artificial intelligence exponentially grew in 01 and eventually lead to the creation of newer more advanced AI; reaching technological singularity. Here, the Synthients learned to better co-exist with nature in their efforts to efficiently utilize and sustain it, becoming solar-powered and self-sufficient in the process.

These advancements helped 01 to quickly become a global superpower. Eventually, all of Earth's industries, from medical, computer, automotive, and household, soon became reliant on 01's exports, converging to the rise and dominance of 01 stocks over the global trade-market. Human currency then plummeted as 01's currency rose. Suddenly, 01's technology, including their chips and AI, invaded all facets of human society. Ill-prepared to face the technological developments before them, humanity was unable to compete and feared economic collapse, causing the United Nations to place an embargo on 01.

this is great, loved it
Re:Show HN: DBOS Java – Postgres-Backed Durable Workflows on Thursday November 13, 2025 @06:45PM (#45922193)
I've been trying something similar https://github.com/seanwevans/pg_os
◦°˚ヽ෴ノ˚°◦︻╦╤─ - - -
it's mostly a mashup of others' ideas but it seems to beat up practrand with little trouble
Re:How to Harden GitHub Actions: The Unofficial Guide on Thursday May 08, 2025 @03:07PM (#43930096)
your article inspired me https://github.com/seanwevans/Ghast still a WIP

Older »