On Friday 03 October 2014 08:24:15 Erik Christiansen did opine
And Gene did reply:
> On 03.10.14 12:06, andy pugh wrote:
> > On 3 October 2014 11:38, Erik Christiansen <dva...@internode.on.net> 
wrote:
> > >> > said that a determined programmer can write fortran in any
> > >> > language.
> > >> 
> > >> You have seen the FORTRAN++ that makes up the bulk of the NML code
> > >> in LinuxCNC then?
> > > 
> > > Errr ... is that relevant to the context?
> > 
> > It was a joke. Or an attempt at one. As far as I know there is no
> > such language.
> > Some bits of  LinuxCNC is written in C++ that looks more like FORTRAN
> 
> Sorry to spoil the joke by needing an explanation. I'm clearly a bit
> slow, here at the end of the week.
> 
> Despite buying a couple of books on C++, about 20 years ago, I only
> ever wrote one program in the language. IIRC, Linus Torvalds refuses to
> let any of it into his kernel. That seems wise.
> 
> Luckily, I never had to use it in several decades of developing
> embedded systems. My first defence was always "especially with late
> binding, inheritance will emasculate our real-time performance." That
> was usually enough to make eager-to-be-with-it managers wander off
> dispiritedly.
> 
> The sig, below, was another worry. But since the lauded benefits of OO
> mostly amount to increased cohesion and decreased coupling, I figured
> that with rigorous design discipline, C could provide similar
> maintainability attributes, but without the pain. (And anyway, I could
> estimate a C & assembler project reliably enough to deliver on time. If
> we'd ever dived into C++, I'd be flying blind - and be answerable for
> having half a product when both time and money were gone.)
> 
> There wouldn't be much of it in your engine controllers?
> 
> Erik

That too is my take on C++.  I have done several projects in C with 
compilers of various capabilities, even going so far as to finish a re-
write of the os9 c.prep 20 years back, and which lasted until someone else 
found a missing piece about 3 years ago & added it to my src's.

But for ultimate speed, assembly to native code cannot be matched.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>
US V Castleman, SCOTUS, Mar 2014 is grounds for Impeaching SCOTUS

------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to