At Sat, 1 Mar 2025 19:00:03 -0800, Bakul Shah via TUHS <tuhs(a)tuhs.org> wrote:
Subject: [TUHS] Re: Any UNIX With No C In Userland?
.... C is a great portable
assembler but not so great as a high level language.
Unfortunately modern C isn't a a great portable "assembler" any more.
V is probably one of the better new low-level programming languages.
Development of V has hardly stalled -- it's highly active from what I
see on Github. I personally think V is very easy to learn for C
programmers, with lots of similarities, and it's very easy to translate
C to V too!
Hare is another interesting new compiled systems-level language.
Both are promising "No Undefined Behaviour" -- since of course the main
Sin Of Modern C is it's all-too-abusive reliance on Undefined Behaviour.
Possibly Jai will be in this realm as well. Hmm.... Nim? Maybe.
Regarding the question starting this part of the thread: Any UNIX with
no C In Userland?
Well there was TUNIS (
https://en.wikipedia.org/wiki/TUNIS)
I don't have quick access to my copy of the book about it, but I seem to
recall that there may have been some attempts to be ABI-compatible with
7th Edition Unix, at least on PDP-11. That Wikipedia article does say:
Programs that ran under Unix V7 could be run under TUNIS with no
modification.
But that may have only meant API-compatible.
--
Greg A. Woods <gwoods(a)acm.org>
Kelowna, BC +1 250 762-7675 RoboHack <woods(a)robohack.ca>
Planix, Inc. <woods(a)planix.com> Avoncote Farms <woods(a)avoncote.ca>