Go to Post everybody wants a piece of success! - Taylor [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

 
Closed Thread
Thread Tools Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
  #106   Spotlight this post!  
Unread 16-08-2003, 18:18
Rickertsen2 Rickertsen2 is offline
Umm Errr...
None #1139 (Chamblee Gear Grinders)
Team Role: Alumni
 
Join Date: Dec 2002
Rookie Year: 2002
Location: ATL
Posts: 1,421
Rickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant future
Send a message via AIM to Rickertsen2 Send a message via Yahoo to Rickertsen2
I wander what cool new hardware features there will be. I hope there are more io ports such as some general purpose bidirectional ttl or cmos compatible pins and a real lcd.
__________________
1139 Alumni
  #107   Spotlight this post!  
Unread 18-08-2003, 08:43
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 Alfred Thompson
I'll tell them to give back their PhDs in computer science then. No doubt you've got a lot more experience in programming then them or me.
Honestly, if they're telling you that one programming language is inherently better than another in totality, they're doing you and everyone else a disservice. A specific feature of a programming language may be better implemented or better supported than another, but saying it is completely better is just ignoring too many of the other features of the programming language.

Plus, I've met a good number of people with PhD's who really don't know what they're talking about. Or at least don't have as good an understanding as they should.

Matt
  #108   Spotlight this post!  
Unread 18-08-2003, 09:21
Alfred Thompson's Avatar
Alfred Thompson Alfred Thompson is offline
Adult troublemaker
FRC #0811
 
Join Date: Jan 2002
Rookie Year: 2001
Location: Danville, NH
Posts: 254
Alfred Thompson has a spectacular aura aboutAlfred Thompson has a spectacular aura about
Send a message via AIM to Alfred Thompson
Quote:
Originally posted by Matt Leese
Honestly, if they're telling you that one programming language is inherently better than another in totality, they're doing you and everyone else a disservice. A specific feature of a programming language may be better implemented or better supported than another, but saying it is completely better is just ignoring too many of the other features of the programming language.

Plus, I've met a good number of people with PhD's who really don't know what they're talking about. Or at least don't have as good an understanding as they should.

Matt
TOtally is not a word I used. There are a few cases where C++ may be a better language is some ways then some other languges. But few programmers will ever see the need to use them. Someone doing general applications will never see them. In some operating systems features perhaps. And maybe in low memory configuration embedded systems. But darn few of either of those as the VMs for Java and C# get better. In many cases you'd be better off going to assembly before C++.

But in general terms you can say that one language has more good features then another and/or that one language has more bad features then another. And clearly for general applications Java and C# are MUCH better languages then C++.

Of the 9-10 languages I've used professionally (and a bunch more for fun) C++ is in the lower middle of the ones I'd use again if I had the choice. Above DIBOL and below OOP COOBOL .NET.
  #109   Spotlight this post!  
Unread 18-08-2003, 12:38
Matt Krass's Avatar
Matt Krass Matt Krass is offline
"Old" and Cranky. Get off my lawn!
AKA: Dark Ages
FRC #0263 (Sachem Aftershock)
Team Role: Mentor
 
Join Date: Oct 2002
Rookie Year: 2002
Location: Long Island, NY
Posts: 1,187
Matt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond repute
Send a message via AIM to Matt Krass
Quote:
Originally posted by Alfred Thompson

Of the 9-10 languages I've used professionally (and a bunch more for fun) C++ is in the lower middle of the ones I'd use again if I had the choice. Above DIBOL and below OOP COOBOL .NET.
Key word there is choice, just because you like it better does not automatically mean it's better. What type of programming have you done? I do 3D programming mostly and I find C++ works great for that. I am also learning how ot program Motorola MCUs, in C and a little assembler, I wouldn't dare use .NET for that. The better language can't just be picked.
__________________
Matt Krass
If I suggest something to try and fix a problem, and you don't understand what I mean, please PM me!

I'm a FIRST relic of sorts, I remember when we used PBASIC and we got CH Flightsticks in the KoP. In my day we didn't have motorized carts, we pushed our robots uphill, both ways! (Houston 2003!)
  #110   Spotlight this post!  
Unread 18-08-2003, 13:01
Raven_Writer's Avatar
Raven_Writer Raven_Writer is offline
2004 Detroit & Pittsburgh Winners
AKA: Eric Hansen
FRC #0005 (RoboCards)
Team Role: Mentor
 
Join Date: Jan 2003
Rookie Year: 2002
Location: Melvindale
Posts: 1,549
Raven_Writer is just really niceRaven_Writer is just really niceRaven_Writer is just really niceRaven_Writer is just really niceRaven_Writer is just really nice
Send a message via ICQ to Raven_Writer Send a message via AIM to Raven_Writer Send a message via MSN to Raven_Writer Send a message via Yahoo to Raven_Writer
Quote:
Originally posted by Matt Krass
Key word there is choice, just because you like it better does not automatically mean it's better. What type of programming have you done? I do 3D programming mostly and I find C++ works great for that. I am also learning how ot program Motorola MCUs, in C and a little assembler, I wouldn't dare use .NET for that. The better language can't just be picked.
He is right. But the simpilist point, that covers this whole off-topic stuff is "USE THE RIGHT TOOL FOR THE JOB".

But Matt is right. C++ is recommended over a lot of langauges for 3D programming. You wouldn't use VB for it, because that would make it run to slow. I'm not sure if C# can do 3D. ASP can't handle 3D at all. Nor PHP. C might.

But still, read my sentence, and repeat that over and over (repeate the stuff inside the quotes that is) if you don't know what language to use for a project.

Heck, I'm using MFC for my editor (I was using the C++ Win32 API, but that was causing more confusion than anything). MFC is great for what I wanna do. But it isn't to good for making games.
__________________
AIM: wisprmylastbreth
EMail: nightskywriter@gmail.com
Y!: synsoflife

"ai yoru ga" -- "Love the nights"
  #111   Spotlight this post!  
Unread 18-08-2003, 15:47
Alfred Thompson's Avatar
Alfred Thompson Alfred Thompson is offline
Adult troublemaker
FRC #0811
 
Join Date: Jan 2002
Rookie Year: 2001
Location: Danville, NH
Posts: 254
Alfred Thompson has a spectacular aura aboutAlfred Thompson has a spectacular aura about
Send a message via AIM to Alfred Thompson
Quote:
Originally posted by Matt Krass
Key word there is choice, just because you like it better does not automatically mean it's better. What type of programming have you done? I do 3D programming mostly and I find C++ works great for that. I am also learning how ot program Motorola MCUs, in C and a little assembler, I wouldn't dare use .NET for that. The better language can't just be picked.
A little bit of a lot of things. Some operating systems internals. There was a print/batch system where some of the work was done in Assembly language and some in BASIC (Basic-PLUS actually). I've done OS work for a couple of companies (the companies that created the hardware and OS) in a couple of assembly languages. I've done some high performance stuff using array processors which obviously was in FORTRAN. Some applications (accounting etc) that was done in languages like COBOL, DIBOL, versions of BASIC, etc. Test software for high performance systems in a bunch of languages.

Are you saying that no language is better then any other? They're all the same?
  #112   Spotlight this post!  
Unread 18-08-2003, 17:21
FotoPlasma FotoPlasma is offline
\: |
no team
 
Join Date: Jul 2001
Rookie Year: 2001
Location: San Jose
Posts: 1,900
FotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond repute
Send a message via AIM to FotoPlasma
Neither of the two camps in this argument is going to convince the other that either one is right or wrong.

Don't get me wrong. I have an opinion, which I have, more or less, already expressed. I don't claim to be an objective observer. I just am all too familiar with arguments like this.

One suggestion: drop it.

So, about that new control system...

I've heard that teams will have the ability to use the same syntax as we've all been familiar with, for past years, in PBASIC. I assume this is a fall-back-plan for teams who can't cope with such a fundamental change, so quickly (possibly analogous to what some teams experienced with the introduction of an autonomous mode). What do you think the chances are that they (IFI) would use a product like a PICBasic compiler, rather than develop the translational software in-house?
__________________
I played hacky sack with Andy Baker.

2001-2004: Team 258, The Sea Dawgs
2005: Team 1693, The Robo Lobos
  #113   Spotlight this post!  
Unread 19-08-2003, 08:24
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 FotoPlasma
I've heard that teams will have the ability to use the same syntax as we've all been familiar with, for past years, in PBASIC. I assume this is a fall-back-plan for teams who can't cope with such a fundamental change, so quickly (possibly analogous to what some teams experienced with the introduction of an autonomous mode). What do you think the chances are that they (IFI) would use a product like a PICBasic compiler, rather than develop the translational software in-house?
I would assume fairly high. IFI doesn't have that many employees and a complete redesign of the control system would take up a lot of those employees. There is the possiblity of them contracting it out however.

I think there may be a more likely solution in that software written in PBasic may run in an emulation layer on top of another processor. If the processor was significantly powerful (and frankly, it's not hard to get a cheap powerful processor these days), it wouldn't be too difficult to do that.

Another possibility is to just have two different chips on the board (both a Basic Stamp and some other mystery chip) and it's user selectable as to which one is used.

Matt
  #114   Spotlight this post!  
Unread 19-08-2003, 16:38
Rickertsen2 Rickertsen2 is offline
Umm Errr...
None #1139 (Chamblee Gear Grinders)
Team Role: Alumni
 
Join Date: Dec 2002
Rookie Year: 2002
Location: ATL
Posts: 1,421
Rickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant future
Send a message via AIM to Rickertsen2 Send a message via Yahoo to Rickertsen2
Quote:
Originally posted by Matt Leese
I would assume fairly high. IFI doesn't have that many employees and a complete redesign of the control system would take up a lot of those employees. There is the possiblity of them contracting it out however.

I think there may be a more likely solution in that software written in PBasic may run in an emulation layer on top of another processor. If the processor was significantly powerful (and frankly, it's not hard to get a cheap powerful processor these days), it wouldn't be too difficult to do that.

Another possibility is to just have two different chips on the board (both a Basic Stamp and some other mystery chip) and it's user selectable as to which one is used.

Matt

Hmm. Thats a good point. It, however assumes a relatively powerful processor like a StrongArm Coldfire, etc. Most higher power processors must be either programmed in assemble or a compiler must be used. That would mean that FIRST would have to get a company such a MetroWerks donate the software. Microsoft and Metrowerks? not likley

On the other hand I think it is highy likley that they will use another Basic stamp like chip, such the Basic Atom, Basic X, etc. This would allow a great boost in power, with little syntax change.

While a real(ie: runs compiled code) processor would be nice, I think we will probably just see another Basic Stamp like chip. I hope im wrong though.
__________________
1139 Alumni
  #115   Spotlight this post!  
Unread 19-08-2003, 16:57
Adam Y.'s Avatar
Adam Y. Adam Y. is offline
Adam Y.
no team (?????)
 
Join Date: Mar 2002
Location: Long Island
Posts: 1,979
Adam Y. is a splendid one to beholdAdam Y. is a splendid one to beholdAdam Y. is a splendid one to beholdAdam Y. is a splendid one to beholdAdam Y. is a splendid one to beholdAdam Y. is a splendid one to beholdAdam Y. is a splendid one to behold
Send a message via AIM to Adam Y.
Quote:
Hmm. Thats a good point. It, however assumes a relatively powerful processor like a StrongArm Coldfire, etc. Most higher power processors must be either programmed in assemble or a compiler must be used. That would mean that FIRST would have to get a company such a MetroWerks donate the software. Microsoft and Metrowerks? not likley
Not to mention interpreted code runs at a slower pace no matter how you slice it. There are also plenty of companies around that make compilers. The makers of the Basic Atom also makes compilers.
__________________
If either a public officer or any one else saw a person attempting to cross a bridge which had been ascertained to be unsafe, and there were no time to warn him of his danger, they might seize him and turn him back without any real infringement of his liberty; for liberty consists in doing what one desires, and he does not desire to fall into the river. -Mill
  #116   Spotlight this post!  
Unread 19-08-2003, 19:56
Rickertsen2 Rickertsen2 is offline
Umm Errr...
None #1139 (Chamblee Gear Grinders)
Team Role: Alumni
 
Join Date: Dec 2002
Rookie Year: 2002
Location: ATL
Posts: 1,421
Rickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant future
Send a message via AIM to Rickertsen2 Send a message via Yahoo to Rickertsen2
Quote:
Originally posted by Adam Y.
The makers of the Basic Atom also makes compilers.
That they do. You must be referring to their MBasic compiler, which is meant to accept basic stamp code. Hmmm right back to Basic Stamps again.
__________________
1139 Alumni
  #117   Spotlight this post!  
Unread 20-08-2003, 08:50
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 Rickertsen2
Hmm. Thats a good point. It, however assumes a relatively powerful processor like a StrongArm Coldfire, etc. Most higher power processors must be either programmed in assemble or a compiler must be used. That would mean that FIRST would have to get a company such a MetroWerks donate the software. Microsoft and Metrowerks? not likley

On the other hand I think it is highy likley that they will use another Basic stamp like chip, such the Basic Atom, Basic X, etc. This would allow a great boost in power, with little syntax change.

While a real(ie: runs compiled code) processor would be nice, I think we will probably just see another Basic Stamp like chip. I hope im wrong though.
I'm not quite sure what you're point with powerful processors must be programmed in assembly or a higher level language. To my knowledge, almost all processors must be programmed that way. It also wouldn't have to be a particularly powerful processor. Remember that the Basic Stamp merely interprets the compiled PBasic code and that runs on a PIC.

As far as having MetroWerks donating a compiler, I wouldn't see why not. They are owned by Motorola after all which is a big sponsor of FIRST.

That leads me to another point: I think there's a strong possibility that the new chip may be from Motorola. Motorola makes a lot of embedded chips and may be willing to give IFI a discount on them for use with FIRST. The chips are widely used and have a lot of support out there. There are also various C compilers for the processors. I think that may be a strong possibility.

Matt
  #118   Spotlight this post!  
Unread 20-08-2003, 09:32
dez250 dez250 is offline
54... What a good number!
no team
 
Join Date: Dec 2002
Rookie Year: 2000
Location: Upstate NY / Manchester, NH
Posts: 1,721
dez250 has a reputation beyond reputedez250 has a reputation beyond reputedez250 has a reputation beyond reputedez250 has a reputation beyond reputedez250 has a reputation beyond reputedez250 has a reputation beyond reputedez250 has a reputation beyond reputedez250 has a reputation beyond reputedez250 has a reputation beyond reputedez250 has a reputation beyond reputedez250 has a reputation beyond repute
Send a message via AIM to dez250
please if motorola does wind up working with or without ifi on a new IO and/or RC please do not have it like another big, bulky, space wasting, White box like it has been in the past.
~Mike
__________________
#5

-Michael Dessingue
  #119   Spotlight this post!  
Unread 20-08-2003, 09:39
Adam Y.'s Avatar
Adam Y. Adam Y. is offline
Adam Y.
no team (?????)
 
Join Date: Mar 2002
Location: Long Island
Posts: 1,979
Adam Y. is a splendid one to beholdAdam Y. is a splendid one to beholdAdam Y. is a splendid one to beholdAdam Y. is a splendid one to beholdAdam Y. is a splendid one to beholdAdam Y. is a splendid one to beholdAdam Y. is a splendid one to behold
Send a message via AIM to Adam Y.
Quote:
I'm not quite sure what you're point with powerful processors must be programmed in assembly or a higher level language. To my knowledge, almost all processors must be programmed that way. It also wouldn't have to be a particularly powerful processor. Remember that the Basic Stamp merely interprets the compiled PBasic code and that runs on a PIC.
It really has nothing to do with the language it has to do with how the language is read on the microcontroller.
interpretors-An interpretor reads a high level language and then tells the micro-controller what to do. It is almost exactly what a Basic stamp does. The slowest of the three choices due to the fact that the microcontroller has to read the high language.
Compilers- Compilers turn high level languages and turns it into assembly. They generally have to be designed for a specific brand of micro-controllers since each one usually has different hardware architectures. The second fastest due to the fact that the program is being translated into assembly.
Assembly- Lowest level language for any microcontroller and generally the hardest to understand. The fastest one if properly implemented.
Usually all that gets affected if you go from one type to the next is the speed of the program. It usually goes like this in order of increasing speed:
interpretors<compilers<assembly
__________________
If either a public officer or any one else saw a person attempting to cross a bridge which had been ascertained to be unsafe, and there were no time to warn him of his danger, they might seize him and turn him back without any real infringement of his liberty; for liberty consists in doing what one desires, and he does not desire to fall into the river. -Mill

Last edited by Adam Y. : 20-08-2003 at 09:42.
  #120   Spotlight this post!  
Unread 24-08-2003, 18:16
rwaliany's Avatar
rwaliany rwaliany is offline
R
None #0691 (HartBurn)
Team Role: Programmer
 
Join Date: Jan 2003
Rookie Year: 2000
Location: http://www.hartrobot.com
Posts: 137
rwaliany will become famous soon enough
I think it's java...anyone look up parallax's latest projects...the javalin stamp...the basic stamp...I don't think it would be too much work to replace pbasic with java by switching stamps from the same company. Likewise, I would think parallax would be pressuring IFI to be using the javalin stamp to promote sales and usage. The AP Compsci switched from C++ to Java. Will everyone taking AP Compsci right now not be familiar with java by the time it is released? In addition, Java is more practical than PBASIC pertaining to the real world. No one cares that someone programmed in PBASIC but atleast with java you earn some respect. Java is also cross-platform, I would think if they move to Java they would also support a cross-platform pbasic editor written in java..

I prefer C++, but I'd still want java over pbasic anyday.
__________________
R
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
What is your most prefered programming language? Hailfire Programming 156 19-01-2005 21:42
2004 Championship Eligibility Criteria!!! dez250 General Forum 214 28-12-2003 20:11
Championship Qualification - How you would've done it Ken Leung Championship Event 6 26-10-2003 14:00
Making heads or tails of the new announcement... Jessica Boucher General Forum 66 26-09-2001 11:13
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 18:14.

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