Do you think Python will be the most used programming language in the future and today?

What a load of nonsense. For starters, there's no way you read my entire post in 1 minute.

"no company that works in serious projects".

YouTube is written in Python.

So is Netflix.

I made a list above.

*I SHOWED YOU* in code comparing C and Python, when you use the right libraries for the job Python is only a little slower than C.

I then explained to you that in 2024 we don't have a speed problem. We can easily spin up a few more VPS's should we need some extra speed.

"optimized algorithms" ?

And you think a company is going to hire a dev to re-write existing algorithms that are near perfectly implemented and battle tested in production ready libs?

They're going to avoid Python, and instead re-invent the wheel with a low level language and introduce a ton of bugs that they'll never find until it's too late?

That's madness.

Operating systems? What company is creating operating systems? And why do people keep re-hashing this old argument. "Oh, Python can't be used to create an OS, so it's not useful".

We don't need any more OS's. Companies aren't building OS's. Those are done in C and Assembly.

Serious network infrastructure? This doesn't even make sense? What exactly are you talking about? Building network hardware?

Or are you actually telling me that a low level language is better for client-server applications?

Why isn't YouTube written in C? Or Netflix?

Read this - https://www.pythonforengineers.com/why-is-python-so-popular-if-its-so-darn-slow/

I doubt you will, but there you go. Also, actually read what I write instead of just replying by repeating yourself, but in different words.
'Companies arent building OS's' , the ones that do , do it in low level language. Because if it was done in python it would be horrible as i mentioned before . Also youtube is based more in frontend / backend and a few algorithms maybe they do not need c . And yes companies that are based in those sectors i mentioned prior (military/ industrial / healthcare) Pay A LOT of money to have their code updated / optimized because it matters .
 
At least the move of Facebook to C++ was 1 of 3 inspirations for me to start coding my frontend servers in C++ also (without Apache). No more PHP code, no chance to have a copycat customer.

I could reverse engineer any of your C++ programs.

The only way to protect code is to run it on a server. There is NO way to protect code.

This is an old field called cracking.

Even WINDOWS gets cracked. EVERY piece of software has been cracked over the years unless it has a more sophisticated server based component.
 
And just because I like to point out your constant factual errors.

https://github.com/facebook/hhvm/wikihttps://en.wikipedia.org/wiki/HHVMhttps://en.wikipedia.org/wiki/HipHop_for_PHP

Facebook didn't in fact convert all their PHP code to C++.

You're just making stuff up to support your argument.

Their original codebase probably sucked and they needed to improve performance back in 2010-2011.

They dabbled with a few ideas, one of them converting parts of their codebase to C++ for performance.

But my god, if you understood software engineering you'd realize you can't just convert an entire codebase like that and be done. It's not practical. The resultant C++ code is not human-readable/maintainable.

That's why they shifted to developing HHVM

"
By many accounts HPHPc fulfilled its goals, especially within Facebook as it allowed facebook.com to run much faster while using fewer resources. However, in early 2013 Facebook deprecated HPHPc in favor of the HipHop Virtual Machine (HHVM), which is a just-in-time (JIT) compilation-based execution engine for PHP, also developed by Facebook.[2][9] There were many reasons for this; one of them was HPHPc's flattened curve for further performance improvements. Also, HPHPc did not fully support the PHP language, including the create_function() and eval() constructs, and it involved a specific time- and resource-consuming deployment process that required a bigger than 1 GB binary to be compiled and distributed to many servers in short order. In addition, maintaining HPHPc and HPHPi in parallel (as they needed to be, for the consistency of production and development environments) was becoming cumbersome. Finally, HPHPc was not a drop-in replacement for Zend, requiring external customers to change their whole development and deployment processes to use HPHPc.[2]

"

Please, just stop making stuff up. You'll never progress as a developer with that attitude.



No, it's not billions of dollars. VPS's are cheap.

The python on a $24/mo VPS beats the C on a $7/mo vps.

Is that billions of dollars?

https://www.blackhatworld.com/seo/10-years-coder.1561348/#post-17200272
You're impressed by someone who's been coding for 10 years. I've been in the game for 30.

Seriously enough. I'm out.
'no its not billions of dollars vps are cheap' say that to the people programming fighter jets . You are only looking at the commercial side of programming / tech . speed is key in everything
 
I could reverse engineer any of your C++ programs.

The only way to protect code is to run it on a server. There is NO way to protect code.

This is an old field called cracking.

Even WINDOWS gets cracked. EVERY piece of software has been cracked over the years unless it has a more sophisticated server based component.

I could reverse engineer any of your C++ programs.

The only way to protect code is to run it on a server. There is NO way to protect code.

This is an old field called cracking.

Even WINDOWS gets cracked. EVERY piece of software has been cracked over the years unless it has a more sophisticated server based component.
You have got to be trolling
 
Don't feed the trolls:



;-)


Every time I point out that you've made stuff up, you repeat this.

It's not useful or helpful.

