From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by yquem.inria.fr (Postfix) with ESMTP id 35325BC57 for ; Sat, 6 Nov 2010 18:47:15 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ao0GAH0x1UzZSMDjY2dsb2JhbACiCQsXCwgIEAUfvRmFSASNXw X-IronPort-AV: E=Sophos;i="4.58,308,1286143200"; d="scan'208";a="78057422" Received: from fmmailgate02.web.de ([217.72.192.227]) by mail2-smtp-roc.national.inria.fr with ESMTP; 06 Nov 2010 18:47:14 +0100 Received: from smtp01.web.de ( [172.20.0.243]) by fmmailgate02.web.de (Postfix) with ESMTP id 74DE217E6A0C2; Sat, 6 Nov 2010 18:47:14 +0100 (CET) Received: from [78.43.204.177] (helo=frosties.localdomain) by smtp01.web.de with asmtp (TLSv1:AES256-SHA:256) (WEB.DE 4.110 #24) id 1PEmrC-0002iL-00; Sat, 06 Nov 2010 18:47:14 +0100 Received: from mrvn by frosties.localdomain with local (Exim 4.72) (envelope-from ) id 1PEmrB-0006DD-Uz; Sat, 06 Nov 2010 18:47:14 +0100 From: Goswin von Brederlow To: Philippe Wang Cc: caml-list@inria.fr Subject: Re: [Caml-list] (Announce) "OCAPIC" : OCaml for PIC18 microcontrollers References: <951AD91B-DA92-4F92-AE90-86A13DDB2357@lip6.fr> Date: Sat, 06 Nov 2010 18:47:13 +0100 In-Reply-To: (Philippe Wang's message of "Thu, 4 Nov 2010 22:44:36 +0100") Message-ID: <87wroqpcny.fsf@frosties.localdomain> User-Agent: Gnus/5.110009 (No Gnus v0.9) XEmacs/21.4.22 (linux, no MULE) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: goswin-v-b@web.de X-Sender: goswin-v-b@web.de X-Provags-ID: V01U2FsdGVkX19l3j88emj6wEGTtYqvi92EBRy+2Hg1v5cw9MOL 9R0zzmPTxKx9GBnnaczHoVgc6ZpvflLL3s2czbueEASTeHvJN/ Py7Esd79A= X-Spam: no; 0.00; ocaml:01 ocaml:01 model:01 mfg:98 ints:01 caml-list:01 writes:01 structures:02 impractical:02 bytes:03 bytes:03 programming:03 overhead:04 electronics:92 memory:09 Philippe Wang writes: > Dear all, > > this is an announcement for "OCAPIC", a project which brings OCaml to > programming PIC micro-controllers. > > Some PIC18 series characteristics: > - 8 bit architecture > - low cost (a few US dollars), fairly spread in electronics world > - very low volatile memory (a few bytes only, up to ~5000 bytes, depending on > the model) > - very low non-volatile memory (less than a KB up to 128 KB) > - EEPROM : 0 to 1024 bytes Doesn't the overhead of boxed structures as well as loosing a bit on ints make that impractical given the extremly limited memory? MfG Goswin