frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

planckforth: Bootstrapping a Forth interpreter from hand-written tiny ELF binary

https://github.com/nineties/planckforth
33•tosh•6h ago

Comments

dharmatech•1h ago
Recently published this video about how I explore JONESFORTH using a gdb trace file:

https://youtu.be/giLsd-bik6A?si=t7E-OwKJLYffHKcs

whartung•26m ago
There's a legend (perhaps me misremembering, or simply making it up, thus making it a legend rather than an anecdote) that Chuck Moore did something like this that eventually ended up as ColorForth.

The story is simply that he started with MS-DOS, some floppy disks, and DEBUG. Starting there, he bootstrapped to being able to boot something from a floppy, and just pushed on from there.

Its an interesting development idea of simply molding a RAM image to your liking with little more than POKE, PEEK, BLOCKMOVE and READ/WRITE the RAM image. The assembler is a tasty treat, but hardly necessary, and perhaps not as helpful as one would like since while the mnemonics are nice, its the labels that give an assembler its real power.

I always visualized putting subroutines at 16 byte boundaries, if only to make the addresses stand out a bit in the hex noise, but also to give a little wiggle room to make changes without stomping on other code. Thinking how cautious one has to be, particularly on an MS-DOS machine, you have to be knowing one misstep, one stuck loop, and you're reloading from disk again. "Save early, save often". Plus that one point when you're in the phase of writing the floppy bootsector and you now, suddenly have a larger step to go from bootable primitive Forth kernel, to one that can self-host, even if it's just defining code words as blocks of hex numbers, forgoing an actual assembler early on. But, ideally, by that point, you're already comfortable with block of hex code, however now you don't have the benefit of a disassembler outside of the carbon based meat computer stuck in your head.

I think after a day or two of full immersion in this environment, disassembling hex code would be mostly straightforward. Woz is said to have 6502 binary memorized. It doesn't really take much, you don't need to memorize it all. Knowing a dozen instructions can take you a long way.

Anyway, always been an interesting thought exercise. Nice to see something similar. I like the primitive base Forth used.

volemo•7m ago
I can’t weigh in to the Moore story, but I loved reading “Bootstrapping” series by Compiler Crimes.

https://compilercrim.es/bootstrap/

ddevnyc•14m ago
this is an interesting minimal implementation - how does it compare to other forths?

Ministry of Justice orders deletion of the UK's largest court reporting database

https://www.legalcheek.com/2026/02/ministry-of-justice-orders-deletion-of-the-uks-largest-court-r...
316•harel•4h ago•202 comments

Running My Own XMPP Server

https://blog.dmcc.io/journal/xmpp-turn-stun-coturn-prosody/
139•speckx•4h ago•76 comments

What Your Bluetooth Devices Reveal About You

https://blog.dmcc.io/journal/2026-bluetooth-privacy-bluehood/
97•ssgodderidge•3h ago•36 comments

Show HN: Simple org-mode web adapter

https://github.com/SpaceTurth/Org-Web-Adapter
23•turth•1h ago•0 comments

Ghidra by NSA

https://github.com/NationalSecurityAgency/ghidra
168•handfuloflight•2d ago•93 comments

Qwen3.5: Towards Native Multimodal Agents

https://qwen.ai/blog?id=qwen3.5
257•danielhanchen•8h ago•110 comments

The Sideprocalypse

https://johan.hal.se/wrote/2026/02/03/the-sideprocalypse/
103•headalgorithm•3h ago•83 comments

WebMCP Proposal

https://webmachinelearning.github.io/webmcp/
8•Alifatisk•37m ago•0 comments

I’m joining OpenAI

https://steipete.me/posts/2026/openclaw
1304•mfiguiere•19h ago•984 comments

I want to wash my car. The car wash is 50 meters away. Should I walk or drive?

https://mastodon.world/@knowmadd/116072773118828295
1141•novemp•11h ago•718 comments

How to take a photo with scotch tape (lensless imaging) [video]

https://www.youtube.com/watch?v=97f0nfU5Px0
7•surprisetalk•50m ago•1 comments

Rolling your own serverless OCR in 40 lines of code

https://christopherkrapu.com/blog/2026/ocr-textbooks-modal-deepseek/
75•mpcsb•4d ago•40 comments

MessageFormat: Unicode standard for localizable message strings

https://github.com/unicode-org/message-format-wg
129•todsacerdoti•7h ago•48 comments

planckforth: Bootstrapping a Forth interpreter from hand-written tiny ELF binary

https://github.com/nineties/planckforth
33•tosh•6h ago•4 comments

UK Discord users were part of a Peter Thiel-linked data collection experiment

https://www.rockpapershotgun.com/good-news-uk-discord-users-were-part-of-a-peter-thiel-linked-dat...
114•righthand•2h ago•19 comments

Richard Carrington's first portrait has been found

https://www.cnn.com/2026/02/12/science/solar-storm-richard-carrington-photo
11•YeGoblynQueenne•3d ago•1 comments

Anthropic tries to hide Claude's AI actions. Devs hate it

https://www.theregister.com/2026/02/16/anthropic_claude_ai_edits/
248•beardyw•6h ago•153 comments

Modern CSS Code Snippets: Stop writing CSS like it's 2015

https://modern-css.com
628•eustoria•23h ago•256 comments

Looks: A Halide Mark III Preview

https://www.lux.camera/mark-iii-looks/
11•patrikcsak•2d ago•1 comments

Vim-pencil: Rethinking Vim as a tool for writing

https://github.com/preservim/vim-pencil
102•gurjeet•3d ago•36 comments

picol: A Tcl interpreter in 500 lines of code

https://github.com/antirez/picol
107•tosh•9h ago•49 comments

Magnus Carlsen Wins the Freestyle (Chess960) World Championship

https://www.fide.com/magnus-carlsen-wins-2026-fide-freestyle-world-championship/
344•prophylaxis•19h ago•236 comments

Expensively Quadratic: The LLM Agent Cost Curve

https://blog.exe.dev/expensively-quadratic
107•luu•3d ago•58 comments

Audio is the one area small labs are winning

https://www.amplifypartners.com/blog-posts/arming-the-rebels-with-gpus-gradium-kyutai-and-audio-ai
281•rocauc•3d ago•86 comments

LT6502: A 6502-based homebrew laptop

https://github.com/TechPaula/LT6502
395•classichasclass•1d ago•198 comments

I gave Claude access to my pen plotter

https://harmonique.one/posts/i-gave-claude-access-to-my-pen-plotter
269•futurecat•3d ago•174 comments

Thanks a lot, AI: Hard drives are sold out for the year, says WD

https://mashable.com/article/ai-hard-drive-hdd-shortages-western-digital-sold-out
270•dClauzel•5h ago•221 comments

Hard problems in social media archiving

https://alexwlchan.net/2025/hard-problems-in-social-media-archiving/
40•surprisetalk•4d ago•8 comments

1,300-year-old world chronicle unearthed in Sinai

https://www.heritagedaily.com/2026/02/1300-year-old-world-chronicle-unearthed-in-sinai/156948
115•telotortium•4d ago•11 comments

Show HN: Maths, CS and AI Compendium

https://github.com/HenryNdubuaku/maths-cs-ai-compendium
4•HenryNdubuaku•2h ago•0 comments