Skip to main content
GameDev.net gamedev.net
🔒 Locked

Python or C# for Tools

Started by Boder Dec 21, 2005 at 6:51 PM 8 replies 1.3k views
Original Post
Boder
Boder
For writing tools and small programs, would you recommend programming in Python or C#? I have a tiny bit of Python experience and a lot of C/C++ experience, but no C# experience. I would probably go for Python on Linux and C# on Windows. Do you think the same way? Thanks for your opinions
Drew_Benton
Drew_Benton
On Windows, definitly C# because of 'Win.Forms'. Having used the Win32 API for quite some bit as well as C++, catching on to using C# is rather easy compared to learning a new language in my case (python). I've found that C# really is the way to go for RAD on Windows, beating out MFC and custom GUI solutions.

Quote:
I would probably go for Python on Linux and C# on Windows. Do you think the same way?

Yes, but have you taken a look at Mono for Linux instead?
etothex
etothex
If you are even thinking about using C# for cross-platform tools, use something like Gtk# that's portable. Win.forms is lacking in mono right now, the only really usable implementation is the MS one.

I would go with python...but that's just me... Or rather, I would probably go with Java... but that might not be best for you.
Oluseyi
Oluseyi
Iron Python and Windows Forms. Screw Linux.

Leverage the skills that you do have (Python) and take advantage of the most coherent windowing toolkit available to you (Windows Forms). Gtk# is portable, but unless you're familiar with Gtk and Gtk+, you're in for a world of pain.

It'll only be a matter of time until either a workable Windows Forms implementation is available for Mono, XAML takes over on both Windows and Linux, or some other form of deployment parity emerges. Remember, you can deploy the same assembly on any .NET compliant implementation, provided the assemblies you depend on are available.
j stagner
j stagner
Quote:
Original post by Oluseyi
Iron Python and Windows Forms


I haven't used Iron Python because I am not familiar with Python, but I've been looking at Iron Python information a lot lately for work-related reasons, and it looks quite cool.

Thevenin
Thevenin
What kind of tools?
Boder
Boder
Tile Editor, Sprite Editor, and Map Editor.

Small programs for testing new things I learn like A*, Curves, displaying 3D models, collision detection, visual effects..
Oluseyi
Oluseyi
Quote:
Original post by j stagner
I haven't used Iron Python because I am not familiar with Python, but I've been looking at Iron Python information a lot lately for work-related reasons, and it looks quite cool.

0.9.6 was released just under two weeks ago. The plan is to release 1.0 Beta 1 at year's end. Now's a pretty good time to give it a look as features are pretty much stable. Interactively playing with Windows Forms is cool and can help with rapid prototyping as well as trying out new ideas.

You'll need to apply to join the Iron Python gotdotnet workspace for downloads.
Thevenin
Thevenin
Given the fact that you need it to run on Linux aswell, I'd say just use Python. C# has a vast array of everything you could possibly need (With some exceptions), and Managed DirectX! But its currently not portable.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.