Message from @Silver0Fox

Discord ID: 481452775197376524


2018-08-21 13:16:26 UTC  

shit

2018-08-21 13:16:27 UTC  

well

2018-08-21 13:16:33 UTC  

its just making code into a program that you can actually run on your computer

2018-08-21 13:16:42 UTC  

yeah

2018-08-21 13:16:43 UTC  

basically

2018-08-21 13:16:47 UTC  

LUA is typically used to make plugins and addons for stuff

2018-08-21 13:16:52 UTC  

it's an embeddable language

2018-08-21 13:17:08 UTC  

so a LUA interpreter usually gets crammed into different projects to help with modular code

2018-08-21 13:17:10 UTC  

Nope, but I think I get it. It's different methods for your computer to process the instructions depending on the language and your desired outcome

2018-08-21 13:17:49 UTC  

the point is more that your CPU can only do the most basic instructions, like load two numbers from memory, add them together, and store the result somewhere else in memory

2018-08-21 13:17:50 UTC  

well your computer in the end processes them all the same way but sort of

2018-08-21 13:18:34 UTC  

every CPU has a slightly different instruction set, but most of them all come under one architecture, like x86 or ARM

2018-08-21 13:18:36 UTC  

so when you write your software in a high level language, you need a compiler (another program) to translate into thousands of these little basic machine instructions that your processor understands how to do

2018-08-21 13:18:53 UTC  

when you compile a program, it only works on the platform you compiled it for, unless you cross-compile

2018-08-21 13:19:12 UTC  

so if you compile for x86, which you probably will, it'll only run on computers with an x86 processor, like intel or AMD CPUs tend to be

2018-08-21 13:19:45 UTC  

if you compile for ARM, your program can run on things like phones and things like the raspberry pi, so low-power devices

2018-08-21 13:20:03 UTC  

yes, the binary (executable program) the compiler outputs is specific to a particular CPU instruction set architecture, usually the one you run the compiler on

2018-08-21 13:20:52 UTC  

but just use python and dont worry about compilers yet

2018-08-21 13:20:53 UTC  

lol

2018-08-21 13:21:03 UTC  

the difference between ARM and x86 (two of the most popular architectures) is that one of them is CISC and one of them is RISC, meaning x86 has lots and lots of instructions for specific tasks and ARM has only a few instructions that can be combined to do complex tasks- ARM is used in low power devices because the simplicity of the CPU's design is pretty linked to the lower power consumption

2018-08-21 13:21:26 UTC  

wasn't planning on it. But this is super interesting

2018-08-21 13:21:40 UTC  

i have another word for it

2018-08-21 13:21:47 UTC  

Worry about compilers once you get to C and C++ and Java and stuff.

2018-08-21 13:21:50 UTC  

i always forget how much detail and complexity there is in all this stuff

2018-08-21 13:22:02 UTC  

well is javac really a compiler then

2018-08-21 13:22:08 UTC  

For now, just worry about understanding how to use basic programming stuff.

2018-08-21 13:22:37 UTC  

yeah javac is a compiler, but it outputs bytecode for the JVM and not an executable

2018-08-21 13:22:52 UTC  

starting with python means you don't have to worry about all of this compiler stuff and whatnot (unless you happen to be me and you overcomplicate things to the point of insanity just to get tiny speed increases but uhhhhhhhhh)

2018-08-21 13:22:53 UTC  

I will concentrate on learning my basics before trying anything weird

2018-08-21 13:23:06 UTC  

good idea

2018-08-21 13:23:24 UTC  

Yeah, just focus on mastering the basics for now.

2018-08-21 13:23:32 UTC  

But I find this discussion really interesting even if I don't understand all of it

2018-08-21 13:23:33 UTC  

Learn Python The Hard Way is pretty good for that.

2018-08-21 13:23:45 UTC  

windows has the same deal as java though with python doesn't it you need python to run pyc

2018-08-21 13:24:07 UTC  

And if you don't understand, just come here and one of us ought to be able to help you.

2018-08-21 13:24:07 UTC  

you can bytecode compile python, yeah, but usually it does it automatically for you

2018-08-21 13:24:51 UTC  

Thank you everyone for all the help and putting up with my incessant questions

2018-08-21 13:24:59 UTC  

No prob.

2018-08-21 13:25:25 UTC  

tis okay

2018-08-21 13:25:37 UTC  

But it is quite late where I am and I probably need to get to bed

2018-08-21 13:26:06 UTC  

Have a good night/day!