QJ.NET | Videos | Forums | iPhone | MMORPG | Nintendo DS | Wii | PlayStation 3 | PSP | Xbox 360 | PC | Downloads | Contact Us
Forums | Gaming News | Videos | Downloads | Today's Posts | Mark Forums Read | Chat | FAQ | Members List | Contact

QJ.net Game Discussion - PSP, Xbox, Wii, PS3, PSP Homebrew, and PSP Guides

Go Back   QJ.net Game Discussion - PSP, Xbox, Wii, PS3, PSP Homebrew, and PSP Guides > Developers Corner > PSP Development, Hacks, and Homebrew > PSP Development Forum
The above video goes away if you are a member and logged in, so log in now!

What programming language should I use?

This is a discussion on What programming language should I use? within the PSP Development Forum forums, part of the PSP Development, Hacks, and Homebrew category; Lua or C?? I'm a beginner, with my heart set on making a killer psp game app. Which one is ...

Reply
 
LinkBack Thread Tools
Old 10-04-2006, 05:21 PM   #1
 
Join Date: Oct 2006
Posts: 3
Trader Feedback: 0
Default What programming language should I use?

Lua or C??
I'm a beginner, with my heart set on making a killer psp game app.
Which one is easier, for the time being?
hladun is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-04-2006, 05:24 PM   #2
 
idk2's Avatar
 
Join Date: Jan 2006
Location: Washington DC
Posts: 1,676
Trader Feedback: 0
Default

I would suggest learning to program for the PC first then trying a psp app.
idk2 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-04-2006, 05:25 PM   #3

sceKernelExitGame();
 
Bronx's Avatar
 
Join Date: Jan 2006
Location: New York
Posts: 3,125
Trader Feedback: 0
Default

If you want to make a 'killer' app, then c... But Lua is easier.
Bronx is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-04-2006, 05:26 PM   #4

OMFG
 
Slasher's Avatar
 
Join Date: Jul 2005
Location: Toronto
Posts: 2,816
Trader Feedback: 0
Default

This question gets asked way too often.
Slasher is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-04-2006, 05:32 PM   #5
Dex
 
Join Date: Jan 2006
Location: Oregon
Posts: 27
Trader Feedback: 0
Default

How about Python?
Dex is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-04-2006, 05:39 PM   #6

...in a dream...
 
SG57's Avatar
 
Join Date: Jul 2005
Posts: 4,957
Trader Feedback: 0
Default

This question is more of a 'What programming language can i use' if you have to ask this question to a public forum.

Personally, I encourage any form of C as it will help you later in a programming career, where as scripting in LUA will do very little of for you later in a programming career.
__________________
SG57 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-04-2006, 05:46 PM   #7

Developer
 
TheEmulatorGuy's Avatar
 
Join Date: Feb 2006
Location: Tauranga, New Zealand
Posts: 355
Trader Feedback: 0
Default

Personally, I'd advise not listening to SG57. What he doesn't understand is that Lua will help you in your career (which I might add the topic creator didn't even ask for). It'll help you get that career started so you can move onto bigger things when you're ready.

Jumping straight to C without any programming knowledge is like taking heroine when you're 5. You'll want to work your way up to C. That's how I've done it.

If you want to jump straight in to PSP coding, definitely start with Lua. However, if you'd like some other programming knowledge, I'd suggest learning PHP. It's quite difficult compared to some other languages, but if you're dedicated, it's a good starter.
__________________
TheEmulatorGuy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-04-2006, 05:58 PM   #8

...in a dream...
 
SG57's Avatar
 
Join Date: Jul 2005
Posts: 4,957
Trader Feedback: 0
Default

Yes, cause their are many more LUA tutorials than C

Plus, these threads are pointless as if you have to ask what language to use, than your not ready to program as youll be basing everything from them on, off someone else's opinion...
__________________
SG57 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-04-2006, 06:00 PM   #9
 
F.T.P.'s Avatar
 
Join Date: Feb 2006
Location: Arkhangelsk, Russia
Posts: 21
Trader Feedback: 0
Default

Actualy, although I generaly don't like lua, I have seen some pretty cool games/apps made for the PSP that where programed in lua. Lua is also definitly alot easier than C or C++.

As for just carrier based programing, your gunna be using c/c++ alot more than your ever gunna use lua, infact, I've never even been hired for a lua job. If you want an easy languge to help you learn the ins and outs of programing and is actualy used (kinda) learn VB. IMO, its easier than LUA and used a hell of alot more. However, there is nothing to compile VB script to work on a PSP.

I agree with SG57, if you dont know what languge to start with I'd say your already way ahead of yourself.
F.T.P. is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-04-2006, 06:03 PM   #10

<font color=black>Develo per
 
SuperBatXS's Avatar
 
Join Date: May 2006
Location: Behind you.
Posts: 1,813
Trader Feedback: 0
Default

i agree with TheEmulatorGuy
SuperBatXS is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-04-2006, 07:47 PM   #11

 
Zettablade's Avatar
 
Join Date: May 2006
Location: Programming or Farming Mudkips
Posts: 657
Trader Feedback: 0
Default

SG57 is right on this one (dammit)
But IMHO noobs like you don't even have the right to even think of trying to program. Ever heard of Google?
__________________
Current Project: Citrus
Zettablade is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-04-2006, 07:56 PM   #12

...in a dream...
 
SG57's Avatar
 
Join Date: Jul 2005
Posts: 4,957
Trader Feedback: 0
Default

Zetta - Yay? 8)

