frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Tell HN: I cut Claude API costs from $70/month to pennies

32•ok_orco•11h ago•14 comments

Ask HN: DDD was a great debugger – what would a modern equivalent look like?

40•manux81•13h ago•40 comments

Ask HN: What software / applications can you now build thanks to AI

5•zarathustra333•7h ago•1 comments

Ask HN: Gmail spam filtering suddenly marking everything as spam?

208•goopthink•1d ago•122 comments

Ask HN: Freelance Qt C++

2•shchess•6h ago•1 comments

Ask HN: Running UPDATEs in production always feels heavier than it should

3•Lucy_Bai•6h ago•3 comments

Ask HN: What's the current best local/open speech-to-speech setup?

253•dsrtslnd23•3d ago•61 comments

Ask HN: Do you have any evidence that agentic coding works?

456•terabytest•5d ago•452 comments

Compiled Node.js 18 from source on jailbroken iPhone to run Claude Code

2•BryanTheCynic•9h ago•0 comments

Ask HN: Some great launch videos in recent times?

2•nemath•10h ago•0 comments

Ask HN: What are the most significant man-made creations to date?

15•George97•22h ago•23 comments

Tell HN: 2 years building a kids audio app as a solo dev – lessons learned

136•oliverjanssen•4d ago•79 comments

SHDL – A Minimal Hardware Description Language Built from Logic Gates

2•rafa_rrayes•11h ago•1 comments

I'm posting this from a memory safe web browser

38•pizlonator•15h ago•2 comments

Ask HN: Why is cursor / Claude Code is so bad at generating readmes?

4•yakshithk_•10h ago•3 comments

Ask HN: Why are so many rolling out their own AI/LLM agent sandboxing solution?

32•ATechGuy•5d ago•14 comments

Ask HN: Have we confused efficiency with "100% utilization"?

27•nickevante•1d ago•20 comments

Ask HN: What usually happens after a VC asks for a demo?

12•stijo•1d ago•6 comments

Ask HN: May an agent accept a license to produce a build?

26•athrowaway3z•1d ago•48 comments

Ask HN: How to reach out to a commenter under an old submission (nick_m)?

4•jsumn•22h ago•4 comments

Ask HN: Revive a mostly dead Discord server

21•movedx•5d ago•29 comments

Ask HN: Career transition question – assistance, MLOps guidance

4•Pierre_Esteves•1d ago•0 comments

Ask HN: Why does the number of datasets on data.gov vary so much?

8•akudha•1d ago•4 comments

Ask HN: Thinking about memory for AI coding agents

7•hoangnnguyen•2d ago•9 comments

Ask HN: What are some good unintuitive statistics problems?

6•ronbenton•1d ago•7 comments

Ask HN: Rust and AI builders interested in local-first, multi-agent systems?

3•cajazzer•1d ago•8 comments

Ask HN: Which common map projections make Greenland look smaller?

19•jimnotgym•5d ago•17 comments

Ask HN: How to redeem a gift card without risking lock-out?

6•magnetic•1d ago•6 comments

Ask HN: Weekend Social: Top two programming languages and what they can borrow?

3•susam•1d ago•7 comments

Ask HN: Do you "micro-manage" your agents?

7•xinbenlv•2d ago•8 comments
Open in hackernews

SHDL – A Minimal Hardware Description Language Built from Logic Gates

2•rafa_rrayes•11h ago
Hi, everyone!

I built SHDL (Simple Hardware Description Language) as an experiment in stripping hardware description down to its absolute fundamentals.

In SHDL, there are no arithmetic operators, no implicit bit widths, and no high-level constructs. You build everything explicitly from logic gates and wires, and then compose larger components hierarchically. The goal is not synthesis or performance, but understanding: what digital systems actually look like when abstractions are removed.

SHDL is accompanied by PySHDL, a Python interface that lets you load circuits, poke inputs, step the simulation, and observe outputs. Under the hood, SHDL compiles circuits to C for fast execution, but the language itself remains intentionally small and transparent.

This is not meant to replace Verilog or VHDL. It’s aimed at:

- learning digital logic from first principles

- experimenting with HDL and language design

- teaching or visualizing how complex hardware emerges from simple gates

I would especially appreciate feedback on:

- the language design choices

- what feels unnecessarily restrictive vs. educationally valuable

- whether this kind of “anti-abstraction” HDL is useful to you

Repo: https://github.com/rafa-rrayes/SHDL

Python package: PySHDL on PyPI

Thanks for reading, and I’m very open to critique.

Comments

dang•6h ago
Can you please email us at hn@ycombinator.com? There are a couple things we could change about your post that would make it more likely to get attention here. (And it sounds like a cool project!)