Better HN
topnewbestaskshowjobs
Log inSign up

jburgy

8 karma · joined Oct 23, 2024 (2y ago) · 3 submissions

Submissions

comment 11mo ago · link · parent

Lovely article, which I took the liberty to share on the Forthish discord [1]

[1] https://discord.gg/9DveEJ42

comment 1y ago · link · parent

https://bur.gy/2022/05/27/what-makes-julia-delightful.html confirms your hunch

comment 2y ago · link · parent

Many years ago, I wondered how Ken Thompson's 1968 ACM article on implementing regexes in IBM 7040 would look in x86. Ken uses two lists for current and next backtracking and I replaced one of them by the call stack (interleaving call and ret in weird order). I remember struggling with some assembly syntax (AXC **,7 as it were) so I emailed Mr. Thompson! And Ken, ever the gentleman, took ample time to reply to a no-name n00b! Several years later, Russ Cox of Go fame somehow heard about my silly hack, reached out, and included it on his page about "Implementing Regular Expressions" (https://swtch.com/~rsc/regexp/).