Re:ChipWits FORTH is now Open Source A taste of Game Dev in ...
by anyfoo on Monday November 25, 2024 @08:16PM
(#42241705)
I have a soft spot for FORTH. I don’t know if it makes for elegant larger programs at all, but it’s really easy and elegant to bootstrap a port of FORTH itself, and then use it to do more and more complex system tasks. That’s probably why it was chosen for e.g. OpenBIOS.
Lately, I’ve taken a liking to embedded forth, because it allows me to, say, build layers of forth vocabulary to control I2C devices, potentially starting by even writing I2C
bit banging itself in forth first, and then progressively building higher levels of abstraction, but all of that completely ad-hoc and interactively on the forth prompt.
It’s a really great way to explore devices hardware-wise, without having to write a lot of boilerplate C or rust code on an external development environment.
Again, I don’t know if anything like that translates well into writing large, user-facing applications. Maybe the article will tell me?
Re:ChipWits FORTH is now Open Source A taste of Game Dev in ...
by idatum on Monday November 25, 2024 @08:33PM
(#42241777)
> It’s a really great way to explore devices hardware-wise, without having to write a lot of boilerplate C or rust code on an external development environment.
Yes, second this. It's why I still use Forth. A UART and picocom (for example) and I'm interacting with an MCU. No complex (bloated) tooling needed for prototyping and learning. I've used this with STM32 devices and lately a Raspberry Pi Pico.
Re:ChipWits FORTH is now Open Source A taste of Game Dev in ...
by TacticalCoder on Monday November 25, 2024 @09:15PM
(#42241978)
Interesting, it looks like quite an advanced game already. I just watched a Youtube vid of it and at first I thought it had a "slot inventory" but apparently it's not that.
In 1984 there was Sundog: The Frozen Legacy and that one definitely had a slot inventory. Does anyone know of an earlier game with such an inventory?
Lately, I’ve taken a liking to embedded forth, because it allows me to, say, build layers of forth vocabulary to control I2C devices, potentially starting by even writing I2C bit banging itself in forth first, and then progressively building higher levels of abstraction, but all of that completely ad-hoc and interactively on the forth prompt.
It’s a really great way to explore devices hardware-wise, without having to write a lot of boilerplate C or rust code on an external development environment.
Again, I don’t know if anything like that translates well into writing large, user-facing applications. Maybe the article will tell me?
Yes, second this. It's why I still use Forth. A UART and picocom (for example) and I'm interacting with an MCU. No complex (bloated) tooling needed for prototyping and learning. I've used this with STM32 devices and lately a Raspberry Pi Pico.
70 comments including the original programmer, 4 days ago.
In 1984 there was Sundog: The Frozen Legacy and that one definitely had a slot inventory. Does anyone know of an earlier game with such an inventory?
https://en.wikipedia.org/wiki/SunDog:_Frozen_Legacy