Message from @Silver0Fox
Discord ID: 481450846731632658
yes
welcome to the "modern" desktop app
not only that, but the discord client itself is 32-bit yet the installer forces you to use a 64-bit system even if the software doesn't 👏 👏 👏 👏
who made discord anyway
What effect can that have on performance?
a bunch of code bros who didn't like slack or skype?
well
discord being 32-bit is actually a good thing
because it can access/address less memory
heh
32-bit software actually runs slightly faster than 64-bit too, but due to architecture optimizations in modern processors, the effect is not really noticable
generally speaking, it's best if you compile your software for both 32-bit and 64-bit systems
but of course in the case of discord, the 32-bit/64-bit issue is mostly Electron's fault specifically, the people who made Electron probably have no idea how to use a compiler
and honestly I don't blame them, it takes over 30 hours to compile Chromium, why would you bother?
node.js has some pretty decent binding systems for calling into native libs, i wonder if they actually use it
What is compiling?
.exe
z80 can handle this one
compilation is the translation of high level code into assembly code your system can understand
lol
python however, is not a compiled language. it is itself a complex program that scans and executes your code on the fly. usually called an "interpreter"
aka you go from a hello world program to a bunch of 64-bit or 32-bit instructions the system will understand, so when you open your compiled file up into a hex editor, you'll only see something like.. `<insert random garbage here, too lazy>`, because it's nothing like your normal code
interpreters do compiling on the fly, JIT interpreters do compiling ahead of time
JIT interpreters, in rare cases, can actually be faster than compiled languages
take the Julia language's default interpreter's JIT system, for example
because Julia is like LUA on steroids
@Silver0Fox doesnt know what any of those langs are dude 😛
uhh
shit
well
its just making code into a program that you can actually run on your computer
yeah
basically
LUA is typically used to make plugins and addons for stuff
it's an embeddable language
so a LUA interpreter usually gets crammed into different projects to help with modular code
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
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
well your computer in the end processes them all the same way but sort of
every CPU has a slightly different instruction set, but most of them all come under one architecture, like x86 or ARM