Alignant
https://benchmarksgame-team.pages.debian.net/benchmarksgame/faster/php.html
Well, I looked for some benchmarks
Alignant
I'm not sure if they are trustworthy
Alignant
But as far as I know, name a random language and it's probably faster than python :D
BinaryByter
No
feufq
i=a is not any condition to check..i mean proper
BinaryByter
python is actually pretty fast
Avezy
well they provide the source code to their tests
Avezy
https://benchmarksgame-team.pages.debian.net/benchmarksgame/program/binarytrees-php-6.html
BinaryByter
it's JIT compiled
feufq
it is one of worst slow lang
feufq
you shoud be aware of a fact that python build on c++
Avezy
Cython is pretty fast but its also precompiled
BinaryByter
feufq
c++ is father of alll lang..by mean father its powerful nature
feufq
olli
php7 is actually quite fast
Dima
lol python7
BinaryByter
Dima
I think or its gone OT
BinaryByter
it's prolly just a prof of concept
feufq
feufq
even the lib like tensorflow has c++ in its core
BinaryByter
its just a python api
Ariana
One problem with python: wtf syntax
BinaryByter
yea
Alignant
Ariana
literal hours
Alignant
Ariana
well yeah thats true
Ariana
But syntax quite difference from like most langs, that allows ?:, {}, ;, etc.
olli
#offtopic
olli
keep it to C++ here
Marie
#offtopic
https://t.me/joinchat/Ci0Cak-BPuxaHdcbjab4QQ
Dima
guys do you know any channel like that but about c#?
Dima
international
Avezy
Actually the syntax in python and the peps make the code more readable than alot of c or c++ code I have seen
Dima
too many literals
Ariana
Yeah cuz indentation matter (and you cant nest ?:)
Avezy
You can nest about everything you can put too function declarations into one and you can pretty much do this
if enable_function_in_debug:
def Debug(param):
def x(param):
print praram
x(param)
Avezy
*two
Avezy
Python syntax wise is pretty powerful and beatiful at times "pythonic"
Anonymous
Hi guys. I have a problem which didn't give me any useful solutions on searching google.
Anonymous
I want the ifstream function in c++ to read only a certain line of a text file. How do I make it do that. Any response is appreciated :)
Roxifλsz 🇱🇹
Anonymous
c++
Noice
I don't think you can seek to a certain line with the ifstream class, the only way I can think of is by counting '\n'.
Marie
Who dis non-admin telling me what to do?
Marie
No filters are active here!
Marie
Notes in chat:
- cpp
- cppbook
- goodcodingmentality
- goodgoogling
- googleit
- hownottoask
- ide
- learn
- meta
- noendl
- offtopic
- ot
- projects
Marie
The following commands are currently restricted:
- setme
- info
- setbio
- adminlist
- runs
- afk
- me
- slap
Sagar
Any one tell me how to work friend function
Sagar
??
Ariana
please clarify your quesitn
$hubham
Which windows is best for laptop for doing c programming
Noice
Linux
Sagar
Anonymous
Ariana
I use debian switching to arch soon
Ariana
C programming can be done anywhere tbh
Noice
Ariana
there isnt any best os or best core etc
Sagar
Ariana
to be honest
Ariana
Like if you have a potato com from 1970 yeah it still works there
Ariana
just that you cant like #import<ios>
klimi
klimi
Linux
Chose whatever you want
klimi
Jussi
Yes
Anonymous
You guys are so active 😭😭
Anonymous
I need that type of activeness in my life 😔
Anonymous
New to C programming which is the best book