London Transport (uk.transport.london) Discussion of all forms of transport in London.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Old February 2nd 06, 08:19 PM posted to uk.transport.london
external usenet poster
 
First recorded activity at LondonBanter: Feb 2006
Posts: 2
Default Terry Morgan and longer Jubilee line trains

In message , Tom
Anderson writes

Not C++, Java - good god, you don't imagine i'd use a language with
manual memory management and pointer arithmetic in a safety-critical
system, do you?


Well, yes, actually, because you know what you have and can test and fix
every piece of it, rather than relying on an over-complicated
third-party runtime which has almost certainly not had adequate testing
for a safety-critical environment. I'd rather be using C, or a
Forth-type language.

--
1089
  #2   Report Post  
Old February 3rd 06, 01:08 AM posted to uk.transport.london
external usenet poster
 
First recorded activity at LondonBanter: Oct 2003
Posts: 3,188
Default Terry Morgan and longer Jubilee line trains

On Thu, 2 Feb 2006, 1089 wrote:

In message , Tom Anderson
writes

Not C++, Java - good god, you don't imagine i'd use a language with
manual memory management and pointer arithmetic in a safety-critical
system, do you?


Well, yes, actually, because you know what you have and can test and fix
every piece of it, rather than relying on an over-complicated
third-party runtime which has almost certainly not had adequate testing
for a safety-critical environment.


Depends on the runtime. And on what you're doing, of course - as
Greenspun's tenth law observes, any large program includes a
reimplementation of much of the functionality of an over-complicated
runtime, so you'll generally be better off using a more sophisticated
language to start with. If you're doing something fairly simple that
doesn't need much dynamic memory, C might be better; this example is
probably in the latter class, to be honest.

I'd rather be using C, or a Forth-type language.


Or Ada - still (usually) no GC, but at least much better type-safety.

Highly entertaining article comparing Ada, C, C++ and Java to the original
Ada requirements document (used as a gold standard for a language for
serious embedded systems):

http://www.adahome.com/History/Steelman/steeltab.htm

Ada wins, Java and C++ are neck-and-neck, and C comes in last. Mostly,
though, that's because C doesn't specify thread-related stuff as part of
the language; i think C + POSIX would do a lot better.

tom

--
Better to die on your feet than live on your knees. -- Emiliano Zapata
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Torygraph - Crossrail's Terry Morgan in optimistic mood E27002 London Transport 3 February 3rd 10 03:09 PM
Sir Terry Farrell backs Euston as venue for London high speedrail hub E27002 London Transport 18 November 19th 09 07:22 PM
Evening Standard no longer on trains [email protected] London Transport 6 October 16th 09 12:08 PM
Trains no longer waiting for pulling-up train Tristán White London Transport 60 January 27th 07 02:24 AM
Morgan Tube? James London Transport 2 July 8th 04 03:27 PM


All times are GMT. The time now is 05:59 AM.

Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 London Banter.
The comments are property of their posters.
 

About Us

"It's about London Transport"

 

Copyright © 2017