BinaryByter
But things happens after look like hell
Well yea. python code just isnt maintainable in the long run
BinaryByter
which is why C++
Alignant
which is why C++
What about rust? :D
Anonymous
i have set my roadmap python => C => assembley => networking concepts. did research from few sources and it suggested this. I cant randomly start doing OSCP course without knowing the basics. but the book did suggest learn a bit of every programming language.
isinstance()
You can use isinstance too
BinaryByter
What about rust? :D
this whole "safety" thing is inefficient
BinaryByter
Its easy: if type (a) == int: ....
look if you want to fit your left shoe to your right foot it's easy. just cut out the left corner and you are good to go :xDD
BinaryByter
i'm just showing you that your ways of solving problems aren't good
Anonymous
Why do programmers always troll and blame each other for trolling
BinaryByter
You are a possibly a troll~
checking that your index isnt out of bound before accessing memory IS inefficient
Anonymous
Let's move pass
Anonymous
At least python is better than JavaScript
Anonymous
Alignant
checking that your index isnt out of bound before accessing memory IS inefficient
You've said that C is unsafe. But now you think safety is bad :D
BinaryByter
klimi
kay. enough c:
klimi
get back to work everyone
BinaryByter
Yeah but crashes are more of an inefficiency
No, they tell you that you fucked up and enable you to fix the problem
Anonymous
You've said that C is unsafe. But now you think safety is bad :D
C allows you to implement safety and leave it out in cases where it is not needed for performance
Anonymous
BinaryByter
Look at pointers
BinaryByter
look at new
BinaryByter
look at delete
BinaryByter
so many ways to fuckup by memory leak
klimi
i'm just showing you that your ways of solving problems aren't good
Listen, you normally wouldn't comprove the type of a variable in python bc you know what variable are you using as argument
BinaryByter
what is the type of argument?
Anonymous
so many ways to fuckup by memory leak
Statically allocate everything first via char arrays and dont.ever use a pointer
Alignant
those are not the same types of safety
B-but... C++ uses vectors instead of classic arrays... Which offer bounds checking
BinaryByter
Int or float
but what about me entering a string containing a number?
BinaryByter
except if you use vecetor::at(uint i);
BinaryByter
again - a hacked together solution
BinaryByter
again - a hacked together solution
Humans are prone to failing
BinaryByter
you want your compiler to tell you how to improve
BinaryByter
besides
BinaryByter
you are not alone reading your code
Alignant
C++ vector's don't have bound checking
I meant at, right. Or are you sepcificly against when a language checks it for you?
BinaryByter
and yes
BinaryByter
i'm against that
BinaryByter
because a cmp statement is slow
Alignant
because a cmp statement is slow
Do you mean the asm instruction?
Alignant
yea
Nope, you can't bring that to the table. It requires to have some knowledge about assembly.
Alignant
And you said learning asm is worthless :D
BinaryByter
Alignant
Well, I'm not entirely serious, I am just not sure if I agree with you :D
BinaryByter
Do you mean the asm instruction?
so have I outargumented you?=
Alignant
Some of it makes sense
BinaryByter
all of it
BinaryByter
i'm not just any crackpot, i'm cofounder of CLINL
Alignant
Lol, you're adorable
BinaryByter
He is :3
Klimi ❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️
klimi
❤️
BinaryByter
❤️
Alignant
What do you then think about C++ vs Rust benchmarks? Are they made up? Rust is not really far behind :D
Alignant
Two nanosecs behind -> worthless garbage?
BinaryByter
not worthless garbage
BinaryByter
but not as good
Alignant
So Rust is not garbage... just... not... as... good? :D