It may be best juts to sampel each language, see how you like it. But for warning you, if you hate/suck at math... youll have a hard time
__________________
SG57 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-04-2006, 08:25 PM   #13

Developer
 
Join Date: Mar 2006
Posts: 1,026
Trader Feedback: 0
Default

Use whichever you feel comfortable with.

The thing with programming is that you can take the concepts learnt and apply it to any language.

Lua is a good start for homebrew.

I've seen some great homebrew done in Lua and some poor homebrew written in C.

In the end it's the developer - not the language.
__________________

Check out my homebrew & C tutorials at http://insomniac.0x89.org/
Coder formerly known as Insomniac197

Quote:
tshirtz: what is irshell ??
Atarian_: it's where people who work for the IRS go when they die
Insert_Witty_Name is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-04-2006, 08:47 PM   #14

...in a dream...
 
SG57's Avatar
 
Join Date: Jul 2005
Posts: 4,957
Trader Feedback: 0
Default

In the end, it's the machine.... Silly goose...
__________________
SG57 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-04-2006, 09:12 PM   #15
 
Join Date: Oct 2006
Posts: 3
Trader Feedback: 0
Default

Thanks for the help guys.
I think i'll pursue LUA for now, and C once i'm a little bit better.
I'm actully trying to make 'stacker' for psp LOL
If anyone is interested in the coding part of this project, PM me.
I'd do all graphics and other portions.
hladun is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-04-2006, 09:24 PM   #16

Developer
 
TheEmulatorGuy's Avatar
 
Join Date: Feb 2006
Location: Tauranga, New Zealand
Posts: 355
Trader Feedback: 0
Default

Quote:
Originally Posted by Zettablade
SG57 is right on this one (dammit)
>_> seriously?

I thought I was correct to hell's extent. I don't even understand the basis for his argument. Why would you want to start with C?
__________________
TheEmulatorGuy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-04-2006, 09:35 PM   #17

 
Zettablade's Avatar
 
Join Date: May 2006
Location: Programming or Farming Mudkips
Posts: 657
Trader Feedback: 0
Default

Quote:
Originally Posted by TheEmulatorGuy
>_> seriously?

I thought I was correct to hell's extent. I don't even understand the basis for his argument. Why would you want to start with C?
I didn't read that far. I just red the "you need to do more research part" and that was it. lol
But after reading yours, I think Im gonna have to go with you. If he is really serious, he does need to learn some sort of scripting language before trying out c.
__________________
Current Project: Citrus
Zettablade is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-05-2006, 01:38 AM   #18
 
Join Date: Sep 2005
Location: meh
Posts: 2,799
Trader Feedback: 0
Default

My advice, start with ASM, move on to C, then C++, then finally you can pwn others at Lua and BASIC
cyanide is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-05-2006, 04:48 AM   #19

Developer
 
Join Date: Oct 2005
Posts: 408
Trader Feedback: 0
Default

Quote:
Originally Posted by hladun
Lua or C??
I'm a beginner, with my heart set on making a killer psp game app.
Which one is easier, for the time being?
Ignore anyone telling you not to use LUA. They're only reading the first line of your post and responding with a canned answer. Most of the C zealots started with LUA and don't realize it made learning C easier.

I started with BASIC and now I'm a professional software engineer. Although I've never written anything in LUA it is easily a more accessable language for a beginning programmer. Go here and see if that doesn't make sense to you. There are also excellent C tutorials for the PSP, but they don't teach you the C language, which is clearly evident by the number of people who post here after making a tiny modification to the tutorial programs and not understanding why it doesn't work.

The speed and power of C is completely wasted when you don't have a firm grasp of good coding technique or the strengths/weaknesses of the PSP environment.
Samstag is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-05-2006, 05:22 AM   #20
 
pspcoder05's Avatar
 
Join Date: Sep 2006
Posts: 167
Trader Feedback: 0
Default

If you want actual PSP Native programming ,
then C. I personally perfer C as its alot more powerful.
pspcoder05 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-05-2006, 05:58 AM   #21

Developer
 
yaustar's Avatar
 
Join Date: Jun 2006
Location: UK
Posts: 2,317
Trader Feedback: 0
Default

Forget developing on the PSP while you are learning a language/learning to program. Learn on the easiest platform: the PC.

I would suggest looking at Python (with PyGame [SDL bindings] ) or C# (with XNA [Microsoft's 'free' Game Engine] ). Both good 'beginner' languages and are well documented.

C/C++ can be very daunting to some beginners. Others will pick it up fine.
yaustar is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-05-2006, 12:36 PM   #22

AKA Homer
 
Moonchild's Avatar
 
Join Date: Jan 2006
Location: Sweden
Posts: 1,779
Trader Feedback: 0
Default

Lua is a scripting language, C/C++ are programming languages
Anyway, for a starter I would suggest lua (and then maybe learn C or C++).
__________________


Click Here if you want a Winamp Currently Playing Userbar like the one above.
Moonchild is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
language , programming

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -8. The time now is 01:23 PM.



Use of this Web site constitutes acceptance of the TERMS & CONDITIONS and PRIVACY POLICY
Copyright © 2009, QJ.NET. All Rights Reserved.
Contact Us