[dorkbotpdx-blabber] REMINDER: Pd workshop this Sunday.
Ward Cunningham
ward at c2.com
Tue May 19 10:14:35 EDT 2009
I've had a long term interest in practical code generation for the
AVR. I believe that C offers a less than ideal abstraction. For
example, I could not write my video bar chart program in C and squeeze
it into a Tiny12 at 1 MHz. But then I ask, what would I like to write
that program in so as to avoid the usual mistakes associated with
assembly language. Some conclusions:
* The AVR programmer's primary task is one of resource allocation and
configuration, not logic or algorithm.
* When a resource is exhausted (say registers) the generator should
not forge ahead wasting bytes and cycles, better it say: simplify your
program.
Codosome-2 is a prototype cross-compiler for the AVR that builds a
java object model of the program being assembled and allows one to
test and refactor program fragments as the compiler runs. I have
successfully compiled a variation of "tiny tv" with it.
I am thinking about what Codosome-3 should be. I would like to make it
a server based tool (probably in rails, but maybe scala) that uses
advanced web programming (probably in jQuery) to configure library
components/generators in an edit/download cycle of only a few seconds.
I'm attracted to a web implementation because it simplifies sharing
(inspired by wiki).
I would be interested in collaborating with folks on such a project,
especially if they are more interested in exploring a new space than
getting done quickly.
Best regards. -- Ward
__________________
Ward Cunningham
503-432-5682
On May 18, 2009, at 12:06 PM, Thomas Lockney wrote:
> On Mon, May 18, 2009 at 11:50 AM, Hans Lindauer <armatronix at sbcglobal.net
> > wrote:
> No, not for audio - I want something for programming
> microcontrollers. Is this unrealistic to imagine?
>
> I was wondering how hard it would be to make something along those
> lines. Greg Borenstein has been working on a Ruby environment for
> programming Arduinos (RAD - Ruby Arduino Development) and it
> occurred to me that if you could bundle small "chunks" of code, it
> wouldn't be too hard to come up with an environment that let you
> "wire" them together. Granted, this could be done without the
> intermediate step of using RAD, but the flexibility of Ruby (or a
> similar language) would make it a bit easier to bootstrap this sort
> of thing.
>
>
>
> _______________________________________________
> dorkbotpdx-blabber mailing list
> dorkbotpdx-blabber at dorkbot.org
> http://music.columbia.edu/mailman/listinfo/dorkbotpdx-blabber
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://music.columbia.edu/pipermail/dorkbotpdx-blabber/attachments/20090519/19c3232a/attachment.html
More information about the dorkbotpdx-blabber
mailing list