Go to Post I was watching the webcast when that score was posted and thought to myself, "What did they do, steal a donut from Dave?" - MissInformation [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
View Poll Results: What is your most prefered programming language?
C++ 91 43.96%
PBasic 11 5.31%
QBasic 8 3.86%
Java 36 17.39%
Other (Please List) 61 29.47%
Voters: 207. You may not vote on this poll

Closed Thread
Thread Tools Rating: Thread Rating: 4 votes, 3.75 average. Display Modes
  #31   Spotlight this post!  
Unread 29-12-2002, 06:59
gates_2 gates_2 is offline
Registered User
#0180 (S.P.A.M.)
 
Join Date: Nov 2002
Location: Stuart, Florida
Posts: 1
gates_2 is an unknown quantity at this point
Send a message via AIM to gates_2
come on guys, ASSEMBLY!!!!!!!!

haha, yea right, someday, however you can do just about anything, but it will take you a lifetime to do it.

Other then that, i really like Visual basic for application programming
  #32   Spotlight this post!  
Unread 30-12-2002, 03:33
Mongoose's Avatar
Mongoose Mongoose is offline
Registered User
#0948 (Newport Robotics Group (NRG 948))
 
Join Date: Oct 2002
Location: Bellevue, WA
Posts: 45
Mongoose is an unknown quantity at this point
Send a message via AIM to Mongoose
Actually, I just wrote Pong for my calculator in assembly today. The basics are pretty simple if you already know another language. It probably would have taken about ten minutes in C++, though. What's nice is that it's lightning fast (compared to TI-BASIC) and people can't mess up the source code. Plus it gains you a certain level of, shall I say, prestige.

I never really liked VB much, but I never really learned it either, ever since my buddy sent me an app with bazillions of modules and dlls and cabs and ocxs and whatevers... The app itself was pretty small, but all the dependencies were bloated.
  #33   Spotlight this post!  
Unread 30-12-2002, 18:58
randomperson's Avatar
randomperson randomperson is offline
Assembler Freak
#0904
Team Role: College Student
 
Join Date: Dec 2002
Rookie Year: 2003
Location: Wyoming,MI
Posts: 100
randomperson is an unknown quantity at this point
Send a message via AIM to randomperson Send a message via MSN to randomperson
hehe.. assembly language is the best in my opinion.. then C/C++.. but they're right, whichever tool gets the job done is the best one.
  #34   Spotlight this post!  
Unread 30-12-2002, 20:26
VanWEric VanWEric is offline
Registered User
#0250 (Dynamos)
 
Join Date: Feb 2002
Location: NY
Posts: 86
VanWEric is an unknown quantity at this point
bah! assembly is for wimps. if you want a real challenge, do it by tapping out zeros and ones with a paper clip soldered into your mobo. that is how real men do it.

please don't hurt me
  #35   Spotlight this post!  
Unread 30-12-2002, 21:22
rbayer's Avatar Unsung FIRST Hero
rbayer rbayer is offline
Blood, Sweat, and Code
no team (Teamless Orphan)
 
Join Date: Mar 2002
Rookie Year: 2001
Location: Minnetonka, MN
Posts: 1,087
rbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of light
Send a message via AIM to rbayer
A few notes on assembly:

First, "assembly" is not a language; it is a group of languages. For example, assembly for x86 processors is only vaguely related to assembly for embeded chips which is only vaguely related to other dialects of assembly.

Second, assembly still has uses! Assembly is the easiest way I've found to take advantage of 3dNow!/SSE instructions, which are very important to modern procesors.

Third, assembly is not any faster than any other language. For example, x86 assembly can be much slower than the equivalent C code if you turn on optimizations in your compiler. It's all in how you use it.

Fourth, EVERY programmer should learn some form of assembly. Until you actually get down to the nitty-gritty of running instructions one at a time it's hard to understand costs associated with various operations. If you want a good intro, check out Randall Hyde's Art of Assembly.
__________________
New C-based RoboEmu2 (code simulator) available at: http://www.robbayer.com/software.php
  #36   Spotlight this post!  
Unread 30-12-2002, 22:46
randomperson's Avatar
randomperson randomperson is offline
Assembler Freak
#0904
Team Role: College Student
 
Join Date: Dec 2002
Rookie Year: 2003
Location: Wyoming,MI
Posts: 100
randomperson is an unknown quantity at this point
Send a message via AIM to randomperson Send a message via MSN to randomperson
lol... coding in straight binary? i did that once actually.. for a MC6800 microcontroller i built.. but it kinda got annoying to set each bit so I got a hex switch to program the ROM.

Hmm.. it seems like everyone keeps emphasizing that no language is superior overall.. wonder why that is? It couldn't be because its true.. no, that makes no sense...
  #37   Spotlight this post!  
Unread 31-12-2002, 08:38
Unsung FIRST Hero
Matt Leese Matt Leese is offline
Been-In-FIRST-Too-Long
FRC #1438 (The Aztechs)
Team Role: Engineer
 
Join Date: May 2001
Rookie Year: 1998
Location: Long Beach, CA
Posts: 937
Matt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond repute
Send a message via AIM to Matt Leese
Quote:
Originally posted by rbayer
Third, assembly is not any faster than any other language. For example, x86 assembly can be much slower than the equivalent C code if you turn on optimizations in your compiler. It's all in how you use it.
That's a bit of a "urban legend." Hand-crafted assembly can be significantly faster than what is output by a compiler, even with all optimizations turned on. It's the simple fact that when writing in assembly you can tell the processor to only do what you really need it to do at a much lower level than that of a higher-level language.

That said, the most useful part of assembly these days is the fact that it will result in an executable of much smaller size. There's a significant amount of overhead involved with a higher-level language that can be avoided by writing in assembly. Now why does size matter with huge hard drives being cheap? Embedded systems.

Matt
  #38   Spotlight this post!  
Unread 31-12-2002, 11:13
rbayer's Avatar Unsung FIRST Hero
rbayer rbayer is offline
Blood, Sweat, and Code
no team (Teamless Orphan)
 
Join Date: Mar 2002
Rookie Year: 2001
Location: Minnetonka, MN
Posts: 1,087
rbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of light
Send a message via AIM to rbayer
Quote:
Originally posted by Matt Leese
That's a bit of a "urban legend." Hand-crafted assembly can be significantly faster than what is output by a compiler, even with all optimizations turned on. It's the simple fact that when writing in assembly you can tell the processor to only do what you really need it to do at a much lower level than that of a higher-level language.

That said, the most useful part of assembly these days is the fact that it will result in an executable of much smaller size. There's a significant amount of overhead involved with a higher-level language that can be avoided by writing in assembly. Now why does size matter with huge hard drives being cheap? Embedded systems.

Matt
I agree. Assembly can be faster than a compiled language. On the other hand, if you don't know what you're doing, you have the potential to royally destroy the processor pipeline. It's gotten much better with branch prediction, but it still isn't perfect.

Anyway, slashdot had a story a while back on tiny binaries using assembly. It's a good read and available here.
__________________
New C-based RoboEmu2 (code simulator) available at: http://www.robbayer.com/software.php
  #39   Spotlight this post!  
Unread 31-12-2002, 21:45
mikexstudios's Avatar
mikexstudios mikexstudios is offline
Registered User
AKA: Michael Huynh
#0357 (Royal Assault)
Team Role: Animator
 
Join Date: Nov 2002
Rookie Year: 2003
Location: Upper Darby
Posts: 15
mikexstudios is an unknown quantity at this point
Send a message via AIM to mikexstudios Send a message via Yahoo to mikexstudios
Quote:
First, "assembly" is not a language; it is a group of languages. For example, assembly for x86 processors is only vaguely related to assembly for embedded chips which is only vaguely related to other dialects of assembly.
True, but when people generally speak of Assembly they are speaking of the general language (usually pinpointing to the x86 architecture).

Quote:
Second, assembly still has uses! Assembly is the easiest way I've found to take advantage of 3dNow!/SSE instructions, which are very important to modern procesors.
Assembly always has its uses! Along with special instructions, one can use assembly to debug programs, write compact programs, optimized functions, etc.

Quote:
Third, assembly is not any faster than any other language. For example, x86 assembly can be much slower than the equivalent C code if you turn on optimizations in your compiler. It's all in how you use it.
That is not true (at least in my opinion). Assembly is faster than many languages especially interpreted ones. Assembly is faster than php, perl, java, visual basic, shell scripts, etc.

For instance, take a fairly moderate program (with some file writing, loops, function calls, and variable storage) and write one in C and write one in Assembly. The Assembly one will be faster. Why? Because one has total control over how the program is run in assembly. Therefore, there won't be junk code thrown in by the complier. The complier might make 10 jumps in the code to do something, while the savvy assembly programmer can do the same thing in 4 jumps. For small programs (like a print Hello World!), assembly might not make such a difference, but for larger programs, assembly's speed will shine.

Of course the problem is writing the program in assembly. It will take too long!

Steve Gibson of grc.com does an awesome job of writing Assembly programs.

mikeXstudios
__________________
--------------------
http://www.tenchiintokyo.org
  #40   Spotlight this post!  
Unread 31-12-2002, 23:50
ckim's Avatar
ckim ckim is offline
Registered User
#0694 (Stuy Pulse)
 
Join Date: Dec 2002
Location: New York City
Posts: 14
ckim is an unknown quantity at this point
Send a message via AIM to ckim
I must say my favorite language is C for programming almost anything and a lot of applications are written in including operating systems. For web programming php, although some argue perl is better php has better error handling in my opinion. For simple automated tasks on my machines I use either perl or bash scripts. For recursions I must say lisp is very cool. And a lanugage I find very cool is starlogo. You can simulate simulations and make every dot act according to it's properties. Although very little practical use very cool. When I used to use windows I primarily used visual basic. But now I think of it it's quite slow.
__________________
Cristhian D. Kim
cris@cris.cx
www.cris.cx
  #41   Spotlight this post!  
Unread 02-01-2003, 01:02
Mongoose's Avatar
Mongoose Mongoose is offline
Registered User
#0948 (Newport Robotics Group (NRG 948))
 
Join Date: Oct 2002
Location: Bellevue, WA
Posts: 45
Mongoose is an unknown quantity at this point
Send a message via AIM to Mongoose
Starlogo! I have fond memories of that... I can barely remember the instructions, but I can remember doing
Code:
create 1000
fd 1000
Which wouldn't lag the CPU down too much. Logo was what really got me into programming, because while everybody else was goofing off and playing Oregon Trail, I was making my turtles (they're not dots) do cool stuff. It's great for modeling cellular automata and live things in general, and also an excellent beginner's language, IMO.
  #42   Spotlight this post!  
