Andrew Healey
healeycodes.com · Personal blog · on HN since 2020
Andrew Healey writes programming projects and tutorials on topics like sandboxing JavaScript, compilers, WebAssembly, and unusual renderings like Doom in checkboxes.
What HN saysHN commenters link his posts on sandboxing JavaScript, Doom rendered via checkboxes, and chess bitboards, and call them great write-ups.
41HN people shared it
11linked it in comments
102stories submitted
2.4Kstory points
3 months agolast shared
2020people per year2026
Most-shared posts
- 1Doom Rendered via Checkboxes7 people · 213 points · first shared 2021 · 33 comments on HN
- 2Sandboxing JavaScript Code6 people · 8 points · first shared 2023 · discussion on HN
- 3Boids in WebAssembly Using Go4 people · 4 points · first shared 2020 · discussion on HN
- 4Generating Mazes3 people · 156 points · first shared 2024 · 31 comments on HN
- 5Counting Words at SIMD Speed3 people · 60 points · first shared 2025 · 15 comments on HN
- 6Compiling Lisp to Bytecode and Running It3 people · 15 points · first shared 2024 · 1 comments on HN
- 7Beating Grep with Go3 people · 14 points · first shared 2022 · discussion on HN
- 8Adding Go's Defer to the TypeScript Compiler3 people · 5 points · first shared 2026 · discussion on HN
- 9Privacy Focused Analytics from Scratch3 people · 4 points · first shared 2020 · discussion on HN
- 10My Time at the Recurse Center3 people · 3 points · first shared 2023 · discussion on HN
- 11Running Untrusted Python Code3 people · 2 points · first shared 2023 · discussion on HN
- 12I wrote a program that sends cats to my phone when I'm sad at the computer2 people · 309 points · first shared 2022 · 80 comments on HN
- 13Building My Own Chess Engine2 people · 193 points · first shared 2020 · 64 comments on HN
- 14Making Python Less Random2 people · 112 points · first shared 2024 · 43 comments on HN
- 15GeoGuessing with Deep Learning2 people · 111 points · first shared 2021 · 25 comments on HN
What HN people wrote when they linked it
stevekrouse · 2023-05-25
Great question!
Andrew Healey wrote a great blog post about sandboxing, particularly related to us: https://healeycodes.com/sandboxing-javascript-code
And we recently launched more secure semantics: https://blog.val.town/blog/restricted-library-mode
But in the general case, it's a hard, never-ending cat-and-mouse game, particularly with free and unauthenticated use. We will eventually probably need to restrict use severely unless you have somehow proved you're a real person (ie connect to your github account) or are a paying customer.
bryanbraun · 2021-10-14
Andrew Healey just took a pass at this and did a great write-up about it here:
https://healeycodes.com/doom-rendered-via-checkboxes
It looks decent but dithering would be nice so I created an issue for it here: https://github.com/bryanbraun/checkboxland/issues/20
Agingcoder · 2026-01-09
This is pretty standard ( or at least used to be 20 years ago ) in high performance chess programming, see
https://www.chessprogramming.org/Bitboards
https://healeycodes.com/visualizing-chess-bitboards
popcorncowboy · 2025-05-27
If you really wanna get your blood boiling how about some Doom with HTML checkboxes - https://healeycodes.com/doom-rendered-via-checkboxes
Paul-Craft · 2025-02-05
Yeah, that's what I was thinking: just throw the whole lot inside a Docker container and call it a day. Unless you're dealing with potentially malicious code that could break out of a container, that should isolate the rest of your machine sufficiently.
Alternatively, PyPy is actually fully sandboxable.
On Linux, you can also use `seccomp.` See, for instance, https://healeycodes.com/running-untrusted-python-code
seabass · 2024-02-29
I think it's awesome that one of the first comments suggested that he ported DOOM to the checkbox renderer, and then 3 days later someone else actually implements it: https://healeycodes.com/doom-rendered-via-checkboxes
jezzamon · 2024-02-29
Very related: Doom rendered via checkboxes
https://healeycodes.com/doom-rendered-via-checkboxes
petercooper · 2021-02-16
Two examples although both in the 'fun' category:
- https://healeycodes.com/boids-flocking-simulation/
- https://dstoiko.github.io/posts/go-pong-wasm/
healeycodes · 2020-12-17
I wrote about building the boids flocking simulation with Ebiten and deploying it with WebAssembly[0].
I found Ebiten very easy to build a simple project with. The project maintainer is helpful, kind, and highly responsive too.
There is a #ebiten channel in the Gophers slack that is quite active.
-
[0] https://healeycodes.com/boids-flocking-simulation/
sargstuff · 2026-05-30
Obviously general purpose programming language(s) excluded[0]. -- per 'minimal'
Does usable / minimal mean no ecosystem / integrated development environment? No ecosystem/IDE would seem to exclude command line shell & unix 'one program does one thing well'chaining/sourcing. 'Excel as a Turing-complete Functional Programming Environment' would be excluded too![8]. Do at least need the ability to abstract/store & forward to get away from 'endless tape streams'. (traditional grep vs. grep with 'state awareness')
Would seem to some what depend on the domain of discourse.
1) Esoteric Programming Languages:
"Let's Take Esoteric Programming Languages Seriously"[1][2].
Is a metaphor programming language an esoteric IDE?[3] (vs. apl/mumps)
2) Domain Specific Languages[4]:
Usable/minimal with a philosophical background : 'mov is turing complete'[5]
symbolic macro application of electrical engineering concepts of NAND[6]
APL works for some enginering backrounds.
One can assemble a checklist of doom[7]
-------------------------------------------------------------------
[0] : https://en.wikipedia.org/wiki/General-purpose_programming_language
[1] "Let's Take Esoteric Programming Languages Seriously" : https://news.ycombinator.com/edit?id=48334594
[2] "The Hacker Folk Art of Esoeric Coding" : https://news.ycombinator.com/item?id=45371188
[3] "Esolang, the esoteric progrmaming languages wiki": https://news.ycombinator.com/item?id=16894676
…
zahlman · 2024-11-27