Gregor Remec, LASP, Software Development, Week Four!

Posted in: Pinhead Intern Blogs, 2019 Interns, Greg Remec
Tags:

This week was super interesting. Early in the week I was programming in Java. Java is super nice for me because in school I took computer science class where we focused only on Java, so I knew what I was doing. The project was to create a card game. I chose blackjack because it is simple and game mechanics weren’t too hard to implement. It took me no time at all to get blackjack working and I finished very early, I had time to do a bunch of extra Java because I finished so quickly.

Next all the interns and I got our C/C++ projects, which ranged from easy to hard depending on experience with the language. Because I have never coded in C or C++ before it was super hard to get into the flow of things. Once I got familiar with the syntax it was easy to ramp into some of the more challenging projects, like an nth Fibonacci number calculator. I am still working on the Fibonacci number calculator because there were some unexpected issues with memory. Because C handles memory without any abstraction, dealing with the individual bytes like no other language that I have seen, things that can keep the program from having memory leaks or other catastrophic issues are not hidden like they are in many modern languages. This makes it very difficult to have super large numbers because C only allocates so many bytes of memory to storing integers and long datatypes. In order to have a giant number you need enough storage, and C requires a custom datatype to hold massive numbers. Long story short and simple, my Fibonacci number calculator made numbers way too big to hold in a standard datatype.

Outside of work I had a great week too, I spent a lot of time with my host family because this I’m moving into my new apartment closer to LASP and wanted to hang out with them before I left. On Saturday we all went to the trampoline park together and had a blast! Super exited to explore my new area and figure out how to get to work from my new house! I had this photo from last week that was too cool not to put in, super exited to do more outdoor climbing soon!

There are no comments published yet.

Leave a Comment

Change this in Theme Options
Change this in Theme Options
X