- GOTOs

From: Campbell, Robert D (SELEX) (UK Edinburgh) <"Campbell,>
Date: Fri, 28 Oct 2005 10:43:55 +0100

----boundary-LibPST-iamunique-1696058609_-_-
Content-type: text/plain


Chris

>> Ingenious!

I thought so too. It was a new idea to me, but probably
someone else has published it somewhere first.

>> However, this approach would really have to be a

>> very last, desperate, resort.


Yes, I was deperate. I'd spent nearly a week attempting
the 'Brain' approach, and had NOTHING useful to show for it.

I think it could be a GOOD technique for implementing arbitrary
state machines as well as a DESPERATE technique for translating GOTOs.


>> How are you able to have any trust in the results of a

>> program that is so incomprehensible?


Plot & eyeball the filter frequency response. Easy.

Imagine a complicated (in terms of mathematical theory
AND software implementation) program for factoring large
integers. Virtually impossible to tell if the program is
correct, easy to check any particular result for correctness.


>> > This algorithm (Remez) is discussed in ...
>>

>> A quick Google search revealed an alternative

>> implementation (?) of the
>> Remez Algorithm in C. I might be on the wrong track

>> altogether. Knowing
>> absolutely nothing at all about the underlying theory I'm unable to
>> judge whether or not this is a solution to the same

>> problem, or whether it has any use.

>>

>> However, this one I was able to read and have some confidence that I
>> would be able to debug it if necessary:

>>

>> http://www.janovetz.com/jake/remez/remez-19980711.zip


I had a quick look. It is a translation of the same published,
tangled, GOTOd, FORTRAN source I used (but certainly did not understand).

Does that make it more reliable than the original? I don't know.

But I agree, a very quick look at the C indicates that the author has
somehow managed to disentangle it and produce what looks like clear code.
How did he do it?

>> It would not be too difficult to translate it into Oberon / CP.

>>

>> Hmmm ... maybe a C to Oberon translator should be the next

>> project ...

Interesting thought!

>> Chris Burrows

Regards

Robert

********************************************************************
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.
********************************************************************

--- BlackBox
--- send subject HELP or UNSUBSCRIBE to blackbox{([at]})nowhere.xy



----boundary-LibPST-iamunique-1696058609_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.r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KLS0tIHNl
bmQgc3ViamVjdCBIRUxQIG9yIFVOU1VCU0NSSUJFIHRvIGJsYWNrYm94QG9iZXJvbi5jaH19ACBo
aXRzPTAuMCA

----boundary-LibPST-iamunique-1696058609_-_---
Received on Fri Oct 28 2005 - 11:43:55 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:28:07 UTC