Path: csiph.com!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: Martin Gregorie Newsgroups: comp.lang.java.programmer Subject: Re: is the java compiler written in c Date: Fri, 21 Aug 2015 23:32:49 +0000 (UTC) Organization: A noiseless patient Spider Lines: 24 Message-ID: References: <893a1a37-881c-4e59-a069-38386dd1b0fd@googlegroups.com> <7b5d28de-2f30-4db7-aec7-03bd9ce81d00@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Fri, 21 Aug 2015 23:32:49 +0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="e5160e2be48f1ea550cf61512446f525"; logging-data="4060"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX198sRBzYbVnNz55gJAg+lnqsjNU6WjrJ24=" User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508 git://git.gnome.org/pan2) Cancel-Lock: sha1:67sxfheF+E6Cnk6qbZuKTWjH4DY= Xref: csiph.com comp.lang.java.programmer:32395 On Fri, 21 Aug 2015 16:51:00 -0500, BGB wrote: > one could be like, "how does one do anything with only a few kB of > ROM?", but it partly is a matter of perspective. if you expect to use a > big complex program, it wont work. if can do everything in maybe a few > hundred lines of C (sans comments), then, say, a 2kB ROM space and 256B > of RAM is sufficient. > Slightly OT I know, but it can be an interesting experience to get something running on a Parallax BS2 - its programmed in P-coded integer BASIC with room doe maybe 200 lines of code and has 32 bytes of RAM, which includes the memory-mapped I/o ports However, at least to can store constants in the flash memory that holds the user code. If you think it out appropriately you can do more than you can expect, not least because variables can be 1,2 or 8 bits in length. I've not (yet) used one, but I'd imagine that using a PICAXE chip would be quite similar. -- martin@ | Martin Gregorie gregorie. | Essex, UK org |