J

Justin Meiners

jmeiners.com · Personal blog · on HN since 2022

Justin Meiners writes about programming, math and game graphics, including a tutorial on writing a virtual machine and a hosted copy of SICP.

What HN saysCommenters recommend his virtual machine tutorial for learning bitwise operations and link his pre-rendered backgrounds article and his SICP HTML copy.
16HN people shared it
4linked it in comments
12stories submitted
606story points
5 months agolast shared
2022people per year2026

Most-shared posts

  1. 1
    Write Your Own Virtual Machine (2022)
    7 people · 348 points · first shared 2022 · 97 comments on HN
  2. 2
    Thinking Styles from Math
    2 people · 3 points · first shared 2022 · discussion on HN
  3. 3
    Efficient Programming with Components (2021)
    2 people · 2 points · first shared 2023 · discussion on HN
  4. 4
    Think in math, write in code (2019)
    1 people · 208 points · first shared 2025 · 72 comments on HN
  5. 5
    An Adventure in Pre-Rendered Backgrounds (2019)
    1 people · 44 points · first shared 2022 · 6 comments on HN
  6. 6
    Take Your Time
    1 people · 1 points · first shared 2025 · discussion on HN
  7. 7
    Ff7.jpg
    1 people · first shared 2023
  8. 8
    Book
    1 people · first shared 2022

What HN people wrote when they linked it

tmountain · 2022-07-12
One fun way to get familiar with bitwise operations is writing a virtual machine, as it involves a lot of masking and shifting bits from instructions to extract relevant pieces (dare I say bits) of information. If anyone is interested in going this route, I recommend LC-3, as it's very straightforward. https://www.jmeiners.com/lc3-vm/
pedrosorio · 2023-07-07
For those reading who may not remember or have played the original FF7, here are links to pre-rendered backgrounds in FF7: https://www.jmeiners.com/pre-rendered-backgrounds/img/ff7.jpg and the image in the article about Meta's library: https://www.khronos.org/assets/uploads/blogs/2023-july-blog-meta-igl_2…
thesuperbigfrog · 2022-08-21
Archived copy here: https://www.jmeiners.com/sicp-html-original/book.html Justin's GitHub states: "MIT just recently took down the book from their own site (why?!)" Source: https://github.com/justinmeiners/sicp-html-original It looks like MIT Press released a Javascript version of SICP that is for sale: https://mitpress.mit.edu/9780262543231/structure-and-interpretation-of…
beardog · 2023-08-15
I argue that (good) literate programming can make code literature. Your program is told as a sort of story and ought to contain background info, thought processes, and rationale for decisions. Additionally macros can be used to reuse code at build ('tangle') time that your underlying language may not otherwise support. For example if I have some constants i need throughout a python program, I might put it in something like constant.py during normal programming, but if I were literate programming I could have a section called "Program constants" and dive into each one, referencing them with macros throughout the program. You do have to be careful because the macros can make debugging confusing since you are now working with two languages instead of 1. You can also put stuff that is irrelevant to humans out of the way of the most important stuff. Example literate program for writing a virtual machine program (not my work): https://www.jmeiners.com/lc3-vm/

Keyboard shortcuts

/Search
j kNext / previous blog
EnterOpen selected blog
vVisit the blog site
fFollow / unfollow
lSwitch grid / list view
dSwitch dark mode
g hHome
g pTop posts
g tTopics
g fFollowing
g lLiked
g yHistory
g qFAQ
EscBack / close