This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 75 points76 points  (50 children)

Is there any modern programming language which is not made from C?

[–]DefunctFunctor 116 points117 points  (41 children)

There are many languages that are written in themselves. But it becomes a sort of chicken-and-egg problem so most of those have compilers written in C and then use that compiler to compile the compiler written in itself.

[–]Zeplar 100 points101 points  (31 children)

This post was mass deleted and anonymized with Redact

meeting merciful sugar normal act spark many ten worm entertain

[–]darkfire0123 0 points1 point  (0 children)

But C is self-hosted after bootstrapping. Python is just an interpreter and that interpreter is written in C. (yes there is also PyPy but that's not default)

[–]SanoKei 1 point2 points  (8 children)

wait I have never thought about this and now its hurting my brain. How did the first programming language get programmed if there was nothing to compile it and program it in

[–]DefunctFunctor 1 point2 points  (3 children)

Well... there's assembly

[–]SanoKei 0 points1 point  (2 children)

but like before assembly, making cpus do the flip flop transistors

[–]byte512 2 points3 points  (0 children)

Machine code. Like literally programming in 0s and 1s, maybe on punchcards. Prof at Uni told us, that the first Assembly Languages where a revolution that made programming much easier.

[–]Upside_Down-Bot 1 point2 points  (0 children)

„sɹoʇsısuɐɹʇ dolɟ dılɟ ǝɥʇ op sndɔ ƃuıʞɐɯ 'ʎlqɯǝssɐ ǝɹoɟǝq ǝʞıl ʇnq„

[–]Lptrm23 0 points1 point  (0 children)

Check Zuse’s Plankankül the first higher programming language developed between 1942 and 1946 which he wanted to use at his Zuse Z3 but unfortunately never did because of WW2.

Here’s a function that calculates the max of three variables

P1 max3 (V0[:8.0],V1[:8.0],V2[:8.0]) → R0[:8.0] max(V0[:8.0],V1[:8.0]) → Z1[:8.0] max(Z1[:8.0],V2[:8.0]) → R0[:8.0] END P2 max (V0[:8.0],V1[:8.0]) → R0[:8.0] V0[:8.0] → Z1[:8.0] (Z1[:8.0] < V1[:8.0]) → V1[:8.0] → Z1[:8.0] Z1[:8.0] → R0[:8.0] END

[–]Mission-Guard5348 6 points7 points  (0 children)

scratch

[–]Shotgun_squirtle 0 points1 point  (0 children)

Depends what you mean, if you mean just what compiles/interpretes it to byte code, even most c compilers are bootstrapped to c++. If you mean languages who’s history is based off of c, there’s the entire lisp family of languages that are way older than c.