You are not logged in.
Pages: 1
"The physicists defer only to mathematicians, and the mathematicians defer only to God ..." - Leon M. Lederman
Offline
Many coders use Java is used to produce JavaScript. How do they count this?
"In the real world, this would be a problem. But in mathematics, we can just define a place where this problem doesn't exist. So we'll go ahead and do that now..."
Offline
I'm amazed how many new machine-level based commands have been added thru the years on the PC's. I haven't really kept up. I do like assembly code though due to it's amazing speed, but I use it only about once every couple years for something that is pretty small and easy to write, but must be fast because it is calculating so much that it would take days and days in compiled C, but perhaps just 1 day in machine code to run or execute, however, it might take a while to write and debug the program too!
Last edited by John E. Franklin (2008-04-26 10:04:49)
igloo myrtilles fourmis
Offline
Assembly code is tough ... I tried it once and got it to add 2 two user-inputted numbers. I feel quite heroic for having done it.
"The physicists defer only to mathematicians, and the mathematicians defer only to God ..." - Leon M. Lederman
Offline
I've seen this. I think its a pretty good way of knowing what languages you ought to learn as a programmer.
I really wish C# would replace C++ entirely. I like Java for its simplicity, but it has its disadvantages compared to a compiled language.
Actually, I just wish that the world could take a vote on which language we should use, and get rid of all others. Seriously, how much more time could we spend becoming better programmers and computer scientists if we only had to learn one universal programming language?
Whats even funnier is, I've heard people in France actually have to learn english because most programming languages are written in english, and english is essentially the standardized spoken language for programmers everywhere. So how come we can't agree on a programming language?
A logarithm is just a misspelled algorithm.
Offline
I really wish C# would replace C++ entirely.
HELL NO
The Beginning Of All Things To End.
The End Of All Things To Come.
Offline
People in France have to learn English?? .. mon dieu! C'est terrible!
With Flash on nearly every website, why is "actionscript" so low? How would you know if the Flash was mostly timeline or mostly script?
"The physicists defer only to mathematicians, and the mathematicians defer only to God ..." - Leon M. Lederman
Offline
HELL NO
hehehe! Obviously someone likes C++. But why not? Is there anything you can do in C++ that you can't do in C#? or is it just because its your favorite language? (though thats a fair enough reason to me : ) )
Last edited by mikau (2008-04-27 10:28:18)
A logarithm is just a misspelled algorithm.
Offline
Actually, I just wish that the world could take a vote on which language we should use, and get rid of all others. Seriously, how much more time could we spend becoming better programmers and computer scientists if we only had to learn one universal programming language?
Do you really want to be developing large scale projects that communicate between hundreds of computers and databases in the same language that you write to mathematical software in? Do you really want to develop desktop applications in the same language that you script in?
Most languages have a purpose, without many competitors. C++ allows you to write large projects thanks to OO, but efficiently unlike Java. C has greater speed than C++, but lacks OO and hence is rather horrible to design large projects in. Java on the other hand is great for internet and cross platform projects. C# is nice for making desktop applications with a gui (which java lacks), but without speed (that c++ has), but completely useless when it comes to networking and internet (which java is great for). Also remember that C# is Windows OS only. Python and perl are two classic scripting languages, which aren't very good at anything else. php is great for scripting, but one look at it's name (personal home page hypertext processor) will tell you that it's only meant for web pages, where python and perl are not allowed.
"In the real world, this would be a problem. But in mathematics, we can just define a place where this problem doesn't exist. So we'll go ahead and do that now..."
Offline
Do you really want to be developing large scale projects that communicate between hundreds of computers and databases in the same language that you write to mathematical software in? Do you really want to develop desktop applications in the same language that you script in?
YES!
lol. Okay, I see your point. But I was thinking more along the lines of a standardized language for every requirement rather than having 7 languages for everything. Do we really need both C++ and Java? Perl and Python? Php and html?
Surely there would be consequences in making a 'one size fits all' language rather than a different language specially suited for every purpose. It would need to be carefully designed and probably end up enormous. Still I think the benefits, if it could somehow be pulled off, would be huge.
But I'm just talking out of my hat of course. The notion of a universal programming language that works for everything is Utopian at best.
Last edited by mikau (2008-04-27 12:21:42)
A logarithm is just a misspelled algorithm.
Offline
But I was thinking more along the lines of a standardized language for every requirement rather than having 7 languages for everything. Do we really need both C++ and Java? Perl and Python? Php and html?
C++: Efficiency and large scale. Not cross platform, not usable on the internet.
Java: Slow, good for large scale. Cross platform, great for programs that communicate through the internet.
Perl and python you may have a case, from what I've heard they are quite similar, both in structure and use.
Php: Scripting on web pages. Does not defines what elements are on a page.
HTML: Defines what elements are on a page. Does absolutely nothing else.
"In the real world, this would be a problem. But in mathematics, we can just define a place where this problem doesn't exist. So we'll go ahead and do that now..."
Offline
I tend to use php, javascript and actionscript because they are web-oriented. And they are actually *similar* languages ... just different enough to be annoying (like "." for putting strings together in php, but "+" in javascript/actionscript which is quite crazy, as that also adds numbers)
If someone could bring those three languages closer I would be glad.
"The physicists defer only to mathematicians, and the mathematicians defer only to God ..." - Leon M. Lederman
Offline
Wait Ricky, what are you on about? Of course C++ is cross-platform!
and ill assume by not usable on the internet, you mean in the way that java has an internet plugin etc, C++ can be used for server side applications, but Java's plugin is also a pig - i cannot stand it when i open a page and it decides to play like an math for a while before the java plugin loads up.
The Beginning Of All Things To End.
The End Of All Things To Come.
Offline
...but Java's plugin is also a pig - i cannot stand it when i open a page and it decides to play like an ... for a while before the java plugin loads up.
That is *exactly* what tipped me in favor of Flash instead of Java for all my website work.
"The physicists defer only to mathematicians, and the mathematicians defer only to God ..." - Leon M. Lederman
Offline
Actually, I just wish that the world could take a vote on which language we should use, and get rid of all others. Seriously, how much more time could we spend becoming better programmers and computer scientists if we only had to learn one universal programming language?
It appears as if you know little or nothing about computers.
To have a "universal" programming language, it becomes necessary to incorporate ALL computers languages into 1 language. The reason: TIME.
Use a simple word processor ( the old dos EDLIN ), type a single character, and save the file.
Then use a current word processor program ( microsoft WORD, or any text formatting program) and type a single character, then save.
The simple word processor's save file length: 1 (or perhaps) 3 characters in length.
The commercial complex word processor file length: most likely several hundred thousand bytes.
It requires more time to process more data.
I like C because it generates a very small 'exe' file.
C++ (with it greatly added features, that I like) will add 30 thousand to several hundred thousand bytes to the 'exe' file length.
At the present time, the entire RTL (run time library) for some languages will be appended to the executable, making it a BLOATED hog of a file.
I want programs to run/execute extremely fast.
I can type about 60 words a minute when creating letters/notes.
The text processor I use (microsoft WORD) is most irritating when I type several characters and then look at the screen and have to wait for a fraction of a second (or many times several seconds) before the characters appear on the screen. I'm using a 3.4 GHZ w/ 1000 MB ram.
The are some persons who like a Corvett, others a KIA, and some a Mack Truck. Would you even think that everyone would want to have the same type-kind-model-color vehicle?
Computer languages are here for a purpose: they apply to different requirements. Your operating system is effectively a compute language.
I like the differences.
More computer languages will be developed because they serve a purpose. A word processor itself is a "computer language" that handles/executes the text/instructions given to it.
Therefore, I say, more. Lets have thousands and thousands of different computer languages.
Languages evolve. I hope they never stop.
Offline
Wait Ricky, what are you on about? Of course C++ is cross-platform!
and ill assume by not usable on the internet, you mean in the way that java has an internet plugin etc, C++ can be used for server side applications, but Java's plugin is also a pig - i cannot stand it when i open a page and it decides to play like an math for a while before the java plugin loads up.
Cross-platform "executable". You can not take a windows exe and run it on linux. Every high level language is cross platform, so there is absolutely no reason to talk about code being cross platform.
Yes, that is what I was focusing on. And it may be slow, but it works. Better than being non-existent. Furthermore, Java excels when it comes to server/client programming, and while possible on C++, the framework just isn't up to what Java has.
Posted by integer:
C++ (with it greatly added features, that I like) will add 30 thousand to several hundred thousand bytes to the 'exe' file length.
Not with the proper compilation options, but yes, typically, you want that stuff in there anyways. This is really just a nit-pick on my part.
Languages evolve. I hope they never stop.
C++ is about 25 years old, although if you go from the first official standard, is really only about 10. Java just a bit more than 10. Imagine where we'll be in 20 years? Or 40? It's kind of scary to think about...
"In the real world, this would be a problem. But in mathematics, we can just define a place where this problem doesn't exist. So we'll go ahead and do that now..."
Offline
It appears as if you know little or nothing about computers.
okay, now my feelings are hurt. Primarily because thats very true, and I'm just about to receive my associates in computer science.
Seriously... my school is teaching me nothing.
A logarithm is just a misspelled algorithm.
Offline
I thought that was an unfair comment ... it is not always easy to say precise things about languages in a few sentences anyway.
For example describe ".net" (visual studio): many flavors of code (vb c# etc) get "semi-compiled" into a runtime that need a multi-MB "runtime library" ... and that runtime provides lots of pre-compiled routines, and also executes the code, does garbage collection etc. But that is not a proper description unless I want to spend a few pages describing it. Better still just go to Wikipedia
"The physicists defer only to mathematicians, and the mathematicians defer only to God ..." - Leon M. Lederman
Offline
Apparently facial hair has a lot to do with the success of a language: http://blogs.microsoft.co.il/blogs/tamir/archive/2008/04/28/computer-languages-and-facial-hair-take-two.aspx
"The physicists defer only to mathematicians, and the mathematicians defer only to God ..." - Leon M. Lederman
Offline
@mikau, when I went thru college, I forgot to
read supplementary books in the library that
went along with my studies. Too bad there
aren't 28 hours in a day, huh?
igloo myrtilles fourmis
Offline
MathisFun::
I thought that was an unfair comment ...
What was unfair about it?
Actually, I just wish that the world could take a vote on which which musical instrument we should use, and get rid of all others. Seriously, how much more time could we spend becoming better musicans if we only had to learn one musical instrument?
Whats even funnier is, ... we could get rid of all those hemisemidemiquavers.
BTW
Some of you may not realize it, but I am not musical prodigy.
Fixed formatting - Ricky
Last edited by integer (2008-04-29 15:23:53)
Offline
Perhaps not unfair, but still both are rather rude and border-line insulting. And it's all coming after Mikau said:
Okay, I see your point.
So honestly, you're just beating a dead horse, and you continue to beat it in your last post. So please stop, both the rudeness and the beating. It just isn't necessary.
"In the real world, this would be a problem. But in mathematics, we can just define a place where this problem doesn't exist. So we'll go ahead and do that now..."
Offline
Pages: 1