Files

38 lines
1.6 KiB
Markdown

← [Back to Twitter thread index](../README.md)
---
title: "@kenpex @wadetb Can make a custom forth to binary in a few K. Bring up a runtime"
author: "NOTimothyLottes"
handle: "@NOTimothyLottes"
post_url: "https://x.com/NOTimothyLottes/status/1651268028795961344"
post_id: "1651268028795961344"
timestamp: "2023-04-26 16:52:31"
post_count: 5
reply_count: 1
repost_count: 0
like_count: 2
view_count: 143
---
# @NOTimothyLottes — @kenpex @wadetb Can make a custom forth to binary in a few K. Bring up a runtime
## Post 1 (2023-04-25 01:51:48)
Nerds are crazy https://git.sr.ht/~vdupras/duskos
## Post 2 (2023-04-26 02:53:17) — reply to Post 1
@kenpex I find the context hilarious, but Forth as asm-level-yet-very-usable-mini-OS has been done, as the boot firmware for OLPC (http://laptop.org) for many years. Looks like it's currently open sourced as https://github.com/openbios/openbios.
## Post 3 (2023-04-26 15:56:37) — reply to Post 2
@wadetb Yes of course. Forth is a language that took me a while to grok (re:the why it makes sense) - but once I understood the context it totally does. @NOTimothyLottes experiments w/it are also fun.
## Post 4 (2023-04-26 16:52:31) — reply to Post 3
@kenpex @wadetb Can make a custom forth to binary in a few K. Bring up a runtime assembler in the language and do anything fast and simple from that point, load libraries, make system/dll C calls. 100,000x complexity reduction in compiler toolchain size.
## Post 5 (2023-04-26 17:50:16) — reply to Post 4
@NOTimothyLottes @kenpex @wadetb A few K? Why not just 1K? https://strlen.com/false-language/