ontolog-forum
[Top] [All Lists]

Re: [ontolog-forum] C and Ada

To: <edbark@xxxxxxxx>
Cc: "[ontolog-forum] " <ontolog-forum@xxxxxxxxxxxxxxxx>
From: "Barker, Sean (UK)" <Sean.Barker@xxxxxxxxxxxxxx>
Date: Tue, 13 Nov 2007 17:35:55 -0000
Message-id: <E18F7C3C090D5D40A854F1D080A84CA47D05D0@xxxxxxxxxxxxxxxxxxxxxx>

This mail is publicly posted to a distribution list as part of a process
of public discussion, any automatically generated statements to the
contrary non-withstanding. It is the opinion of the author, and does not
represent an official company view.    (01)


Ed Barkmeyer wrote
> A program is a design for a machine, a set of instructions 
> for assembling off-the-shelf parts into a machine that 
> performs some function.  Therefore, the primary concern of 
> any programming language is to provide the ability to 
> formulate a precise set of instructions for the assembly of 
> useful machines.    (02)


Ed,    (03)

        My perspective is that the aim of a programming language is to
allow the human to express the problem in terms a human can understand,
in order that they do not have to learn how to translate it into the
assembly code that the machine understands. This job is constrained in
two sorts of ways: firstly, the human needs to make the machine do what
the machine can do, and secondly, if the machine can't do it, the
translation process won't work. After that, the questions are about what
level of complexity the translator can cope with.    (04)

        A symbolic assembler gives the ability to formulate a precise
set of instructions. For portability, formula translation allowed
programmers to use familiar arithmetic notation, while language
implementers (compiler writers) sorted out the problem of converting the
formulae into precise sets of assembly instructions.    (05)

        Thus I would still assert that the primary aim of
<i>languages</i> is for humans to understand what they want the machine
to do, since there are other ways of getting the same result, but the
primary <i>constraint</i> is that languages must translate into a
precise set of instructions.    (06)

        Actually, the problem for languages is slightly harder than just
formulating a precise set of instructions. What we want is that the
program gives a precise result. Ideally, the same problem solved by two
different computer systems should give the same result. While this seems
to be the case with the algorithmic languages, I'm told that the various
logic solvers can give different results for the same set of inputs -
say, an OWL file. I'm not sure why this is the case, but comments
welcome.    (07)


Sean Barker
Bristol, UK    (08)

********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************    (09)


_________________________________________________________________
Message Archives: http://ontolog.cim3.net/forum/ontolog-forum/  
Subscribe/Config: http://ontolog.cim3.net/mailman/listinfo/ontolog-forum/  
Unsubscribe: mailto:ontolog-forum-leave@xxxxxxxxxxxxxxxx
Shared Files: http://ontolog.cim3.net/file/
Community Wiki: http://ontolog.cim3.net/wiki/ 
To Post: mailto:ontolog-forum@xxxxxxxxxxxxxxxx    (010)

<Prev in Thread] Current Thread [Next in Thread>