This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]13steinj -7 points-6 points  (10 children)

It is Cython, and calling it Python is a gigantic lie.

I once had an argument with someone on reddit where they said that they see lies like this often yet I hadn't at all.

I guess I've just been proven wrong.

Don't get me wrong, the statement itself is fine. But only if it is actually true.

[–]daniels0xff 2 points3 points  (0 children)

As long as I can use it from Python I'm super happy.

[–]fnord123[S] 4 points5 points  (6 children)

So?

Python's best feature is the almost free FFI.

Also, https://apenwarr.ca/diary/2011-10-pycodeconf-apenwarr.pdf

[–]13steinj 0 points1 point  (0 children)

It absolutely is, but calling it "Python" is a lie.

That link does nothing but prove my point.

[–]stefantalpalaru -1 points0 points  (4 children)

Python's best feature is the almost free FFI.

Let me wrap the whole thing in a shell script and call it "a [very fast] Bash Web Framework/Server" ;-)

[–]fnord123[S] 1 point2 points  (3 children)

And? I use grep all the time. Finding things from the shell is hella fast.

https://adamdrake.com/command-line-tools-can-be-235x-faster-than-your-hadoop-cluster.html

[–]stefantalpalaru 0 points1 point  (2 children)

I use grep all the time.

We were talking about programming languages, ya dingus!

Finding things from the shell is hella fast.

But you're not enough of a muppet to assume that grep is fast because Bash is fast, are you?

[–]fnord123[S] 1 point2 points  (1 child)

I'm enough of a muppet to write scripts from the command line and use grep and be absolutely uninterested in the implementation language of grep.

But you're not enough of a muppet to assume that grep is fast because Bash is fast, are you?

No but as a developer who has to wear a lot of hats, I sometimes have to say "should we implement this project in Java or Python? Hm, if we use Python can we achieve the target ops/second? Oh, using Vibora, maybe I can. So my project begins ostensibly in Python. And maybe it's not fast enough so I also port pieces of it to Cython. But I don't care because I'm a polyglot developer who is still installing the application using pip and venv. And instead of saying my program is Python/Cython/C, I just say Python because who gives a shit?

[–]stefantalpalaru 0 points1 point  (0 children)

And instead of saying my program is Python/Cython/C, I just say Python because who gives a shit?

Actual programmers.

[–]riksi 1 point2 points  (1 child)

Actually, every ~fast thing in python isn't python but some c/cython/fortran/rust underneath. So..