Unread 02-01-2003, 08:39
Gary Dillard's Avatar Unsung FIRST Hero
Gary Dillard Gary Dillard is offline
Generator of Entropy
AKA: you know, the old bald guy
FRC #2973 (The Mad Rockers)
Team Role: Engineer
 
Join Date: Nov 2001
Rookie Year: 1998
Location: Huntsville, AL
Posts: 1,582
Gary Dillard has a reputation beyond reputeGary Dillard has a reputation beyond reputeGary Dillard has a reputation beyond reputeGary Dillard has a reputation beyond reputeGary Dillard has a reputation beyond reputeGary Dillard has a reputation beyond reputeGary Dillard has a reputation beyond reputeGary Dillard has a reputation beyond reputeGary Dillard has a reputation beyond reputeGary Dillard has a reputation beyond reputeGary Dillard has a reputation beyond repute
Send a message via AIM to Gary Dillard
Quote:
Originally posted by Gobiner
Doesn't anyone use Fortran anymore?
I gotta laugh - for my Master's thesis a few years back (OK, more than a few) I had to combine an old optimization code I had written in Fortran with an new analysis code written in C++. It was easier for me to convert the C++ to Fortran than vice versa. I went to Barnes and Noble to get a Fortran book (mine was long since gone), and they looked at me like I was from another planet. Maybe there's a monk scribing them somewhere...

