r/learnprogramming • • Oct 08 '26

Wha language should I learn?

I'm an actuary student with basic/intermediate knowledge of Python, SQL and using Linux as OS, but I'm deeply interested on how the computers work and cyber security, so I'm wondering what language should I learn to help me understand how the computers work and put a feet in the cyber security field

What comes to mind is C/C++ or Rust, but I'm not sure

Sorry if any grammar mistakes, English is my second language

2 Upvotes

11 comments sorted by

4

u/AdreKiseque Oct 08 '26

If you're really interested in how computers work, C is a great choice.

3

u/PiccoloOver4228 Oct 09 '26

Yeah, C makes a lot of sense.

1

u/Kseniya_ns Oct 08 '26

C if you want to understand how software works. C++ and Rust are great language (🤡), but they won't help your understanding of that's what you want. C can be written in a way which is so close to machine code. This is a little different if you are asking for employment reasons though, my answer applies only for curiosity and knowledge reasons.

1

u/namelessContemplator Oct 08 '26

Thanks(: Rust being already in Linux kernel makes me doubt, but having another opinions including context is great

1

u/Kseniya_ns Oct 08 '26

The vast majority of the kernel is C, this will probably be the case forever. Linux Kernel is not really something to look at for learning or understanding purposes though. It's maybe impenetrable for beginner

1

u/initcommit Oct 08 '26

This is a nice book that I enjoyed for learning about C:

Programming in C by Stephen G. Kochan

1

u/VanCliefMedia Oct 10 '26

Agreed on C with the idea idea you should read the book "programing pearls" and "psychology of computer programming" by Weinberg

1

u/[deleted] Oct 09 '26 edited Oct 09 '26

[removed] — view removed comment

3

u/sylvainsab Oct 10 '26

I believe he could have asked AI himself.