Is forth THE language of permacomputing?

3 months ago by Cassette_Punk_2045 to c/permacomputing

I’m new to the community and a relatively new programmer, as well. I’m very comfortable with C and the command line. But, do I need to start studying Forth to really contribute?

cerement 7 points 3 months ago

Collapse OS – Why Forth? – but I think most of the concatenative languages would be just as flexible, like Factor or Uxn

I would think C would work as long as you restrict it to a minimal base set: c89 -Wall -Werror -Wpedantic – or be brave and use -nostdlib – but keep in mind, C was a mainframe language, it only later got adopted for microcomputers and then microcontrollers

but aside from those, you are looking for a language that:

  • doesn’t require a lot of resources (power, memory, or storage)
  • can be bootstrapped relatively easily: sectorForth, milliForth, sectorLisp, uLisp, Uxn
  • has enough existing code (and community) to learn from (and isn’t some grad project that was abandoned after post-graduation)
  • but also doesn’t have so much code that it’s now synonymous with lake-burning scrapers fouling the waters
  • can run in constrained environments: commodity microcontrollers, 8-bit processors
  • can be compiled in those same constrained environments (being able to bootstrap it rather than needing a server farm to cross compile it)
path: 0 24941564, hotness: undefined, score: 7, children: 1
salvagepunk -1 points 3 months ago

I'm new to the permacomputing concept, and just now hearing of Collapse OS. So thank you!

path: 0 24941564 25009705, hotness: undefined, score: -1, children: 0
fafff 6 points 3 months ago

I like Forth, but let us be honest, building stuff that last, that is efficient, that will not bitrot, that is built like a tank — you can do it with most of langauges!

Some projects (most popular one is CollapseOS) had reasons to pick Forth, but there are people with similar ethos who picked up C (check this game).

Welcome!

path: 0 24945144, hotness: undefined, score: 6, children: 0
320x200 5 points 3 months ago
path: 0 24947071, hotness: undefined, score: 5, children: 0
Krusty 1 point 3 months ago

Forget forth. You need to learn iptscrae! Script the stack!

path: 0 24938590, hotness: undefined, score: 1, children: 0
permacomputing
permacomputing

@slrpnk.net

login for more options
2362
100
70

Computing to support life on Earth

Computing in the age of climate crisis is often wasteful and adds nothing useful to our real life communities. Here we try to find out how to change that.

Definition and purpose of permacomputing: http://viznut.fi/...

Permacomputing XMPP Chat

Sister community over at lemmy.sdf.org: !permacomputing@lemmy.sdf.org

There's also a wiki: https://permacomputing.net/

Website: http://wiki.xxiivv.com/site/permacomputing.html

go to feed...