←back to thread

218 points signa11 | 7 comments | | HN request time: 0.001s | source | bottom
Show context
pjmlp ◴[] No.43681194[source]
> The reason I believe C is and always will be important is that it stands in a class of its own as a mostly portable assembler language, offering similar levels of freedom.

When your computer is a PDP-11, otherwise it is a high level systems language like any other.

replies(7): >>43682173 #>>43682246 #>>43682554 #>>43682928 #>>43683332 #>>43683914 #>>43701871 #
grandempire ◴[] No.43682246[source]
Which other popular language more accurately represents a random access machine of fixed word length?
replies(3): >>43682309 #>>43682371 #>>43682763 #
pjmlp ◴[] No.43682371[source]
I don't know, Ada, Modula-2, Object Pascal, PL/I, NEWP, PL.8, D, Zig, Mesa, ATS,....

But then again, you booby trapped the question with popular language.

replies(2): >>43682583 #>>43682636 #
1. grandempire ◴[] No.43682636[source]
Many of those languages do not have pointers - which are fundamental to how modern instruction sets work.
replies(1): >>43682903 #
2. pjmlp ◴[] No.43682903[source]
Yes they do, point an example from that group, and I will gladly prove you wrong.
replies(2): >>43682999 #>>43683399 #
3. ◴[] No.43682999[source]
4. grandempire ◴[] No.43683399[source]
Well sounds like you are confident and we are going to get into a semantic argument about what qualifies as a pointer.

So which of these languages do you think is a better representation of hardware and not a PDP-11?

replies(1): >>43689392 #
5. pjmlp ◴[] No.43689392{3}[source]
Better representation of the hardware?

None of them, you use Assembly if you want the better representation of hardware.

Yes, I am quite confident, because I have been dispelling the C myth of the true and only systems programming language since the 1990's.

replies(1): >>43695517 #
6. grandempire ◴[] No.43695517{4}[source]
So then your comment about C being an outdated PDP-11 must be equally true of other languages. So it says nothing.
replies(1): >>43703827 #
7. pjmlp ◴[] No.43703827{5}[source]
Not really, some of those languages predate the very existence of C and PDP-11.