The Entrepreneur Forum | Startups | Entrepreneurship | Starting a Business | Motivation | Success

Who is Best in Security Between C and Java

Accelerate wealth. Build a business that pays freedom. Join more than 70,000 entrepreneurs and register for the Fastlane Entrepreneur forum. Remove ads? Join the INSIDERS.

adisharma

PARKED
Jan 23, 2020
10
0
2
Gurgaon
Hello Everyone, I am a beginner and I am working on a freelance project. I want to know which programming language is good from a security point of view between C and java? Yesterday I search on google to find it and I found, Java is comparatively more secure than C. Is it right? Can anyone know about this?
 

Don't like ads? Remove them while supporting the forum. Subscribe.

codequaza

New Contributor
Read Millionaire Fastlane
I've Read UNSCRIPTED
Nov 11, 2019
15
15
17
Let's think about cars in a more generic way and you're asking whats more secure? A BMW or Mercedes?
Those are just tools (cars). You need to worry more about the handling of the car than the car itself (e.g. dont drive drunk, have enough space between cars, stick to the speed limit, have good breaks, etc)
In the end every programming language like Java, C# run on servers and databases. So you gotta figure out how to make those other 2 components secure.

It's not about the programming language. It's about the environment the programming language runs in.

Here is an overview about the biggest 10 security risks in the IT business => OWASP Top Ten Web Application Security Risks | OWASP
 

adisharma

PARKED
Jan 23, 2020
10
0
2
Gurgaon
Let's think about cars in a more generic way and you're asking whats more secure? A BMW or Mercedes?
Those are just tools (cars). You need to worry more about the handling of the car than the car itself (e.g. dont drive drunk, have enough space between cars, stick to the speed limit, have good breaks, etc)
In the end every programming language like Java, C# run on servers and databases. So you gotta figure out how to make those other 2 components secure.

It's not about the programming language. It's about the environment the programming language runs in.

Here is an overview about the biggest 10 security risks in the IT business => OWASP Top Ten Web Application Security Risks | OWASP
Yes and I have found some good references yesterday with the help of this post, C is a less secure programming language than Java because Java is dynamic and extensible and Java is also secure and robust.
 

codequaza

New Contributor
Read Millionaire Fastlane
I've Read UNSCRIPTED
Nov 11, 2019
15
15
17
Yes and I have found some good references yesterday with the help of this post, C is a less secure programming language than Java because Java is dynamic and extensible and Java is also secure and robust.
I don't know your context on how you're going to use this language, but from my feeling your overreacting as both languages are fantastic and secure, otherwise millions of software would be insecure due to the language itself (which isn't the case).
 

Frost

PARKED
Read Millionaire Fastlane
Sep 23, 2021
3
0
4
As a programmer myself I can tell you that this question doesn't make sense. If you want your program to be "secure", it's something you will have to work on yourself, rather than expect the language to offer it for you, and we still haven't even talked about what "secure" even means.

If you're indeed a beginner, I suggest you focus on more important issues, such as how to write clean code, version control software (git), good programming practices, coding style, and unit/integration testing. Security flaws come from bad code and bugs, which don't depend a lot on the language itself (before I get slandered, yes I know that some language frameworks offer better protections for basic things like buffer overflows and so on). The choice of the language will depend on the platform you're targeting. For example, if you're writing firmware for an IoT object then you'll very likely be using C, and for a web project, you'll use Javascript for the front-end.
 

Sponsored Offers

Introducing MJ's Personal Unscripted Network, Join Now for FREE!
Text... (via @Black_Dragon43 ) A forum user recently said something poignant. "Don't ask a...
  • Sticky
MARKETPLACE NEW: The Best School for Going Fastlane (Now open for summer enrollment)
With 300+ students, the method and/or main sources of traffic don't saturate? Seems web design...
MARKETPLACE Fox Web School "Legend" Group Coaching Program 2021
Hi - I sent out some emails with the updates but I'll PM you now also, thanks. The issue is...
MARKETPLACE Not sure how to start? This free book will teach you how to build a successful web design business
Hi Fox. Starting the book and got through the introduction. Had a conversation with Andy Black...
  • Sticky
MARKETPLACE You Are One Call Away From Living Your Dream Life - LightHouse’s Accountability Program ⚡
Chris is super sharp and is aware of many facets of entrepreneurship and can help get your...

Learn Fastlane Business Skills & Get Profitable Within 30 Days...

Get Started Now

Don't like ads? Remove them while supporting the forum. Subscribe.

New Topics

Fastlane Insiders

View the forum AD FREE.
Private, unindexed content
Detailed process/execution threads
Ideas needing execution, more!

Join Fastlane Insiders.

Top Bottom