Game Maker's Garage Forum

Game Maker's Garage => Trash Talk => Topic started by: Gan on January 21, 2015, 04:04:50 PM

Title: I have a new favorite programming language!
Post by: Gan on January 21, 2015, 04:04:50 PM
IT IS CALLED D PROGRAMMING LANGUAGE!

It's like C and C++ but new-age and easier and just as fast. AND CROSS PLATFORM.

The editor is free AND AMAZING. Super easy to setup. The language is simpler than Java and holy crap I just like it so much. I just met it and I am ready to dive in. Plus there are a lot of open libraries you can use to MAKE STUFF.

So I'm going to find a graphics library, find a networking library AND MAKE SOMETHING SUPER COOL IN THIS EPIC LANGUAGE HOLY CRAP I AM SO EXCITED AHHHHH


Edit: Post if you want the instructions for installing D and the editor. It takes 5 minutes to set up.
Title: Re: I have a new favorite programming language!
Post by: Gan on January 22, 2015, 01:27:38 PM
I got SDL working. Have a window in my project. Got a rectangle to draw to the window. It's all very simple. And now I'm stuck.

Not sure what direction to take next. Not sure what to make.


D is a good language. But right now I don't need it for anything. I think I'll work on the SpaceCraft ship editor.
Title: Re: I have a new favorite programming language!
Post by: EqwanoX on January 26, 2015, 06:58:02 PM
'when in dout reference final fantasy', try experimenting making a turn based rpg, this new D language sounds really interesting, i must google, see what its capable of.
Title: Re: I have a new favorite programming language!
Post by: Gan on January 26, 2015, 07:41:50 PM
I might give a Final Fantasy-like project a try. Right now I'm testing my SpaceGame in D. See how it performs.
Title: Re: I have a new favorite programming language!
Post by: Gan on January 27, 2015, 12:53:41 AM
D is slightly complicated to set up. Because it is very versatile.

So if you're interested in trying D, it'd be best if I gave you an example project source to base your project off of.

Got the SpaceBackground running in D! It works marvelously. Uses only 10% CPU.
Title: Re: I have a new favorite programming language!
Post by: Gan on January 27, 2015, 05:18:47 PM
Now it uses only 5% CPU. Unfortunately I'm having a memory issue and if you leave it running for 9 hours, it goes up to 500+mb. I've asked the D community about it and gave them my code to review so they'll probably figure out what I did wrong.

Now to port the rest of SpaceCraft!