I’m high and I can’t make sense of programming software

Geek Nasty

Brain Knowledgeably Whizzy
Supporter
Joined
Jan 30, 2015
Messages
31,987
Reputation
5,700
Daps
121,338
Reppin
South Kakalaka
You type code into a program to let you create another program. But what code was used to create original program?

I literally can’t process this right now. Certs nikkas explain this

At a certain point the program running the program is a computer chip.
 

Obreh Winfrey

Truly Brehthtaking
Supporter
Joined
Nov 18, 2016
Messages
20,852
Reputation
25,690
Daps
132,008
CPUs are made up of components called registers. CPUs have instruction sets that define a bunch of boolean logic behaviors that the CPU will execute. Register values are series 0s and 1s, off and on respectively, and loading certain registers with certain values yields different results. This whole concept forms the basics of programs - they're just sequences of instructions to be executed by the processor. Compilers are just programs that translate higher level languages into byte code and machine code. The machine code is literally represented in 0s and 1s. If you cared enough, you could write a program entirely in machine code, but it wouldn't be worth the trouble. The closest to that you'll see is assembler (ARM, MIPS, etc) that is more human readable but extremely low level in that you define each operation yourself. In a higher level language like Java, C, Python, that's all abstracted away from you.
 

Obreh Winfrey

Truly Brehthtaking
Supporter
Joined
Nov 18, 2016
Messages
20,852
Reputation
25,690
Daps
132,008
I'm getting flashbacks please stop :to:
I was going to write a simple MIPS program but can't remember the registers and instructions :pachaha:. You haven't lived until you have to code fibonacci using only one register on your final, by hand, with only 20 minutes left :mjgrin:.
















:mjcry: professor if you hate us just come out and say it, no need to traumatize people.
 

Yade

BigJohnsons lol
Joined
Apr 20, 2017
Messages
5,513
Reputation
-1,220
Daps
13,902
What if the simulation program was created by a developer and the developer became apart of the simulation but is also the simulation and the developer all at once:ohhh:
 

O.T.I.S.

Veteran
Joined
Sep 15, 2013
Messages
79,319
Reputation
17,229
Daps
306,479
Reppin
The Truth
You don’t need to use a compiler to create code tho, it just helps greatly

So thats how a compiler was created breh
 
Top