• Announcements

    • khawk

      Download the Game Design and Indie Game Marketing Freebook   07/19/17

      GameDev.net and CRC Press have teamed up to bring a free ebook of content curated from top titles published by CRC Press. The freebook, Practices of Game Design & Indie Game Marketing, includes chapters from The Art of Game Design: A Book of Lenses, A Practical Guide to Indie Game Marketing, and An Architectural Approach to Level Design. The GameDev.net FreeBook is relevant to game designers, developers, and those interested in learning more about the challenges in game development. We know game development can be a tough discipline and business, so we picked several chapters from CRC Press titles that we thought would be of interest to you, the GameDev.net audience, in your journey to design, develop, and market your next game. The free ebook is available through CRC Press by clicking here. The Curated Books The Art of Game Design: A Book of Lenses, Second Edition, by Jesse Schell Presents 100+ sets of questions, or different lenses, for viewing a game’s design, encompassing diverse fields such as psychology, architecture, music, film, software engineering, theme park design, mathematics, anthropology, and more. Written by one of the world's top game designers, this book describes the deepest and most fundamental principles of game design, demonstrating how tactics used in board, card, and athletic games also work in video games. It provides practical instruction on creating world-class games that will be played again and again. View it here. A Practical Guide to Indie Game Marketing, by Joel Dreskin Marketing is an essential but too frequently overlooked or minimized component of the release plan for indie games. A Practical Guide to Indie Game Marketing provides you with the tools needed to build visibility and sell your indie games. With special focus on those developers with small budgets and limited staff and resources, this book is packed with tangible recommendations and techniques that you can put to use immediately. As a seasoned professional of the indie game arena, author Joel Dreskin gives you insight into practical, real-world experiences of marketing numerous successful games and also provides stories of the failures. View it here. An Architectural Approach to Level Design This is one of the first books to integrate architectural and spatial design theory with the field of level design. The book presents architectural techniques and theories for level designers to use in their own work. It connects architecture and level design in different ways that address the practical elements of how designers construct space and the experiential elements of how and why humans interact with this space. Throughout the text, readers learn skills for spatial layout, evoking emotion through gamespaces, and creating better levels through architectural theory. View it here. Learn more and download the ebook by clicking here. Did you know? GameDev.net and CRC Press also recently teamed up to bring GDNet+ Members up to a 20% discount on all CRC Press books. Learn more about this and other benefits here.
Sign in to follow this  
Followers 0
3Ddreamer

Language Interoperability Preferences of the Professionals

47 posts in this topic

Hi, everyone and good day to you  smile.png

 

 

I have a couple questions for the pro game programmers out there.  We know that the programmer should "use the best tool for the job".  Set that aside here and talk about what you like. 

 

 

What is your [I]personal[/I] preference if you could choose a compiled language and a scripting language, along the lines of the following?:

 

Compiled Java  &  a scripting language

Compiled C++  &  a scripting language

Compiled C#  &  a scripting language

 

Other compiled language & scripting language

 

 

Alternatively, if your client specified one of the above languages compiled but let you choose your scripting language, what scripting language would you choose for Java, C++, or C#?

 

 

 

 

0

Share this post


Link to post
Share on other sites

All other issues aside and just my personal preference being considered, I'd flip the equation. I'd use a scripting language and performance critical bits written in a compiled language, probably C.

0

Share this post


Link to post
Share on other sites
Do you prefer a hammer or a saw?

 

Apoch, I am asking [I]you[/I] what your preference is - what you like - not a "this tool is better for that" kind of discussion. wink.png

 

What two said categories of languages would you prefer to use together (or you can take the "other" options)?  smile.png

0

Share this post


Link to post
Share on other sites
All other issues aside and just my personal preference being considered, I'd flip the equation. I'd use a scripting language and performance critical bits written in a compiled language, probably C.

 

 

Okay, then what is the scripting language that you like best with C? happy.png

0

Share this post


Link to post
Share on other sites
Apoch, I am asking you what your preference is - what you like - not a "this tool is better for that" kind of discussion. wink.png
 
What two said categories of languages would you prefer to use together (or you can take the "other" options)?  smile.png


Your question makes zero sense.

I don't just go around preferring arbitrary shit in a vacuum. You offer no context.
0

Share this post


Link to post
Share on other sites

Just tell me what two languages you like - prefer - to use together - go on... it won't hurt you.laugh.png

0

Share this post


Link to post
Share on other sites

I think he's just asking your favorite languages whether it makes sense or not. What language do you enjoy working with the most? I'm not so pragmatic that I can't have a favorite language, even though my subjective opinions have little bearing on what languages I'll choose to use for task.

 

I'd use python and C, although the idea of IronPython + C# is seductive. I'll have to get around to trying this sometime.

0

Share this post


Link to post
Share on other sites

Yeah, smr, you got the spirit of it. biggrin.png

 

 

Apoch, this is a forum lounge, not a pressure project put on you by a client!  rolleyes.gif

0

Share this post


Link to post
Share on other sites
Why are you so insistent that I have to have some kind of favoritism or preference? Why is it a problem for you that I don't hold unjustifiable opinions about arbitrary things?

Not trolling - serious question.
0

Share this post


Link to post
Share on other sites

