|
Welcome to the Australian Ford Forums forum. You are currently viewing our boards as a guest which gives you limited access to view most discussions and inserts advertising. By joining our free community you will have access to post topics, communicate privately with other members, respond to polls, upload content and access many other special features without post based advertising banners. Registration is simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. Please Note: All new registrations go through a manual approval queue to keep spammers out. This is checked twice each day so there will be a delay before your registration is activated. |
|
The Pub For General Automotive Related Talk |
|
Thread Tools | Display Modes |
05-08-2010, 08:21 PM | #1 | |||
FG XR6 Ute & Sedan
Join Date: Oct 2006
Location: Bibra Lake WA
Posts: 23,534
|
See http://news.discovery.com/tech/toyot...ware-code.html
Quote:
__________________
regards Blue |
|||
05-08-2010, 08:28 PM | #2 | |||
FG XR6 Ute & Sedan
Join Date: Oct 2006
Location: Bibra Lake WA
Posts: 23,534
|
Also http://reviews.cnet.com/8301-13746_7-20004555-48.html
Quote:
__________________
regards Blue |
|||
05-08-2010, 08:51 PM | #3 | ||
Regular Member
Join Date: Apr 2010
Posts: 488
|
I think the Raptor would be more fun to use through a police radar trap
"Sarge, can you check this reading, what car does 1500km/hr?" |
||
05-08-2010, 08:56 PM | #4 | ||
FF.Com.Au Hardcore
Join Date: Feb 2010
Location: Sun City, North Australis
Posts: 4,274
|
One begs the question..... why??
The F-22 and F-35 are presently the most computer orientated and controlled aircraft out there and while they only admit to needing 1.5million lines of code (there would be more) I cant see why a car would need a 100millions lines to run an engine, brakes and a cd player! Meanwhile an F-22 pulls up to 10Gs, has 2D engine nozzles, most complex radar out there, avoid being shot at, work out is position in 3D, cue missiles and drop bombs with pin point accuracy, be able to keep the plane airbourne in the sky.... blah blah blah..... and they saying a car needs more geekiness????
__________________
You've seen it, you've heard it and your still asking questions?? Don't write off the Goose until you see the box going into the hole.... |
||
05-08-2010, 09:04 PM | #5 | ||
Starter Motor
Join Date: Jan 2010
Posts: 11
|
Tad more high tech and a whole lot more complicated then a Zephyr!
|
||
05-08-2010, 09:05 PM | #6 | ||
FF.Com.Au Hardcore
Join Date: Apr 2005
Location: Canberra
Posts: 13,458
|
Amount of lines of code is not a measure of complexity or quality of code. Any programmer will agree. Stupid article
|
||
05-08-2010, 09:05 PM | #7 | |||
FG XR6 Ute & Sedan
Join Date: Oct 2006
Location: Bibra Lake WA
Posts: 23,534
|
Quote:
__________________
regards Blue |
|||
05-08-2010, 09:09 PM | #8 | |||
FG XR6 Ute & Sedan
Join Date: Oct 2006
Location: Bibra Lake WA
Posts: 23,534
|
Quote:
__________________
regards Blue Last edited by aussiblue; 05-08-2010 at 09:22 PM. |
|||
05-08-2010, 09:31 PM | #9 | ||
FG XR6 Ute & Sedan
Join Date: Oct 2006
Location: Bibra Lake WA
Posts: 23,534
|
Lines of code are just an indicator measure so I suspect what they are really trying to say is that the extent of software in a car is in order of 2X to 5X of that in a fighter jet.
__________________
regards Blue |
||
06-08-2010, 07:37 AM | #10 | |||
FF.Com.Au Hardcore
Join Date: Jun 2005
Posts: 3,633
|
Quote:
|
|||
06-08-2010, 07:52 AM | #11 | |||
FF.Com.Au Hardcore
Join Date: Aug 2005
Location: Barossa Valley, South Australia
Posts: 3,381
|
Quote:
One is worth millions of dollars and the other is worth tens of thousands. There probably isn't the need to write more efficient code for the car. Yes, I am a computer programmer and I have seen the effects of writing more efficient code. I've seen modules go from 10 lines down to about 2. They still perform the same function, just more efficiently.
__________________
Cheers, Sam. |
|||
06-08-2010, 09:16 AM | #12 | ||
^^^^^^^^
Join Date: Jan 2005
Location: online - duh
Posts: 9,642
|
I think it's a result of the F-22 Raptor having a much more specific task and operating environment and far less concern for how the occupant(s) experience the dynamics and transient response of the aircraft vs what is trying to be achieved in a road car.
Similarly a F1 engine tune will be a lot more straight forward then a road cars varying parameters (cold start, lean cycle, emmisions etc)
__________________
. |
||
06-08-2010, 09:39 AM | #13 | ||
I am Groot
Join Date: Dec 2007
Location: Burnett Heads, Qld
Posts: 6,840
|
How many lines in my XA....?
__________________
.. McLaren F1 Dick Johnson Racing "Those were the days when the cars were cars, they weren't built out of an Ikea pack like they are now and clothed in plastic; they were real cars." John Bowe |
||
06-08-2010, 10:26 AM | #14 | |||
FF.Com.Au Hardcore
Join Date: Jun 2009
Posts: 18,989
|
Quote:
|
|||
06-08-2010, 10:31 AM | #15 | |||
I am Groot
Join Date: Dec 2007
Location: Burnett Heads, Qld
Posts: 6,840
|
Quote:
__________________
.. McLaren F1 Dick Johnson Racing "Those were the days when the cars were cars, they weren't built out of an Ikea pack like they are now and clothed in plastic; they were real cars." John Bowe Last edited by DJR-351; 06-08-2010 at 10:51 AM. |
|||
06-08-2010, 12:30 PM | #16 | |||
FF.Com.Au Hardcore
Join Date: Dec 2008
Location: QLD
Posts: 685
|
Quote:
|
|||
06-08-2010, 06:23 PM | #17 | |||
FF.Com.Au Hardcore
Join Date: Apr 2005
Location: Canberra
Posts: 13,458
|
Quote:
You can write a program or function and go over it again and reduce the amount of lines and complexity. Also making good use of predefined libraries. I've seen it a lot with SQL queries in particular in that people write out multiple SELECTS rather than use procedures or prepared statements for example. Or have many different functions that achieve the basically same thing and/or not using the them or have multiple classes that have common attributes and functions but don't inherit from a base class |
|||
06-08-2010, 06:52 PM | #18 | ||
FF.Com.Au Hardcore
Join Date: Jun 2008
Posts: 1,505
|
on the subject of code in computers it is highly dependant on the processor, if you were to design and manufacture a processor that was able to only do the instructions you need to in assembly and nothing else, then when you write code for such a machine it will be rocket fast robust and short. If you get a CPU from an IBM pc (CAN run a car) because of the complexity of the CPU itself then the lines of code will blowout terribly (in assembly I am talking here), also if you embed the OS type functions into the CPU itself it removes the need for an "operating system" so to speak, this too will reduce the amount of code that the CPU requires to accomplish the task. Fewer lines of code may indicate the systems in the f-22 raptor are streamlined processors that can do only what they need to and no more, wheras the ones in a car have more code to make a less specialised CPU perform the functions required to run the car, make sense?
__________________
Phantom, T56, leather and sunroof BAmk1 :yeees: Holden special vehicles - for special people |
||
06-08-2010, 09:09 PM | #19 | |||
FG XR6 Ute & Sedan
Join Date: Oct 2006
Location: Bibra Lake WA
Posts: 23,534
|
Interestingly IBM, despite its decline from being the giant of the industry in the 70's, might still know a thing or two about computers make some similar observations here: http://www-03.ibm.com/press/us/en/pr...ease/31826.wss
Quote:
__________________
regards Blue |
|||
07-08-2010, 11:12 AM | #20 | |||
Formally Kia Chaser
Join Date: May 2005
Location: Newcastle
Posts: 2,493
|
Quote:
One more point to make is that fighter jet avionics (such as our own F-18's), use a common "BUS" to communicate to other computers and avionics. Without this bus, every individual computer and avionics device which needs to talk to something else would need to be programmed to communicate specifically to that device. Although a car does have a "BUS" to some degree, it is nowhere at the complexity of a modern fighter jet
__________________
Kia Grand Carnival (2006) Silver, Grill Mesh, Tints, Sidesteps (with lights), Towbar, 7" Touch Screen DVD Tuner with intergrated GPS & Bluetooth, Roof Mounted Flip Down 15.1" LCD Screen, Reverse Camera - 184Kw HSV Clubsport R8 VY (2003) Black, 6sp Manual, Coulson Seats, Red on black interior, Pacemaker extractors, Twin 2.5" exhaust, Custom Red 20" VE GTS Rims, Custom Red Stitching
|
|||
08-08-2010, 03:08 PM | #21 | ||
FF.Com.Au Hardcore
Join Date: Feb 2005
Posts: 1,451
|
Given the number of times my GT was in for warranty repairs.... Yes.
|
||
08-08-2010, 06:28 PM | #22 | ||
71Mach1
Join Date: Feb 2007
Location: Melb
Posts: 465
|
This one's got me scratching my head?
I can't imagine an average car being so complex. Firstly, how powerful is the cpu(s) running this software? How much ram are we talking about? you all know that no program can run inless it's loaded in ram first ... I can start my car and drive off instantly. If my car needed this many lines of code to be loaded into ram first, I reckon that it'll be like a computer operating system where you can't do much until the program is loading... I'd say that all these many systems are all programmed into eeproms, similar to a pc motherboard and are flashed just as easily... In fact I've spent some time on my mates LS1 edit software which controls quite a few parameters. All this can be stored in only a few mb's. I'd say it's more likely that the initial programming may have used several million lines of code (even this is hard to believe), but once compiled, it'll be infinitely smaller... I wouldn't be surprised now to hear that a lot if not the majority of this code or routines are being outsourced to "guess where".
__________________
roses are #FF0000 violets are #0000FF all my base are belong to you |
||
08-08-2010, 06:40 PM | #23 | ||
FF.Com.Au Hardcore
Join Date: Feb 2009
Location: NSW
Posts: 864
|
heres how it goes
alot of lines of code means nothing in my degree we write alot of programs and mostly the guys with alot of lines of code score less then us guys with minimal lines of code so too relate to this a complex aircraft will have much better engineers so they will be able to cut out the crap btw this sisnt the message of god this is just the input from a 1st year engineer lol |
||
08-08-2010, 06:46 PM | #24 | |||
FF.Com.Au Hardcore
Join Date: Jun 2005
Posts: 3,633
|
Quote:
|
|||
08-08-2010, 10:17 PM | #25 | ||
Render unto Caesar
Join Date: Feb 2008
Location: ::1
Posts: 4,229
|
Pointless comparing lines of code between the fighter jet and a car. Both are programmed for different purposes, both will have a whole different range of scenarios to account for. Jets don't need auto wipers, climate control, cd players, etc.
It is also dependant on the platform the code is written on and run on. The jet running I would assume on a far more advanced/efficient system, most of their budget being spent on the electronic system making sure it is right and fast. The car running on something a little more "dated." Apples and Oranges!!!
__________________
"Aliens might be surprised to learn that in a cosmos with limitless starlight, humans kill for energy sources buried in sand." - Neil deGrasse Tyson |
||
08-08-2010, 10:40 PM | #26 | ||
FF.Com.Au Hardcore
Join Date: Jan 2005
Location: Lake Macquarie, Newcastle NSW
Posts: 3,164
|
|
||
08-08-2010, 11:38 PM | #27 | |||
No longer a Uni student..
Join Date: Jan 2010
Location: Coffs Harbour, NSW
Posts: 2,557
|
Quote:
The software has probably had a LOT more money thrown into making it as efficient as possible as well. |
|||