Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.forth > #24492

Re: Are Computer able to think?

Newsgroups comp.lang.forth
Date 2013-07-14 21:44 -0700
References (2 earlier) <f739d884-b5ab-4526-8385-ebdf675fd582@googlegroups.com> <krso15$8nu$1@speranza.aioe.org> <97d7d1ca-626c-4770-b242-da0ec3ddab50@googlegroups.com> <krv0i6$i3r$1@speranza.aioe.org> <7xppuk25y4.fsf@ruckus.brouhaha.com>
Message-ID <e9612b6c-2fdb-4a9b-85f5-39cf04125cbd@googlegroups.com> (permalink)
Subject Re: Are Computer able to think?
From hughaguilar96@yahoo.com

Show all headers | View raw


On Sunday, July 14, 2013 2:21:39 PM UTC-7, Paul Rubin wrote:
> "Rod Pemberton" <do_not_have@notemailnotq.cpm> writes:
> 
> >> Arduino as the microprocessor grail, but totally without Forth?
> > Forth may fit on such processors, but I personally believe C is the
> > best choice.
> 
> Forth seems well suited for the Arduino in that:
>   1) you can run a complete Forth environment directly in the Arduino,
>       while C has to be cross compiled;
>   2) Forth has an interactive development model where you can change
>      the code without disturbing the program data.  C environments
>      usually involve re-initializing the device every time you load
>      new code.  Interaction makes some forms of testing and debugging
>      much easier.
> Interaction is also seen as an advantage of Lisp, Python, Smalltalk, etc.

Forth is not well suited for the Arduino. The Arduino uses an AVR8 processor, which does not allow the program to modify the program-memory during run-time. This means that Forth can't run on the AVR8 unless it is a threaded system with the threaded-code in RAM, but there isn't enough RAM for that. As a practical matter, the only way to use Forth on an AVR8 is to cross-compile --- so there is no advantage over C.

This is largely why I'm interested in the PIC24. The PIC24 does allow a program to modify program-memory during run-time (doing so is somewhat clunky as program-memory is 24-bits wide and your registers are 16-bits, but it can be done), so a Forth compiler can reside on the chip and provide an interactive development environment such as you are describing. The MSP-430 is another good choice, as is the AVR32. But the AVR8 is an old-school processor that really has to be cross-compiled to. 

All in all, the AVR8 is obsolete --- there are a lot better choices available --- other than the Arduino, it is not really used much anymore, although it was pretty powerful for its day.

