Algorithms!? In Assembly, Delphi and Mathematics!!!

Status
Not open for further replies.

tiredtraveller

Distinguished
Jul 8, 2007
2
0
18,510
Hi,
1. I would like to know that are there any differences between the algorithms we study in mathematics and the ones used in Assembly and Delphi's Assembler Programming Languages?

2. If there weren't any differences between them, would you suggest a really smart guy (And also non-programmer) to start programming from these points(I mean Assembly or Delphi's Algorithm).?

3. If you say not to begin in that level then which program do you suggest me to begin programming with?

4. Also any useful links and/or tips would be highly appreciated.

Real Thanks,
M.Amin
 

softtouch

Distinguished
Jun 27, 2007
1
0
18,510
I would suggest, just start with Delphi (Object Pascal).
Assembler language is not needed anymore today. It was different 25 years ago, we had to write games in assembler, because the processor was just too slow, but today, it does not matter. Delphi is quiet easy to learn.
 

nirvdrum

Distinguished
Jul 23, 2007
2
0
18,510
In the purest sense, a programming language should be able to represent any algorithm you can in mathematics, and they are one in the same. In reality, you have to deal with limitations in modern computing architecture. As such, you end up with algorithms that are not easily expressable. You also end up with classes of algorithms that really only make sense when the computing environment is taken into consideration.

Some of these problems can be studied academically (you're likely familiar with the P != NP "problem") and others you'll pick up along the way through experience.

My recommendation is to use a "purer" language if you're looking to closely model mathematical entities. Lisp or ML are probably good candidates. If you want something that's more popular, and thus more widely supported, Python is a good pick.

You certainly don't want to be doing assembly. It has its place for sure (I have to use it quite frequently), but this is not it. I've not used Delphi and have heard good things about it, but it's likely not the most suitable language for what you want to achieve either.
 
Status
Not open for further replies.