On Feb 28, 2025, at 4:16 PM, segaloco via TUHS <tuhs(a)tuhs.org> wrote:
Given that anything that obeys the ABI and has assembler entries to the kernel
can request services, it seems to me it would be possible to stand up a
user-land without C being present. Have any UNIXen ever done this after the
advent of C?
vinix is written in the V language and can have userland written in V as
well but so far the compiler compiles to c (so requires a c compiler) so
not sure it qualifies + its development seems to have stalled somewhat.
IIRC there is at least one v6 level (toy?) OS written in rust with a
rust only userland. May be for anything non-toy you'd have to provide
a C compatible API.
Personally I don't see much point in reimplementing a 50+ year old OS in
a new language; at least do something new and innovative (with unix
emulation for dusty decks) but ¯\_(ツ)_/¯