Does anyone remember APL? Even had it's own keyboard with special programming characters.

Ah, I miss punch cards.


OK, the old man will shut up now and go back to running his TRS-80.
__________________
Close enough to taste it, too far to reach it
  #43   Spotlight this post!  
Unread 02-01-2003, 08:55
EricS-Team180's Avatar
EricS-Team180 EricS-Team180 is offline
SPAM, the lunchmeat of superheroes!
AKA: Eric Schreffler
FRC #0180 (SPAM)
Team Role: Engineer
 
Join Date: Apr 2002
Rookie Year: 2001
Location: Stuart, Florida
Posts: 561
EricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond repute
...and remember...its FORTRAN...not fortran
__________________

Don't PANIC!
S. P. A. M.
  #44   Spotlight this post!  
Unread 02-01-2003, 12:03
rbayer's Avatar Unsung FIRST Hero
rbayer rbayer is offline
Blood, Sweat, and Code
no team (Teamless Orphan)
 
Join Date: Mar 2002
Rookie Year: 2001
Location: Minnetonka, MN
Posts: 1,087
rbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of light
Send a message via AIM to rbayer
Quote:
Originally posted by Gary Dillard
I went to Barnes and Noble to get a Fortran book (mine was long since gone), and they looked at me like I was from another planet.
You mean they actually knew what the book was about? Wow, I'm truly amazed!
__________________
New C-based RoboEmu2 (code simulator) available at: http://www.robbayer.com/software.php
  #45   Spotlight this post!  
Unread 02-01-2003, 20:03
VanWEric VanWEric is offline
Registered User
#0250 (Dynamos)
 
Join Date: Feb 2002
Location: NY
Posts: 86
VanWEric is an unknown quantity at this point
I recently saw OpenGL running in FORTRAN. That threw me a bit
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Programming Compatition Angela06 Programming 30 08-04-2005 23:12
New programming language next year? Mike Alighieri Programming 131 13-09-2003 20:51
PBASIC sucks maDGag Programming 31 29-01-2003 03:16
TI programming using Z80 assembly language Jeff Wong Chit-Chat 1 07-06-2001 01:27


All times are GMT -5. The time now is 14:21.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi