Message from @Silver0Fox

Discord ID: 481453303482417152


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!

2018-08-21 13:26:13 UTC  

see ya

2018-08-21 13:26:16 UTC  

Alright, have a good one.

2018-08-21 13:26:16 UTC  

oh holy shit

2018-08-21 13:26:53 UTC  

whenever I mouse over the Discord text box, i swear to god for a split second my moues cursor expands to like 3x its normal size and has a bunch of black lines going through it

2018-08-21 13:27:26 UTC  

though actually considering chromium renders everything with opengl that kind of makes sense

2018-08-21 13:27:28 UTC  

you smokin crack

2018-08-21 13:27:31 UTC  

ive never seen that

2018-08-21 13:27:39 UTC  

neither have I, until now

2018-08-21 13:27:45 UTC  

i've had that happen but it was everywhere cause of windows being shit

2018-08-21 13:27:51 UTC  

probably some weird-ass rendering glitch

2018-08-21 13:28:03 UTC  

im currently on a mac and It Just Works (tm)