Back to comp.lang.forth | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Are Computer able to think? visualforth@rocketmail.com - 2013-07-12 06:18 -0700
  Re: Are Computer able to think? Alex McDonald <blog@rivadpm.com> - 2013-07-12 07:42 -0700
  Re: Are Computer able to think? Jason Damisch <jasondamisch@yahoo.com> - 2013-07-12 12:33 -0700
    Re: Are Computer able to think? Jason Damisch <jasondamisch@yahoo.com> - 2013-07-12 12:46 -0700
      Re: Are Computer able to think? Brad Eckert <hwfwguy@gmail.com> - 2013-07-12 14:28 -0700
        Re: Are Computer able to think? Jason Damisch <jasondamisch@yahoo.com> - 2013-07-12 14:50 -0700
          Re: Are Computer able to think? albert@spenarnc.xs4all.nl (Albert van der Horst) - 2013-07-18 11:36 +0000
            Re: Are Computer able to think? Andrew Haley <andrew29@littlepinkcloud.invalid> - 2013-07-18 07:31 -0500
              Re: Are Computer able to think? Bernd Paysan <bernd.paysan@gmx.de> - 2013-07-18 23:41 +0200
  Re: Are Computer able to think? Bernd Paysan <bernd.paysan@gmx.de> - 2013-07-13 02:52 +0200
    Re: Are Computer able to think? hughaguilar96@yahoo.com - 2013-07-12 20:06 -0700
      Re: Are Computer able to think? Bernd Paysan <bernd.paysan@gmx.de> - 2013-07-13 14:34 +0200
        Re: Are Computer able to think? hughaguilar96@yahoo.com - 2013-07-13 19:54 -0700
          Re: Are Computer able to think? albert@spenarnc.xs4all.nl (Albert van der Horst) - 2013-07-14 11:32 +0000
            Re: Are Computer able to think? Paul Rubin <no.email@nospam.invalid> - 2013-07-14 11:46 -0700
          Re: Are Computer able to think? hughaguilar96@yahoo.com - 2013-07-14 21:57 -0700
    Re: Are Computer able to think? hughaguilar96@yahoo.com - 2013-07-12 20:44 -0700
      Re: Are Computer able to think? Bernd Paysan <bernd.paysan@gmx.de> - 2013-07-13 14:37 +0200
  Re: Are Computer able to think? hughaguilar96@yahoo.com - 2013-07-12 20:08 -0700
  Re: Are Computer able to think? Andrew Haley <andrew29@littlepinkcloud.invalid> - 2013-07-13 01:44 -0500
    Re: Are Computer able to think? Hans Bezemer <the.beez.speaks@gmail.com> - 2013-07-13 22:25 +0200
  Re: Are Computer able to think? "Rod Pemberton" <do_not_have@notemailnotq.cpm> - 2013-07-13 06:15 -0400
    Re: Are Computer able to think? visualforth@rocketmail.com - 2013-07-13 11:31 -0700
      Re: Are Computer able to think? "Rod Pemberton" <do_not_have@notemailnotq.cpm> - 2013-07-13 19:31 -0400
        Re: Are Computer able to think? visualforth@rocketmail.com - 2013-07-13 18:17 -0700
          Re: Are Computer able to think? "Rod Pemberton" <do_not_have@notemailnotq.cpm> - 2013-07-14 16:11 -0400
            Re: Are Computer able to think? Paul Rubin <no.email@nospam.invalid> - 2013-07-14 14:21 -0700
              Re: Are Computer able to think? visualforth@rocketmail.com - 2013-07-14 15:03 -0700
                Re: Are Computer able to think? hughaguilar96@yahoo.com - 2013-07-14 21:51 -0700
                Re: Are Computer able to think? visualforth@rocketmail.com - 2013-07-15 00:09 -0700
                Re: Are Computer able to think? Paul Rubin <no.email@nospam.invalid> - 2013-07-15 02:39 -0700
                Re: Are Computer able to think? visualforth@rocketmail.com - 2013-07-17 04:21 -0700
                Re: Are Computer able to think? "Elizabeth D. Rather" <erather@forth.com> - 2013-07-17 07:31 -1000
                Re: Are Computer able to think? visualforth@rocketmail.com - 2013-07-17 12:06 -0700
                Re: Are Computer able to think? hughaguilar96@yahoo.com - 2013-07-17 23:53 -0700
                Re: Are Computer able to think? Paul Rubin <no.email@nospam.invalid> - 2013-07-18 22:23 -0700
                Re: Are Computer able to think? visualforth@rocketmail.com - 2013-07-19 00:48 -0700
              Re: Are Computer able to think? "Rod Pemberton" <do_not_have@notemailnotq.cpm> - 2013-07-14 18:22 -0400
                Re: Are Computer able to think? Paul Rubin <no.email@nospam.invalid> - 2013-07-14 15:44 -0700
                Re: Are Computer able to think? "Rod Pemberton" <do_not_have@notemailnotq.cpm> - 2013-07-15 21:00 -0400
                Re: Are Computer able to think? Andrew Haley <andrew29@littlepinkcloud.invalid> - 2013-07-16 03:43 -0500
                Re: Are Computer able to think? Paul Rubin <no.email@nospam.invalid> - 2013-07-16 23:24 -0700
                Re: Are Computer able to think? The Beez <the.beez.speaks@gmail.com> - 2013-07-16 07:24 -0700
                Re: Are Computer able to think? Hans Bezemer <the.beez.speaks@gmail.com> - 2013-07-16 23:41 +0200
                Re: Are Computer able to think? Paul Rubin <no.email@nospam.invalid> - 2013-07-16 19:16 -0700
                Re: Are Computer able to think? AKK <akk@nospam.org> - 2013-07-17 08:04 +0200
                Re: Are Computer able to think? Paul Rubin <no.email@nospam.invalid> - 2013-07-16 23:27 -0700
                Re: Are Computer able to think? "Elizabeth D. Rather" <erather@forth.com> - 2013-07-16 20:48 -1000
                Re: Are Computer able to think? Hans Bezemer <the.beez.speaks@gmail.com> - 2013-07-17 11:51 +0200
                Re: Are Computer able to think? Alex McDonald <blog@rivadpm.com> - 2013-07-17 04:49 -0700
                Re: Are Computer able to think? The Beez <the.beez.speaks@gmail.com> - 2013-07-18 07:15 -0700
                Re: Are Computer able to think? Andrew Haley <andrew29@littlepinkcloud.invalid> - 2013-07-18 11:59 -0500
                Re: Are Computer able to think? Hans Bezemer <the.beez.speaks@gmail.com> - 2013-07-18 21:56 +0200
                Re: Are Computer able to think? Bernd Paysan <bernd.paysan@gmx.de> - 2013-07-18 23:45 +0200
                Re: Are Computer able to think? Alex McDonald <blog@rivadpm.com> - 2013-07-18 15:16 -0700
                Re: Are Computer able to think? Andrew Haley <andrew29@littlepinkcloud.invalid> - 2013-07-18 17:40 -0500
                Re: Are Computer able to think? Bernd Paysan <bernd.paysan@gmx.de> - 2013-07-19 01:08 +0200
                Re: Are Computer able to think? Andrew Haley <andrew29@littlepinkcloud.invalid> - 2013-07-19 02:48 -0500
                Re: Are Computer able to think? Mark Wills <markrobertwills@yahoo.co.uk> - 2013-07-19 01:18 -0700
                Re: Are Computer able to think? Andrew Haley <andrew29@littlepinkcloud.invalid> - 2013-07-19 03:35 -0500
                Re: Are Computer able to think? anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2013-07-22 09:50 +0000
                Re: Are Computer able to think? Andrew Haley <andrew29@littlepinkcloud.invalid> - 2013-07-18 17:32 -0500
                Re: Are Computer able to think? Hans Bezemer <the.beez.speaks@gmail.com> - 2013-07-19 19:28 +0200
                Re: Are Computer able to think? Paul Rubin <no.email@nospam.invalid> - 2013-07-19 10:51 -0700
                Re: Are Computer able to think? Hans Bezemer <the.beez.speaks@gmail.com> - 2013-07-20 00:34 +0200
                Re: Are Computer able to think? Paul Rubin <no.email@nospam.invalid> - 2013-07-19 23:08 -0700
                Re: Are Computer able to think? Andrew Haley <andrew29@littlepinkcloud.invalid> - 2013-07-20 05:49 -0500
                Re: Are Computer able to think? Jason Damisch <jasondamisch@yahoo.com> - 2013-07-20 06:21 -0700
                Re: Are Computer able to think? Brad Eckert <hwfwguy@gmail.com> - 2013-07-20 14:02 -0700
                Re: Are Computer able to think? Paul Rubin <no.email@nospam.invalid> - 2013-07-20 17:02 -0700
                Re: Are Computer able to think? visualforth@rocketmail.com - 2013-07-21 10:02 -0700
                Re: Are Computer able to think? Jason Damisch <jasondamisch@yahoo.com> - 2013-07-21 10:07 -0700
                Re: Are Computer able to think? Hannu Vuolasaho <hannu.vuolasaho@nospam.tut.fi.invalid> - 2013-07-21 19:23 +0000
                Re: Are Computer able to think? Lars Brinkhoff <lars.spam@nocrew.org> - 2013-07-20 10:07 +0200
                Re: Are Computer able to think? Andrew Haley <andrew29@littlepinkcloud.invalid> - 2013-07-19 18:16 -0500
                Re: Are Computer able to think? Alex McDonald <blog@rivadpm.com> - 2013-07-18 15:09 -0700
                Re: Are Computer able to think? Paul Rubin <no.email@nospam.invalid> - 2013-07-17 10:46 -0700
                Re: Are Computer able to think? Hans Bezemer <the.beez.speaks@gmail.com> - 2013-07-18 00:40 +0200
                Re: Are Computer able to think? Paul Rubin <no.email@nospam.invalid> - 2013-07-17 21:34 -0700
                Re: Are Computer able to think? hughaguilar96@yahoo.com - 2013-07-17 23:55 -0700
                Re: Are Computer able to think? Andrew Haley <andrew29@littlepinkcloud.invalid> - 2013-07-18 13:03 -0500
                Re: Are Computer able to think? Hans Bezemer <the.beez.speaks@gmail.com> - 2013-07-18 22:00 +0200
                Re: Are Computer able to think? The Beez <the.beez.speaks@gmail.com> - 2013-07-18 07:21 -0700
                Re: Are Computer able to think? Paul Rubin <no.email@nospam.invalid> - 2013-07-18 11:02 -0700
                Re: Are Computer able to think? Hans Bezemer <the.beez.speaks@gmail.com> - 2013-07-18 22:02 +0200
                Re: Are Computer able to think? Paul Rubin <no.email@nospam.invalid> - 2013-07-18 21:43 -0700
                Re: Are Computer able to think? Andrew Haley <andrew29@littlepinkcloud.invalid> - 2013-07-17 03:29 -0500
              Re: Are Computer able to think? hughaguilar96@yahoo.com - 2013-07-14 21:44 -0700
                Re: Are Computer able to think? Bernd Paysan <bernd.paysan@gmx.de> - 2013-07-15 16:45 +0200
                Re: Are Computer able to think? hughaguilar96@yahoo.com - 2013-07-15 20:32 -0700
  Re: Are Computer able to think? mentifex@myuw.net - 2013-07-14 11:52 -0700
  Re: Are Computer able to think? Mark Wills <markrobertwills@yahoo.co.uk> - 2013-07-17 05:24 -0700
  Re: Are Computer able to think? albert@spenarnc.xs4all.nl (Albert van der Horst) - 2013-07-18 11:15 +0000
    Re: Are Computer able to think? Brad Eckert <hwfwguy@gmail.com> - 2013-07-18 11:33 -0700
  Re: Are Computer able to think? jim@rainbarrel.com - 2013-07-24 20:09 -0700
    Re: Are Computer able to think? m.a.m.hendrix@tue.nl - 2013-07-25 00:15 -0700
    Re: Are Computer able to think? Brad Eckert <hwfwguy@gmail.com> - 2013-07-25 08:38 -0700

csiph-web