Quantcast
Channel: OSnews
Viewing all articles
Browse latest Browse all 484

Moving a game project from C to the Odin language

$
0
0

Some months ago, I got really fed up with C.

Like, I don’t hate C. Hating programming languages is silly. But it was way too much effort to do simple things like lists/hashmaps and other simple data structures and such.

I decided to try this language called Odin, which is one of these “Better C” languages. And I ended up liking it so much that I moved my game Artificial Rage from C to Odin. Since Odin has support for Raylib too (like everything really), it was very easy to move things around.

Here’s how it all went.. Well, what I remember the very least.

↫ Akseli Lahtinen

You programmers might’ve thought you escaped the wrath of Monday on OSNews, but after putting the IT administrators to work in my previous post, it’s now time for you to get to work. If you have a C codebase and want to move it to something else, in this case Odin, Lahtinen’s article will send you on your way. As someone who barely knows how to write HTML, it’s difficult for me to say anything meaningful about the technical details, but I feel like there’s a lot of useful, first-hand info here.


Viewing all articles
Browse latest Browse all 484

Trending Articles