<div dir="ltr">Well Fortran, C, and even (I assume!) Cobol, are all Turning Complete, so you can do anything any of those languages can do, in any other of them. But some languages are a more facile vernacular for a problem domain. If I wrote C to do the abstract algebra that Cayley does I'd be reinventing many wheels. It's true that emacs would be better for some things than vi, but I always use the latter because I know it; but it's worth learning any scripting language to do scripting when compiling would be nuts.<div><br></div><div>Peter</div></div><br><div class="gmail_quote"><div dir="ltr">On Thu, Nov 29, 2018 at 10:22 AM Stu Midgley <<a href="mailto:sdm900@gmail.com">sdm900@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
But yeah, C can do anything Fortran can do, and then some. People do<br>
not write operating systems in Fortran for a reason. </blockquote><div><br></div><div>I've written a fortran-like scripting language (and the bones of a basic compiler) in Fortran... everything you can do in C you can do in Fortran.</div><div><br></div><div>People often use the lack of pointers as a reason to NOT use Fortran, which is rubbish. Just allocate the whole address space and go to town with your own pointers. Which... if you really think about it is all that C does. In theory the concept of a SIGSEG is only an OS limitation on C. You "can" in theory just allocate any address you want without allocation and pre-allocation.</div><div> </div></div>-- <br><div dir="ltr" class="m_-13421448460331969gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Dr Stuart Midgley<br><a href="mailto:sdm900@gmail.com" target="_blank">sdm900@gmail.com</a></div></div></div>
</blockquote></div>