PDA

View Full Version : what programing language do you recomend



JUSTINBEAIRD
August 20th, 2009, 09:19 AM
hello i would like to learn a computer programing language
i am quite good with php css html and briefly studied javascript, ajax and "oo php"
i am not quite sure which one i should start with
one of the c programing languages is where i would like to start but do not know much about he differences
c# c c++

Mirge
August 20th, 2009, 09:33 AM
http://ubuntuforums.org/showthread.php?t=1006666

lisati
August 20th, 2009, 09:43 AM
http://ubuntuforums.org/showthread.php?t=1006662

JUSTINBEAIRD
August 20th, 2009, 10:15 AM
thank you those links are great help but maybe I should explain what I want to do and know

I would like to know how mp3's and other audio video files are decoded and know how to do it

I would like to use python with them for linux which I read c was better with python

I would like to to build portable aps for windows and not sure what gui to use for this or what libraries are available for it

someday in the far future I would like to build a very simple gui on an old laptop to be a mp3 player or whatever I want for the fun of it


sorry if this is the same old newbe post but this is madning trying to figure out where to start

Copernicus1234
August 20th, 2009, 10:18 AM
If you want to write a codec, you will probably need to use C I think, at least if you want to write all the low detail stuff yourself and dont use any other peoples libraries for it. But its not really
something you do on your first day of C. Its probably quite difficult.

JUSTINBEAIRD
August 20th, 2009, 10:28 AM
If you want to write a codec, you will probably need to use C I think, at least if you want to write all the low detail stuff yourself and dont use any other peoples libraries for it. But its not really
something you do on your first day of C. Its probably quite difficult.

I know it's a long way off :) but am trying to look ahead

Copernicus1234
August 20th, 2009, 10:39 AM
Well, I would learn the basics of C and then start looking into a open source formats such as the ogg formats, learn how they store data and then write a program to play the file. After doing that, you can modify the format and the codec to whatever you want so it becomes your codec. :)

mess110
August 20th, 2009, 11:24 AM
depends on what you want. personally I like java.

kpkeerthi
August 20th, 2009, 12:23 PM
Learn Java (http://www.amazon.com/Head-First-Java-Kathy-Sierra/dp/0596009208/ref=sr_1_7?ie=UTF8&s=books&qid=1250767203&sr=1-7)

CptPicard
August 20th, 2009, 12:31 PM
Lossy audio format codecs for formats like mp3 are rather mathematically involved... they have nothing to do with C per se, but the actual problem is probably too hard for a beginner to handle.

Drone022
August 20th, 2009, 12:37 PM
Lossy audio format codecs for formats like mp3 are rather mathematically involved...

Pretty sure you would have to read up on forward/inverse discrete cosine transforms (http://en.wikipedia.org/wiki/Discrete_cosine_transform). I know they at least apply to mpeg and such.

pepperphd
August 20th, 2009, 02:13 PM
Pretty sure you would have to read up on forward/inverse discrete cosine transforms (http://en.wikipedia.org/wiki/Discrete_cosine_transform). I know they at least apply to mpeg and such.

http://upload.wikimedia.org/math/9/9/d/99db2c8c49465a6e2b28163abcab5be3.png

No thanks man.

nvteighen
August 20th, 2009, 02:35 PM
You're not even a beginner... Why restrict yourself to that specific goal? Ok, it's good to have goals to fulfill in this life, but in this specific stage, it should be IMO, just to learn how to program in general... It sounds more reasonable to me, at least. You never know, you always might find in your journey something new that interests you... AI, system programming, network, web development, Computer Science, etc.

Keep your mind open to new possibilities, always ;)

JUSTINBEAIRD
August 21st, 2009, 03:45 AM
You're not even a beginner... Why restrict yourself to that specific goal? Ok, it's good to have goals to fulfill in this life, but in this specific stage, it should be IMO, just to learn how to program in general... It sounds more reasonable to me, at least. You never know, you always might find in your journey something new that interests you... AI, system programming, network, web development, Computer Science, etc.

Keep your mind open to new possibilities, always ;)

thank you for all your reply's im going with c
these weren't exactly short term goals but some of the things I want to understand some day and so much more
I can dream :)

also I am quite fond of math i may not be able to spell or use correct grammer but i do love to study math :)

Can+~
August 21st, 2009, 04:25 AM
I'll summarize the whole following comments: Go with python. Easy, powerful, teaches you good manners (indentation), provides a solid base for later moving to lower-level languages or other paradigms.

As for your idea, I normally have some papers around with ideas to do when I have some free time and/or experience. Yours is one of those cases, write it for later development, when you're a mature programmer.

haemulon
August 21st, 2009, 04:46 AM
also I am quite fond of math i may not be able to spell or use correct grammer but i do love to study math :)


As you know by now C and C++ are not recommended for the beginner programmer.

The good programmers like math though, so that's a good start.

soltanis
August 21st, 2009, 04:51 AM
Its probably quite difficult.

Understatement of the hour. Codecs are much more theoretical than they are programming implementation anyway.

gjosef
August 21st, 2009, 12:08 PM
depends on what you want. Personally i like java.

+1

bender1234
August 24th, 2009, 12:11 AM
hello i would like to learn a computer programing language
i am quite good with php css html and briefly studied javascript, ajax and "oo php"
i am not quite sure which one i should start with
one of the c programing languages is where i would like to start but do not know much about he differences
c# c c++

java/c# managed code ok for typical non intensive gui applications, databases etcetc. Nicer framework, and you don't have to worry about pointers and certain memory errors etc. Uses alot of resources, again particulary ram, and you don't really have control over it, the garbagecollecter lives it's own life.

c++/c good for intensive stuff where you use a lot of resources. Typically used for anything with graphics(games, video, rendring etc). In comparison to managed code, when you tell your program to free resources it does it. Needed for more low lvl stuff. Speed gimme what I need! :)

c still used for the most low lvl os stuff, like kernel and driver programming etc.

Reiger
August 24th, 2009, 12:16 AM
Quite mathematically involved. Asymptotics... are hard.

Also: with a proper strategy w.r.t. buffering just about any language implementation (be it native code, or interpreted python) should be able to give you satisfactory (i.e.: smooth, no gaps) playback. Decoding is usually the non-intensive work of media handling anyways (because many formats must be capable of being played in pseudo real time even on mediocre systems).