Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Forth Mac > Re: The same Fo...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 14 of 14 Topic 77 of 160
Post > Topic >>

Re: The same Forth on different OS

by surrel@[EMAIL PROTECTED] (Yves Surrel) Aug 23, 2004 at 02:28 AM

surrel@[EMAIL PROTECTED]
 (Yves Surrel) wrote in message
news:<4fe1a34c.0408180032.1a130c81@[EMAIL PROTECTED]
>...
> Hello
> 

Thank you for reacting.

Good ideas about OpenGL. I spent some time browsing about. In fact,
OpenGL by itself does not handles user events (keyboard and mouse).
This is done by a wrapping software layer (GL Utility or GLUT, or
FreeGLUT that seems to be more maintained). The openGL demo at
<http://www2.megawolf.com/~ward/updates/OpenGLdemo.sit>
is veeeeery
nice! However, GLUT implements only very limited features, e.g. only
popup menus.

It would be very useful to have a common Forth interface to OpenGL
(W32Forth and PowerMops and others).

However, I still assert that the windowing stuff should be separated
from forth, even in a different language, OO-forth dealing only with
non-display-related issues (at least low-level ones). Think to forth
in this framework as a resource accessed by the user interface.

I am wondering whether a client-server architecture could be
interesting. A Forth server could be nice. What could be the best
communication between clients and the server:
-shared library could be a solution (I have still some problems, see
the thread "Shared libraries" in this forum...);
-OS messaging system (OS dependent..., what about speed?)
-using sockets (same question...)
-other?

The built-in interpreter and compiler of Forth makes the server
concept very attractive. The clients have only to communicate with
strings (think of the communication to a database server with SQL, for
example), with the enormous advantage of the extensible wordset. At
configuration time, the client sends the string ": MyProc < known
words > ;" and at execution time it sends "MyProc". Very practival and
efficient. All the power of and object-oriented engine available to
any client.

But please try to think about separation of user interface and the
Forth core.

Cheers

Yves
 




 14 Posts in Topic:
The same Forth on different OS
surrel@[EMAIL PROTECTED]   2004-08-18 01:32:13 
Re: The same Forth on different OS
ward@[EMAIL PROTECTED] (  2004-08-18 08:58:05 
Re: The same Forth on different OS
"Conrad Weyns"   2004-08-20 09:25:23 
Re: The same Forth on different OS
ward@[EMAIL PROTECTED] (  2004-08-20 07:04:43 
Re: The same Forth on different OS
Mike Hore <mikehoreREM  2004-08-26 11:21:28 
Re: The same Forth on different OS
ward@[EMAIL PROTECTED] (  2004-08-26 13:48:27 
Re: The same Forth on different OS
"Alex McDonald"  2004-08-20 11:01:38 
Re: The same Forth on different OS
"Alex McDonald"  2004-08-18 15:16:34 
Re: The same Forth on different OS
Mike Hore <mikehoreREM  2004-08-19 09:22:56 
Re: The same Forth on different OS
"Alex McDonald"  2004-08-19 15:46:14 
Re: The same Forth on different OS
stephenXXX@[EMAIL PROTECT  2004-08-19 11:29:52 
Re: The same Forth on different OS
"Charles A. Davis&qu  2004-09-13 12:18:35 
Re: The same Forth on different OS
stephenXXX@[EMAIL PROTECT  2004-09-14 12:16:59 
Re: The same Forth on different OS
surrel@[EMAIL PROTECTED]   2004-08-23 02:28:41 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Oct 13 8:27:07 CDT 2008.