[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
idiotic things c users say
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

You are currently reading a thread in /g/ - Technology

Thread replies: 31
Thread images: 2
I'll start:
>python is slow
This is absolute non-sense
>>
>>54750713
It's slow compared to C, yes. It's fast enough for everything you should be doing with it -- if it isn't you use a combination of C and Python, easy.

Here let me do this for you: /thread
>>
>>54750713
Nice sources FAGGOT
>>
>>54750713
Oh really?
http://benchmarksgame.alioth.debian.org/u64q/compare.php?lang=python3&lang2=gcc
>>
>>54750713
>This is absolute non-sense
What? It's a factual statement.
Python is ridiculously slow compared to pretty much every other program language.
>>
>>54750730
>no sauce
Here are some C users saying that:
>>54750725
>>54750732
>>
>>54750713
>python is fast
>>
>>54750746
Except Ruby.
>>
>>54750746
A programming language can't be fast or slow
>>
>>54750761
Ruby artisans on suicide watch
>>
>C is enjoyable to write in
>>
Wont be as fast as C, of course and both wont be as fast as Fortran.

I tried doing data fitting by various methods and difference is sagnifcant.
>>
>>54750842
Fortran hasn't been faster than C for years.
Right now it's slower than C, C++, Rust, Ada and even fucking Swift
>>
>>54750770
That's the same logic as saying a car can't be fast or slow because it's the engine that is.
>>
>>54750770
Some programming languages are in fact, inherently faster than others.
C allows for a lot more optimisations that most other languages. Languages like meme snek have all sorts of assumptions that need to be checked.
>>
>>54750713
>Pascal is just a toy language
>>
>>54751021

Mostly outdated.

Still have its use, for example Lazarus is easy to use soft for quickly making GUIs. Other langs dont have something like this (please dont mention Qty).
>>
>>54750713
Python is slow as fuck.
>Idiotic things c users say
"C is usable"
>>
>>54751021
I'm pretty sure it's Fortran programmers who say that
http://www.pbm.com/~lindahl/real.programmers.html
>>
>>54750997
>implying you couldn't check those atat compile time
>>
>>54750713
lol is this how dumb people make themselves feel better about not being able to use C?
>>
>>54750963
No it's the same logic as saying a Ferrari can't be fast or slow since a Ferrari isn't a car, it's a brand.
>>
>>54750713
Hate to tell you, but Python, Perl and Ruby are equally slow compared to pretty much every sane general application programming language. Or even to PHP and JS and that says something.

And if you don't count the cherry picked, simple number based trivial benchmarks, even their best implementations are, if you aren't willing to give up on the language semantics.
>>
Nice bait OP.

https://jakevdp.github.io/blog/2014/05/09/why-python-is-slow/
>>
File: 1462938473312.jpg (56 KB, 717x720) Image search: [Google]
1462938473312.jpg
56 KB, 717x720
>>54751150

>a Ferrari isn't a car, it's a brand.

Ferrari is a brand. "A Ferrari" is a car.
>>
It is.
>BUT MUH PYPY

Will be usable in maybe 20 years. Great.
>>
>>54751133
>muh jit
>>
>>54752814
No
>>
>>54752814
Complete typesystems will reject programs which don't prove they work correctly. For instance, it might reject
def dicks(amount: nats) {
suck(amount);
}

def main() {
dicks(as_int(argv[1]));
}

But accept it with the variant:
def main() {
int count = argv[1];
if(count > 0) {
dicks(count);
}
}


This principle can be extended to bounds checking and memory management.
>>
>>54751133
>checkd
>>
>>54750713
If there's anything that's right, it's just Python is slow.
Thread replies: 31
Thread images: 2

banner
banner
[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y] [Home]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.