Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.forth > #43422
| Date | 2015-11-09 12:15 +0000 |
|---|---|
| From | Jan Coombs <Jan-54 <jenfhaomndgfwutc@murmic.plus.com>> |
| Newsgroups | comp.lang.forth |
| Subject | Re: objects build up from other objects - even Forth? |
| Message-ID | <20151109121508.46ca9b27@TP-T500> (permalink) |
| References | (4 earlier) <563e14c9$0$298$14726298@news.sunsite.dk> <po6dndyySouf3KPLnZ2dnUU7-b_46u6z@supernews.com> <ad27da57-76c8-44d0-afad-87f1903af898@googlegroups.com> <m8udnT9l5om4z93LnZ2dnUU7-R2dnZ2d@supernews.com> <b805b945-b4ff-4ff5-9964-a1d408f9b130@googlegroups.com> |
On Mon, 9 Nov 2015 01:57:43 -0800 (PST) Mark Wills <markwills1970@gmail.com> wrote: > One of the best examples of OO being useful in Forth would be > Forth itself! A pure OO Forth would need only an object stack > and a return stack. Integers, floats, strings, database > connections, GUI object references would all go on the same > stack regardless of type. You can see an implementation of this in the Python stack engine - it's about two pages of code in C. But this is probably too much of a speed burden for those used to Forth. > Contrast that with todays situation where floats *may* go on > the data stack, but may not, etc. Some [no ref!] have used tagged data as a compromise: A stack item can then be an integer or an object pointer. This allows relatively quick numeric computation, and also object pointers for any more complex data type. This tag could be extended to also support a float type on the same stack. > This could actually simplify life for both the implementor and > the programmer! Current hardware (mostly) does not provide support for tagged data. New hardware could do this, and substantially improve processor system efficiency. [1] A hardware stack processor with tagged data could take these simplicity, assured precision, and efficiency prospects much further than register based processor systems. Jan Coombs -- [1a] [Slides] Unum [precice and 'green'] float representation: http://sites.ieee.org/scv-cs/files/2013/03/Right-SizingPrecision1.pdf [1b] Brief report with ascii-pic of proposed float data layout: https://github.com/tbreloff/Unums.jl/wiki/Unum-Summary-%28in-progress%29 email valid, else fix dots and hyphen jan4clf2014@murrayhyphenmicroftdotcodotuk
Back to comp.lang.forth | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
objects build up from other objects Albert van der Horst <albert@spenarnc.xs4all.nl> - 2015-11-04 14:44 +0000
Re: objects build up from other objects franck.bensusan@gmail.com - 2015-11-04 09:17 -0800
Re: objects build up from other objects Doug Hoffman <glidedog@gmail.com> - 2015-11-05 10:07 -0500
Re: objects build up from other objects Hans Bezemer <the.beez.speaks@gmail.com> - 2015-11-05 18:34 +0100
Re: objects build up from other objects Albert van der Horst <albert@spenarnc.xs4all.nl> - 2015-11-06 00:09 +0000
Re: objects build up from other objects Doug Hoffman <glidedog@gmail.com> - 2015-11-05 21:47 -0500
Re: objects build up from other objects Hans Bezemer <the.beez.speaks@gmail.com> - 2015-11-06 09:37 +0100
Re: objects build up from other objects Doug Hoffman <glidedog@gmail.com> - 2015-11-06 04:52 -0500
Re: objects build up from other objects Hans Bezemer <the.beez.speaks@gmail.com> - 2015-11-06 12:36 +0100
Re: objects build up from other objects Albert van der Horst <albert@spenarnc.xs4all.nl> - 2015-11-06 12:13 +0000
Re: objects build up from other objects hughaguilar96@gmail.com - 2015-11-06 15:32 -0800
Re: objects build up from other objects hughaguilar96@gmail.com - 2015-11-05 13:15 -0800
Re: objects build up from other objects franck.bensusan@gmail.com - 2015-11-05 15:19 -0800
Re: objects build up from other objects hughaguilar96@gmail.com - 2015-11-05 22:10 -0800
Re: objects build up from other objects franck.bensusan@gmail.com - 2015-11-07 07:50 -0800
Re: objects build up from other objects hughaguilar96@gmail.com - 2015-11-07 13:46 -0800
Re: objects build up from other objects franck.bensusan@gmail.com - 2015-11-07 14:46 -0800
Re: objects build up from other objects Albert van der Horst <albert@spenarnc.xs4all.nl> - 2015-11-06 00:20 +0000
Re: objects build up from other objects Ron Aaron <rambamist@gmail.com> - 2015-11-06 07:39 +0200
Re: objects build up from other objects Doug Hoffman <glidedog@gmail.com> - 2015-11-04 15:33 -0500
Re: objects build up from other objects Chris Curl <ccurl609@gmail.com> - 2015-11-06 06:31 -0800
Re: objects build up from other objects Hans Bezemer <the.beez.speaks@gmail.com> - 2015-11-06 18:48 +0100
Re: objects build up from other objects "Elizabeth D. Rather" <erather@forth.com> - 2015-11-06 08:15 -1000
Re: objects build up from other objects Doug Hoffman <glidedog@gmail.com> - 2015-11-06 13:44 -0500
Re: objects build up from other objects "Elizabeth D. Rather" <erather@forth.com> - 2015-11-06 11:10 -1000
Re: objects build up from other objects josv@planet.nl - 2015-11-06 15:19 -0800
Re: objects build up from other objects "Elizabeth D. Rather" <erather@forth.com> - 2015-11-06 14:54 -1000
Re: objects build up from other objects anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2015-11-07 16:57 +0000
Re: objects build up from other objects "Elizabeth D. Rather" <erather@forth.com> - 2015-11-07 08:13 -1000
Re: objects build up from other objects Chris Curl <ccurl609@gmail.com> - 2015-11-06 19:31 -0800
Re: objects build up from other objects hughaguilar96@gmail.com - 2015-11-06 20:03 -0800
Re: objects build up from other objects josv@planet.nl - 2015-11-07 01:43 -0800
Re: objects build up from other objects "HAA" <someone@microsoft.com> - 2015-11-07 15:03 +1100
Re: objects build up from other objects hughaguilar96@gmail.com - 2015-11-06 20:42 -0800
Re: objects build up from other objects Doug Hoffman <glidedog@gmail.com> - 2015-11-07 10:12 -0500
Re: objects build up from other objects Chris Curl <ccurl609@gmail.com> - 2015-11-07 10:01 -0800
Re: objects build up from other objects Doug Hoffman <glidedog@gmail.com> - 2015-11-08 08:22 -0500
Re: objects build up from other objects Chris Curl <ccurl609@gmail.com> - 2015-11-08 06:37 -0800
Re: objects build up from other objects "Rod Pemberton" <boo@fasdfrewar.cdm> - 2015-11-08 15:01 -0500
Re: objects build up from other objects Doug Hoffman <glidedog@gmail.com> - 2015-11-09 07:27 -0500
Re: objects build up from other objects "Elizabeth D. Rather" <erather@forth.com> - 2015-11-07 08:20 -1000
Re: objects build up from other objects franck.bensusan@gmail.com - 2015-11-08 23:44 -0800
Re: objects build up from other objects "Elizabeth D. Rather" <erather@forth.com> - 2015-11-08 21:58 -1000
Re: objects build up from other objects Mark Wills <markwills1970@gmail.com> - 2015-11-09 01:57 -0800
Re: objects build up from other objects Ron Aaron <rambamist@gmail.com> - 2015-11-09 12:46 +0200
Re: objects build up from other objects Mark Wills <markwills1970@gmail.com> - 2015-11-09 03:04 -0800
Re: objects build up from other objects hughaguilar96@gmail.com - 2015-11-09 23:14 -0800
Re: objects build up from other objects - even Forth? Jan Coombs <Jan-54 <jenfhaomndgfwutc@murmic.plus.com>> - 2015-11-09 12:15 +0000
Re: objects build up from other objects - even Forth? franck.bensusan@gmail.com - 2015-11-09 12:25 -0800
Re: objects build up from other objects - even Forth? Jan Coombs <Jan-54 <jenfhaomndgfwutc@murmic.plus.com>> - 2015-11-10 10:48 +0000
Re: objects build up from other objects - even Forth? franck.bensusan@gmail.com - 2015-11-10 04:31 -0800
Re: objects build up from other objects - even Forth? hughaguilar96@gmail.com - 2015-11-10 18:06 -0800
Re: objects build up from other objects - even Forth? franck.bensusan@gmail.com - 2015-11-11 00:49 -0800
Re: objects build up from other objects - even Forth? Paul Rubin <no.email@nospam.invalid> - 2015-11-11 01:13 -0800
Re: objects build up from other objects - even Forth? franck.bensusan@gmail.com - 2015-11-11 01:52 -0800
Re: objects build up from other objects - even Forth? hughaguilar96@gmail.com - 2015-11-11 15:54 -0800
Re: objects build up from other objects - even Forth? stephen@mpeforth.com (Stephen Pelc) - 2015-11-12 11:01 +0000
Re: objects build up from other objects - even Forth? hughaguilar96@gmail.com - 2015-11-12 11:07 -0800
Re: objects build up from other objects - even Forth? Paul Rubin <no.email@nospam.invalid> - 2015-11-11 15:55 -0800
Re: objects build up from other objects - even Forth? Mark Wills <markwills1970@gmail.com> - 2015-11-12 00:50 -0800
Re: objects build up from other objects - even Forth? Paul Rubin <no.email@nospam.invalid> - 2015-11-12 18:21 -0800
Re: objects build up from other objects anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2015-11-09 12:16 +0000
Re: objects build up from other objects Doug Hoffman <glidedog@gmail.com> - 2015-11-09 07:38 -0500
Re: objects build up from other objects franck.bensusan@gmail.com - 2015-11-09 04:15 -0800
Re: objects build up from other objects Albert van der Horst <albert@spenarnc.xs4all.nl> - 2015-11-09 15:29 +0000
Re: objects build up from other objects "Elizabeth D. Rather" <erather@forth.com> - 2015-11-09 09:09 -1000
Re: objects build up from other objects hughaguilar96@gmail.com - 2015-11-09 22:41 -0800
Re: objects build up from other objects Chris Curl <ccurl609@gmail.com> - 2015-11-06 19:14 -0800
Re: objects build up from other objects hughaguilar96@gmail.com - 2015-11-06 19:39 -0800
Re: objects build up from other objects Doug Hoffman <glidedog@gmail.com> - 2015-11-07 09:04 -0500
Re: objects build up from other objects lehs <skydda.barnen@gmail.com> - 2015-11-06 09:20 -0800
Re: objects build up from other objects Doug Hoffman <glidedog@gmail.com> - 2015-11-08 06:12 -0500
csiph-web