Hacker News new | ask | show | jobs
by skissane 1178 days ago
I've interacted with kerravon86 in the past. I even contributed a little bit of the code in PDOS. After a while I lost interest in it though. One reason was that I'm used to developing software under macos/Linux using Make or whatever – even on Windows I tend to use Cygwin/MSYS2/etc – PDOS (at least when I was working on it) had a build system based on DOS/Windows batch files. kerravon might find that a pleasant developer experience, but the majority wouldn't.

I remember when I wanted to add a tiny bit of C99 compatibility to PDOS or PDPCLIB (I think it was just stdint.h and stdbool.h headers, or something like that) and (from memory) got the reply "no, C90 only". I mean it is his project, he can run it how he likes, but a strict insistence on C90-only doesn't really appeal to me (or I imagine most contemporary C programmers). I think part of his reason was wanting to support old pre-C99 compilers; but, while that might be a reason to avoid some of the more advanced C99 features (e.g. _Generic), there's nothing about stdint or stdbool which can't be done under C90. So that's another reason why I lost interest. kerravon, I feel like you've got some unusual views which you don't want to budge on. (To be fair, I do too, but less so on technical topics.) Which is fine, but maybe have a think about how other people will experience that?

I also subscribed to some of the Hercules lists, I think hercules-os380 too. I have read some of kerravon's posts. I remember some tendency to go off-topic, and start talking about religion (the Muʿtazilah branch of Islamic theology) and politics (NATO)–which some people can experience as off-putting. But, I'll be honest, a lot of the technical discussions there went over my head. I'd be interested in any examples of what you are talking about.

1 comments

stdint is a fundamentally wrong thing to do. If people were doing int_least32_t or whatever, ok, maybe that fits in with the spirit of C. But not int32_t.

"long long" itself is a fundamental violation of the original language too. If you want some large value - 512 bits, 1024 bits, 1113 bits, whatever - that's what "long" is for.

I am writing in C, not Turtle Graphics. I'm happy for the entire PDOS suite to be rewritten in Pascal or any other language. But first I haven't even completed C90. And it is extremely difficult trying to get a C90-compliant compiler too. I still haven't determined whether I need to dumb down PDOS to the C90 subset that SubC provides.

There are now makefiles for the 2 executables that I previously only provided bat files for. The bat files themselves were trivial anyway and I would have converted them to shell script for you had you asked. In actual fact, those .bat files are already shell scripts as far as I know. You can rename .bat to .sh if you want.

And you don't need to use Windows/Linux anymore, PDOS is self-hosting, including the building of the tools.