It's like being in a debate, and you instead of refuting someone's point you just say "calm down".

You have got to be trolling

No. Reverse engineering C++ is absolutely a thing, and has been being done since the early days.

https://www.blackhat.com/presentations/bh-dc-07/Sabanal_Yason/Paper/bh-dc-07-Sabanal_Yason-WP.pdf
 
This really, really made my day. Muaaaahahahaha

1705114411868.png
 
'its not translated into billions of dollars just run a vps' has to be the most ignorant thing i have ever heard by anyone .
lets see what happens if everything is converted to python , lets see how much money it will take to maintain and create systems after changing everything and compare it before the code has changed .Lets see how slow everything will be
 
This really, really made my day. Muaaaahahahaha

View attachment 313641

Random hobby Python scripter with 30 years software engineering experience, including C, Assembly, electronic engineering and experience hacking linux kernels and smashing the TCP/IP stack in the 90's.

But this just shows how you make stuff up in your head that doesn't exist in reality.

Good luck to you.
 
Random hobby Python scripter with 30 years software engineering experience, including C, Assembly, electronic engineering and experience hacking linux kernels and smashing the TCP/IP stack in the 90's.

But this just shows how you make stuff up in your head that doesn't exist in reality.

Good luck to you.
'30 years of experience' yet you use chatgpt to generate unoptimized code (in both languages) and realize the code is wrong after you send it here . + the gem you threw before 'is not translated into billions of dollars just use a 24/mo vps'
 
Every time I point out that you've made stuff up, you repeat this.

It's not useful or helpful.

It's like being in a debate, and you instead of refuting someone's point you just say "calm down".



No. Reverse engineering C++ is absolutely a thing, and has been being done since the early days.

https://www.blackhat.com/presentations/bh-dc-07/Sabanal_Yason/Paper/bh-dc-07-Sabanal_Yason-WP.pdf
Yes obviously i know what reverse engineering is , i said 'you have to be trolling' because of your ignorant comments
you are taking things out of context bro
 
'30 years of experience' yet you use chatgpt to generate unoptimized code (in both languages) and realize the code is wrong after you send it here . + the gem you threw before 'is not translated into billions of dollars just use a 24/mo vps'

Yes, I used chatgpt to convert the python code to C, because it's quicker than writing it out from scratch.

I spotted the problem after I read the C code it generated in more detail.

The Python code is unoptimized is it?

Right ok.. Maybe tell that to the machine learning community, because they're currently using that unoptimized numpy lib and vector operations with Pandas.

But, let's get down to some nitty gritty.

Give me your line by line code review of both, with full explanations of how they're unoptimized. And of course, feel free to optimize the C one.
 
you are more likely cause errors when running the code
Use a linter and IDE like an adult and you'll never have problems running your code. If for some reason you do forget whitespace you just get a IndentationError and your program will exit 1 immediately.
 
I am starting out in the world of programming, taking HTML and JavaScript courses, basically to create websites from scratch.

Do you think that phyton is more important than these that I mentioned before? And could those languages that I mentioned before be stopped being used? What do you think? (Im speaking in relation of the creation of websites and APY for this).
Each Language has it's use cases. The creators had specific things in mind that the languages excel in. For example Python and Rust are too good languages in the world of Data Science. But then if you move too Software development people prefer C++ and etc. So there is no way one Language takes over rest of them.
 
Yes, I used chatgpt to convert the python code to C, because it's quicker than writing it out from scratch.

I spotted the problem after I read the C code it generated in more detail.

The Python code is unoptimized is it?

Right ok.. Maybe tell that to the machine learning community, because they're currently using that unoptimized numpy lib and vector operations with Pandas.

But, let's get down to some nitty gritty.

Give me your line by line code review of both, with full explanations of how they're unoptimized. And of course, feel free to optimize the C one.
now i am bored to optimize the code chat gpt made in c i ll go eat gang
 
When the only arguments are "nasa uses low level languages", and "I like to look inside your code", I know it's time to depart.
I'm just a scripter. And I will choose Django for my next web interface if I do ever any.

Some time ago I learned that I wasted time doing web dev instead of focusing on the money machine.

Don't want to waste my time on making C++ to work as I want it to.

Maybe I will do C# but that's too much too for a scripter.

Seems TypeScript is an optimal solution on node.js.

Very good for startups and people like us who want to do stuff quickly.

I'd be happy to outsource a lot of my work. Well, I know if I hired C++ devs I'd go broke quickly.

Java and C# are fine if you want to go "deeper" than Python and JavaScript.
 
I am starting out in the world of programming, taking HTML and JavaScript courses, basically to create websites from scratch.

Do you think that phyton is more important than these that I mentioned before? And could those languages that I mentioned before be stopped being used? What do you think? (Im speaking in relation of the creation of websites and APY for this).
For web development, Python (Django) will undoubtedly be the best programming language. It has all the advanced features and essential pre-built packages that make it easy to build and scale any web application with ease. It'll be at the top for at least the next 5 years, without a doubt.
 
Back
Top