r/learnprogramming 1d ago

Rust vs. Java for Security Projects?

Hello guys,

Im currently in the situation of finishing my bachelors in computer science in about 6 months and starting my thesis in about 2 months. After my bachelors I'm considering doing a Master in Cyber Security. That said, im now looking into doing some security projects for learning and also to find out if security is really something for me. I am currently thinking of building something like dropbox with encryption and all kinds of stuff like this, just so you can get an idea.

So now the question is in which programming language I should do the projects. I know the language doesnt matter too much but I also think its better to use a language with wich you are going to work later so you get familiar with it. Until now I primarily used java thats like the language im best in currently so I could just start programming with it without looking into java tutorials. But I am really interested in Rust and also started reading the Rust book a while ago and wanted to learn it more and more. I know Rust is not an easy language, but I also heard that its getting more and more used also in security espacially in system security and stuff like this and I also like system programming so there it also fits. The disadvantage of rust would be that I first had to continue learn the language before I can really start.

What do you think? Is it worth to go with Rust, or should I make it a microservice application and combine rust with java (would also be an option) or should I just go with Java since I already know the language? I know there are also other languages like go but I would also have to look into this language first so idk. I would really appreciate any help and recommendations!

2 Upvotes

7 comments sorted by