Feed aggregator

Ask HN: What is your AI workflow for software projects?

Hacker News - Mon, 03/02/2026 - 12:53pm

Currently my workflow is as follows:

- Pull down any related repos into a root dir

- Tell Claude (Claude Code) to create a markdown file with details on the different repos and how they relate to each other.

- Will create a markdown file explaining the changes I need made.

- Ask it to think through the problem and create a detailed change plan in a separate markdown file.

- Have Claude create a detailed Todo list.

- I'll review everything and, if it's good, have it kick off the work. It should detail any issues it runs into into the change file, not ask permission, and provide me with the required steps to test the changes.

At that point I essentially take back over, review the code, and engage in a two way conversation to dial the changes in.

This is a natural workflow that developed over time but I never truly stopped to think through it. Am I on an island of one with this process? If so, how are you all using the tools?

Comments URL: https://news.ycombinator.com/item?id=47221470

Points: 1

# Comments: 0

Categories: Hacker News

Show HN: Btrc – I built a language with AI in a few weeknights that outputs C11

Hacker News - Mon, 03/02/2026 - 12:52pm

btrc is a statically-typed language that transpiles to C11. It adds classes, generics (monomorphized), type inference, lambdas, f-strings, collections (Vector, Map, Set), threads, GPU compute via WebGPU, ARC memory management, exception handling, and a standard library — while generating strict C11 with no runtime, no GC, and no VM.

The compiler is a 6-stage Python pipeline (lexer → parser → analyzer → IR gen → optimizer → C emitter) driven by a formal EBNF grammar and an algebraic AST spec (Zephyr ASDL). The generated C is readable and linkable with any C11 compiler. It ships with a VS Code extension (LSP with completions, diagnostics, go-to-def, hover) and 930 tests.

I've wanted to build something like this for about 10 years, but it was always too ambitious to do on the side. With AI, I was able to build it over a handful of evenings after work. Some things worth noting:

A few things that I find fun / interesting / noteworthy:

- The EBNF grammar and ASDL spec are the single source of truth — the lexer, parser, and AST node classes are all derived from them, not hardcoded

- Generics are monomorphized (like C++ templates / Rust), so zero runtime overhead but binary size grows per type combination

- ARC handles most memory management including cycle detection and cleanup on exceptions — no GC, deterministic destruction

- The entire stdlib (collections, math, datetime, IO, threading) is written in btrc itself

- @gpu functions transpile to WGSL compute shaders with auto-generated WebGPU boilerplate — array params become storage buffers, scalars become uniforms

- The generated C is meant to be readable — you can step through it in gdb/lldb and it mostly makes sense (just verbose with lots of underscores)

- There's a 3D game engine example (ball + WASD + jump + shadows + raymarching) that's ~570 lines of btrc across 11 small modules

- The VS Code extension reuses the compiler's own lexer, parser, and analyzer — diagnostics match exactly what the compiler reports

- btrc inherits C's memory model wholesale — no borrow checker, no lifetime analysis. You can absolutely still shoot yourself in the foot

- The whole thing was built in a few evenings after work with heavy AI assistance, which felt like the most interesting part of the project honestly

Comments URL: https://news.ycombinator.com/item?id=47221459

Points: 1

# Comments: 0

Categories: Hacker News

Real Good AI

Hacker News - Mon, 03/02/2026 - 12:50pm

Article URL: https://www.realgoodai.org

Comments URL: https://news.ycombinator.com/item?id=47221436

Points: 1

# Comments: 0

Categories: Hacker News

Paramount Plus and HBO Max Will Merge Into One Streaming Service

CNET Feed - Mon, 03/02/2026 - 12:50pm
Paramount CEO David Ellison revealed that a single streaming service is in the plans.
Categories: CNET

Apple Introduces iPhone 17e With MagSafe and A19

SlashDot - Mon, 03/02/2026 - 12:09pm
Categories: SlashDot

In-house project replaces spreadsheet-based planning for future electricity network

Computer Weekly Feed - Mon, 03/02/2026 - 12:09pm
In-house project replaces spreadsheet-based planning for future electricity network
Categories: Computer Weekly

Ask HN: Should IDs be strings or numbers in your codebase?

Hacker News - Mon, 03/02/2026 - 11:59am

At work we're debating whether entity IDs should be typed as strings or numbers throughout our stack (API contracts, frontend, etc.).

Database auto-increments happen to be integers, but we never perform arithmetic on IDs – they're opaque identifiers.

My take: IDs are identifiers, not numbers. Typing them as strings makes this explici and makes migrating to UUIDs or other formats painless.

Am I missing a good reason to keep them as numbers?

Comments URL: https://news.ycombinator.com/item?id=47220632

Points: 1

# Comments: 0

Categories: Hacker News

Mad CSS Tournament

Hacker News - Mon, 03/02/2026 - 11:59am

Article URL: https://madcss.com/

Comments URL: https://news.ycombinator.com/item?id=47220628

Points: 1

# Comments: 0

Categories: Hacker News

Pages