Asdf
Asdf
jcjordyn120
Asdf
Asdf
David
But if you care about performance, you will not be printing stuff to stdout frequently
jcjordyn120
David
jcjordyn120
what
David
@jcjordyn120 Basically, if printing to screen is slow, print less.
jcjordyn120
ah, I'd rather more info then a little more speed.
jcjordyn120
(with a quiet mode of course)
Asdf
I/O it's low
David
#include <iostream>
#include <stdio.h>
int main() {
for(unsigned i = 0; i < 9000000; i++)
printf("Hello");
// std::cout << "Hello";
compiled with g++ 7 and -O3 the difference is about 0.001 second, and nobody calls std::cout so many times
jcjordyn120
David
@jcjordyn120 But if you have a program which compress some file for example, you will not be printing for each iteration of the algorithm, so the performance impact in this example is totally negligible
Asdf
jcjordyn120
jcjordyn120
David
I'm not an expert, but if someone decides to change from std::cout to printf to improve the performance of their system, is doing something very wrong.
jcjordyn120
Asdf
jcjordyn120
jcjordyn120
like if it was 1 vs 5 seconds then maybe i'd change, but the difference is so small it's pointless.
Asdf
David
Good night.
jcjordyn120
jcjordyn120
Anonymous
Anonymous
Anonymous
jcjordyn120
and in the cases in which it does matter, why use an interpreted language?
Anonymous
With computers today you won't notice
Anonymous
Anonymous
Why you use python in embedded devices?
Anonymous
It's like using Java in phones lol
jcjordyn120
but that's not the point, it was just an example.
jcjordyn120
Anonymous
I think that embedded devices should be program in C or ASM
jcjordyn120
Anonymous
Low level programming language mainly
jcjordyn120
because for me personally, if it's anything higher level then a audrino then it get's C++ or python.
jcjordyn120
Jay
@Mester11 spam
Anonymous
many
Jay
Thanks @Mester11
Anonymous
Who can crack a multiplayer RPG game
jcjordyn120
Anonymous
Anonymous
I want to get gems so bad but I dont have a credit card to do so
many
Hacking other's server is illegal
Anonymous
Oh
Anonymous
I c
Anonymous
Then dont worry
Anonymous
But is there a way I can get gems
Anonymous
Do u know this game legacy of the discord
many
What's the name of the game?
Anonymous
Legacy of the discord
Anonymous
Check out "Legacy of Discord-FuriousWings"
https://play.google.com/store/apps/details?id=com.gtarcade.lod
Anonymous
That is it
Anonymous
Anonymous
many
Online multiplayer games probably keep their eye on user statistics.
many
When an abnormal changes on user stat is detected, the server may suspend your account
Anonymous
Anonymous
So lemme jux continue to play normal
many
I don't know how those tools work. Probably those tools are developed by competitors, maybe