I am an undergraduate student studying computer engineering. I love programming, especially competitive programming, and I'm very interested in Artificial General Intelligence because I really like the idea of building something that is able to think. I'm also quite interested in physics, mainly cosmology. But before I get to this I want to provide some background because my question is a pretty vague one.
What I really like doing is thinking. For me, there is nothing quite like solving problems using my creative reasoning (which is not to say that I'm a genius or something, I just like thinking). So that's the main reason I love programming.
But, like I said, I have an interest for cosmology. I am fascinated with the deepest mysteries of the Universe. So I wonder if maybe a career in cosmology would be a more interesting.
On one hand, since I love thinking about basically anything, what can be better than thinking about thinking itself (which is where AGI comes in)? Well, maybe thinking about what is this Universe, how does it work and how did the Universe come from nothing.
So, I'm finally getting to my question. What is physics about? Because sometimes I feel like we don't know what the laws of nature really are. Sure, we know what their results are and we can measure them and find mathematical formulas but we don't really know how do they work. How come that the laws of nature are "programmed" into this Universe and every particle obeys them? Does physics study only their outcome, not how they really work, fundamentally? Or maybe we don't yet know enough or maybe we will never know enough to understand the fundamental nature of reality.
Finally, maybe I'm only interested in these questions from a philosophical point of view. After all, physics is our best bet to solve our greatest mysteries and if it's not enough then nothing is. No matter what I may end up doing I will always be fascinated with these questions, what I want to know is if as a career or as a hobby.