comp.lang.ada
 help / color / mirror / Atom feed
From: Adam Jensen <hanzer@riseup.net>
Subject: Re: Getting started with bare-board development
Date: Tue, 15 Nov 2016 17:07:13 -0500
Date: 2016-11-15T17:07:13-05:00	[thread overview]
Message-ID: <o0g0ti$hbb$1@dont-email.me> (raw)
In-Reply-To: <2c9029c3-c45e-4bb8-9695-434f82265137@googlegroups.com>

On 11/15/2016 02:34 PM, Robert Eachus wrote:
> Just a couple of reminders that you may want to put on your screen saver, or a plaque above your desk:
> 
> Make it run, then make it right, then make it fast [Kent Beck]
> 
> Premature optimization is the root of all evil [Donald Knuth]
> 
> Moving from hardware to software, or mixing them together, it is sometimes hard to remember this key to software development. With Ada you are best off pulling any interface or (software) algorithm into a package.  Sometimes a package you create this way will be implemented by interfacing to a library package, from the Ada RM, the device manufacturer, or a code repository.  Let the compiler do the hard work of eliminating unused code, call throughs, and inlining a short procedures and functions. You will be amazed at the small ratio between lines of source code (SLOC) and the size in bytes of the resulting hardware module.  (Don't forget to strip out the debugging support, enumeration literals, etc., before measuring. ;-)

I am well steeped in the Tao of Unix[1..4], but I don't think I would
apply a bottom-up approach to high assurance system development if I
didn't have to [5]; and for the system I have in mind, I don't have to
[6] <smirk>.

[1]: http://recycle.lbl.gov/~ldoolitt/unix.tao.txt
[2]: https://gist.github.com/wmayner/d3a0ebf059982abbe3ad
[3]: http://catb.org/~esr/writings/taoup/
[4]: http://huffman.sourceforge.net/tao/tao-of-programming.html
[5]: http://recklessabandonlabs.com/img/logo.png
[6]: https://youtu.be/gQxke0REFMA


      reply	other threads:[~2016-11-15 22:07 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-11 22:19 Getting started with bare-board development Adam Jensen
2016-11-11 22:43 ` Maciej Sobczak
2016-11-12  9:45 ` G.B.
2016-11-12 16:14   ` Adam Jensen
2016-11-12 19:15     ` artium
2016-11-12 21:37       ` Adam Jensen
2016-11-13  4:01     ` Jeffrey R. Carter
2016-11-13 20:03       ` Adam Jensen
2016-11-13 21:04         ` Jeffrey R. Carter
2016-11-13 22:00           ` Adam Jensen
2016-11-14  8:11             ` Paul Rubin
2016-11-14 23:03               ` Adam Jensen
2016-11-14  9:04             ` Dmitry A. Kazakov
2016-11-14 23:35               ` Adam Jensen
2016-11-15  8:38                 ` Dmitry A. Kazakov
2016-11-15  9:58                   ` Niklas Holsti
2016-11-15 17:32                   ` Adam Jensen
2016-11-16  9:30                     ` Dmitry A. Kazakov
2016-11-15  0:06             ` Jeffrey R. Carter
2016-11-14 18:17     ` Simon Wright
2016-11-14 22:52       ` Adam Jensen
2016-11-12 20:59 ` Brian Drummond
2016-11-15  1:14 ` antispam
2016-11-15  4:20   ` Adam Jensen
2016-11-19 22:46     ` antispam
2016-11-15 19:34 ` Robert Eachus
2016-11-15 22:07   ` Adam Jensen [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox