Message from @picnicnapkin

Discord ID: 481449466042253322


2018-08-21 13:03:59 UTC  

HAHA 100% CPU USAGE HERE WE COME

2018-08-21 13:04:02 UTC  

Incredible.

2018-08-21 13:04:24 UTC  

i have six cores and I still want to actually kill myself whenever I use screenshare on Discord

2018-08-21 13:04:38 UTC  

yeah my machine is a bit of a potato otherwise, and when i play games and use discord chat, my FPS is shit. if i turn off discord, its all fine

2018-08-21 13:05:07 UTC  

According to my partner who is a games animator Unity up until very recently used the CPU for everything pretty much

2018-08-21 13:05:39 UTC  

Pissed him right the hell off

2018-08-21 13:05:46 UTC  

and as for idle CPU usage by discord, it's using 15% for me and literally nothing else is using that much CPU right now

2018-08-21 13:05:56 UTC  

not even doing anything and it spikes up to 25%

2018-08-21 13:06:09 UTC  

isn't discord cloud based?

2018-08-21 13:06:14 UTC  

about 1% for me

2018-08-21 13:06:17 UTC  

obv

2018-08-21 13:06:35 UTC  

as we've been talking out before, Discord's based on Electron

2018-08-21 13:06:42 UTC  

aka aids.js

2018-08-21 13:06:59 UTC  

whether it's cloud based or not doesn't matter

2018-08-21 13:07:05 UTC  

it's still electron based

2018-08-21 13:07:09 UTC  

yes the data and everything would be stored in the cloud, and there is a backend to transfer messages, voice streams etc. but you still have a client running on your machine

2018-08-21 13:07:31 UTC  

and that client is poorly optimized

2018-08-21 13:07:55 UTC  

oh god what is this electron this looks horrific

2018-08-21 13:08:05 UTC  

javascript html and css

2018-08-21 13:08:10 UTC  

yes

2018-08-21 13:08:17 UTC  

welcome to the "modern" desktop app

2018-08-21 13:08:23 UTC  

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 👏 👏 👏 👏

2018-08-21 13:08:42 UTC  

who made discord anyway

2018-08-21 13:08:52 UTC  

What effect can that have on performance?

2018-08-21 13:08:55 UTC  

a bunch of code bros who didn't like slack or skype?

2018-08-21 13:08:58 UTC  

well

2018-08-21 13:09:02 UTC  

discord being 32-bit is actually a good thing

2018-08-21 13:09:09 UTC  

because it can access/address less memory

2018-08-21 13:09:18 UTC  

heh

2018-08-21 13:10:37 UTC  

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

2018-08-21 13:11:21 UTC  

generally speaking, it's best if you compile your software for both 32-bit and 64-bit systems

2018-08-21 13:11:49 UTC  

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

2018-08-21 13:12:16 UTC  

and honestly I don't blame them, it takes over 30 hours to compile Chromium, why would you bother?

2018-08-21 13:12:43 UTC  

node.js has some pretty decent binding systems for calling into native libs, i wonder if they actually use it

2018-08-21 13:12:56 UTC  

What is compiling?

2018-08-21 13:13:05 UTC  

.exe

2018-08-21 13:13:16 UTC  

z80 can handle this one

2018-08-21 13:13:17 UTC  

compilation is the translation of high level code into assembly code your system can understand

2018-08-21 13:13:17 UTC  

lol

2018-08-21 13:13:46 UTC  

Your turning the data into something readable?

2018-08-21 13:14:25 UTC  

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"