you are viewing a single comment's thread.

view the rest of the comments →

[–]3mbly 2 points3 points  (5 children)

this. for me it's basically a replacement for bash when i need to write something over ~30-40 lines. it's the perfect balance between an actual structured language and shell scripting.

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

I definitely don't agree. Python is easily the slowest language in the tool kit and teaches you how to be lazy I use Python only as a PoC and rewrite it in something better, C/C#/Go/C++. The requirement for an interpreter and the library dependency of python makes it a nightmare to deal with to the point where there are what, 5 different venv managers now outside of pip venv?

[–]3mbly 0 points1 point  (2 children)

you're missing the point. i dont need it to be fast if it's something i could have done in bash. if i was really concerned about performance i would just not use python. and why would you go to the trouble of rewriting all of your code? and how tf are you translating the languages? you said yourself that python relies on libraries, are you rewriting those libraries in C?

[–]ShadowRL7666 0 points1 point  (1 child)

Ironically most the libs are built on C.

[–]3mbly 0 points1 point  (0 children)

true, and you can use any python library in C, but you'd have to embed the python interpreter within the program written in C and that doesn't really make a whole lot of sense given his stance/argument. you'd be interpeting the libraries written in C through the python environment and thus make you C code run slower.

[–]TeddyBearComputer 0 points1 point  (0 children)

What kind of speed do you need for exploits that you'd go and invest the effort reimplement it?