TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

SBCL: Assembly code breadboard (2014)

134 pointsby isaac21259over 3 years ago

4 comments

abecedariusover 3 years ago
The small cyclic stack brings back 20-year-old memories of a stack machine for &quot;genetic art&quot; from random evolving programs. But random programs will underflow the stack -- what to do? Just wrap around, why not? It&#x27;s not as if the programs have to make sense. <a href="https:&#x2F;&#x2F;www.deviantart.com&#x2F;djb&#x2F;gallery" rel="nofollow">https:&#x2F;&#x2F;www.deviantart.com&#x2F;djb&#x2F;gallery</a>
chc4over 3 years ago
It namedropping LuaJIT&#x27;s Dynasm at the end was funny, especially since by the time I got to it I had forgotten there was a (2014) in the title. Pleasant surprise seeing the author call it a work-in-progress :)<p>I recently tried using the dynasm-rs crate as a dynamic assembler for a project, and it&#x27;s also really nice to use. I think something like Lisp still probably wins in terms of usability, since you can do the fancy macro abuse over your assembly DSL, but dynasm-rs was great if you just want runtime code generation without parameterize over stack offsets or something else insane like the OP.
math-devover 3 years ago
That was a very insightful read, thanks for sharing!
ngcc_hkover 3 years ago
Missing a starting point. Like what I saw. But just headless.
评论 #28461385 未加载