And sometimes there isn't a "most appropriate" language for the job, and in those situations your personal preferences will probably weigh in on your decision.

 

A client asks you to write some software on the .NET platform, but doesn't care whether you use VB.NET or C#. The two languages are essentially equivalent, so which would you choose? I'd choose C# because VB.NET syntax annoys the shit out of me.

0

Share this post


Link to post
Share on other sites

[quote name='ApochPiQ' timestamp='1358455119' post='5022638']
Why are you so insistent that I have to have some kind of favoritism or preference? Why is it a problem for you that I don't hold unjustifiable opinions about arbitrary things?
[/quote]

 

Wow!  Why didn't you just simply say "no preference" or not reply at all?

0

Share this post


Link to post
Share on other sites

[quote name='smr' timestamp='1358455195' post='5022639']
I'd choose C# because VB.NET syntax annoys the shit out of me.
[/quote]

 

I've read that somewhere else.  Maybe you wrote about it in another forum?  Isn't VB.NET usage shrinking?  There might be something behind your hate of it.

0

Share this post


Link to post
Share on other sites

[quote name='smr' timestamp='1358455195' post='5022639']
And sometimes there isn't a "most appropriate" language for the job[/quote]

There is always a 'most appropriate' language for the job.

 

It just happens that there are some people who haven't learned Prolog yet.

0

Share this post


Link to post
Share on other sites

Isn't it possible that programmer and client circumstances could cause a situation of not having enough time to make a thorough comparison of various language strengths and weaknesses in client needs? 

 

swiftcoder, what two languages do you most enjoy using together?

Edited by 3Ddreamer
0

Share this post


Link to post
Share on other sites
Compiled Java  &  a scripting language

Does such thing exists? There is a GNU Java compiler, but it has been abandoned. And there is another native compiler but it isn't free and it only supports JRE6.

0

Share this post


Link to post
Share on other sites

They are just examples up there in the first post.  smile.png  

 

What two languages to you like to use together?

Edited by 3Ddreamer
0

Share this post


Link to post
Share on other sites

[quote name='3Ddreamer' timestamp='1358457466' post='5022649']
What two languages to you like to use together?[/quote]

I don't believe you should ever set out with the express aim of using multiple programming languages. That way leads to giant, bolted-toghether monstrosities like the Java and Objective-C ecosystems.

 

If I had my way, I would write absolutely everything in Python. Why? Because it is friendly, concise, and fun to program in.

 

Unfortunately, there are still various performance issues, especially if you want to run on more limited platforms, like iOS or Android. But never fear! I have full confidence that our Google overlords will eventually solve this small problem, by making PyPy the fastest JIT on the block...

0

Share this post


Link to post
Share on other sites
I've done a fair bit of python stringing together more python and C.

I've worked on one 'really interesting' AI project that involved a C program envoking python scripts, several of which were used to tie together C or C++ code that in turn made calls to embedded python libraries, which at times continued the cycle...

I drifted away from that project, but last I heard they gave a new guy who joined the team the task of writing software to better visualize the code base.
0

Share this post


Link to post
Share on other sites

Python will probably be my second language to learn after this C# right now. I am considering C for my third language way down the road. For now I just want to get good at C#.

 

I have OS cross-platform on my mind every day, naturally I would ask how one would make a 2D game in C with Python be cross-platform. Would OpenGL be enough with C and Python to make for Windows, Mac, Android, and iOS, or would the developer need something else, too?

 

 

If I had my way, I would write absolutely everything in Python. Why? Because it is friendly, concise, and fun to program in.

Unfortunately, there are still various performance issues, especially if you want to run on more limited platforms, like iOS or Android.

 

 

Would Lua be any better for cross-platform?

 

I wonder also if Lua wouldn't work well with any of the other more common languages.  Does anybody like to use Lua with anything else?

0

Share this post


Link to post
Share on other sites
Why are you so insistent that I have to have some kind of favoritism or preference? Why is it a problem for you that I don't hold unjustifiable opinions about arbitrary things?

Not trolling - serious question.

You are trolling and you know it. Bad moderator! /trout slap

0

Share this post


Link to post
Share on other sites

Most of my situations involve C# being the primary language, C++ for calculations or intense crap (and in the future driver related work) and F# for maths

 

The project decides the language, but im happy using all three, most stuff is done in C# though

0

Share this post


Link to post
Share on other sites

Why are you so insistent that I have to have some kind of favoritism or preference? Why is it a problem for you that I don't hold unjustifiable opinions about arbitrary things?

Not trolling - serious question.

You are trolling and you know it. Bad moderator! /trout slap
 



You don't have to believe me.

But I genuinely want to understand why the OP has this expectation.
0

Share this post


Link to post
Share on other sites

[quote name='3Ddreamer' timestamp='1358526756' post='5022926']
Would Lua be any better for cross-platform?
I wonder also if Lua wouldn't work well with any of the other more common languages.  Does anybody like to use Lua with anything else?
[/quote]Lua is a C API, which means you can use it with anything that you can use C with (which is about everything).

 

Lua has good performance out of the box, but the LuaJIT version has great performance. Unfortunately, most closed platforms don't allow JIT'ed code on them... You can still use LuaJIT as it gives better performance than plain Lua (even when not JITing!) but you have to disable it's JIT feature that gives great performance.

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0