Jump to content

3D Project. What language to use?

- - - - -

  • Please log in to reply
2 replies to this topic

#1
totonex

totonex

    Learning Programmer

  • Members
  • PipPipPip
  • 82 posts
Hello everyone,

I (and all my college mates) are about to undertake a project which will imply creating an application which will feature 3D...stuff. Like, cubes, pyramids and all that, moving them, rotating them and all that squeaky stuff.

The teacher told us something great. First, that she'll give us all the math we need for the project. Second, we can use whatever language we want, as long as we code the thing with primitives (like lineTo(), setPixel(), getPixel() ).

I am unsure of the language to use. I want to have fun, and i know it will be fun. I have three options until now: C/C++ (borland version, using borland's BGI and their 1990 IDE), Allegro Lisp (an implementation of Common Lisp), and the last of which i have thought is Python.

Now i will make some further considerations (please note the occasional humorous tone):
I know none of the languages in-depth.

C would be cool because, well, working with structs, and all that minimalistic C feels...well...cool.
(although i do not know much ANSI C or so). C code i've seen in other program's sources looks so clean and beautiful.

Further consideratons: While the mathematical complexity of the project is around average, the informatical, procedural complexity is low. The relevance of this statement will be obvious in the following languages (except python):

C++. Templates. OOP. Good stuff - Though, since the algorithmical complexity is low, what need is there for metaprogramming facilities (templates)? OOP still remains a strong point. I do not know in-depth C++, like its inner workings.

Python. This is the language i know least, and i would have to spend some time learning the syntax and language stuff thoroughly (i have a basic idea, and i can write some primitive programs, but that's it.)
Python code looks pretty, clean, stylish.

Common Lisp. The hallmark of programming. The red pill. Let, defun, defmacro, beautiful and powerful stuff. Along with Allegro's graphical library/API. But again, since the programmatical complexity is so low, why would i need Lisp? I do not need macros to describe this level of math. So i guess it would reduce itself to simple functional stuff, albeit beautiful stuff.

Ok, this has been it. I could also try C#, Java (am familiar with them, especially with C#, worked quite a bit in it), but i simply don't want them. Or i could learn something new. (Haskell?!)
Keep in mind : i am allowed to use only primitives for drawing.

Which one of these would you recommend? Please post your opinion, or anything relevant to the subject. Or irrelevant. You could post about what you ate this morning, but sticking to the subject would be cool also.

#2
abzero

abzero

    Programming Professional

  • Members
  • PipPipPipPipPip
  • 217 posts
Use anything with good access to a graphical screen. So C, C++, Java. Look at the graphic API's and decide which one has the low level access you require.

#3
totonex

totonex

    Learning Programmer

  • Members
  • PipPipPip
  • 82 posts
C,C++ have BGI (Borland Graphics Interface)
Python has TKinter.
Allegro Lisp has good graphical interface.
Java and C# are no-brainer languages at this levels, i will not use them.

You advice is good, but i'm not looking to technical details, but rather, what is cooler , funner?
What would you choose? I need subjective, personal answers. :D




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users