Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.forth > #55728
| From | Ron Aaron <rambamist@gmail.com> |
|---|---|
| Newsgroups | comp.lang.forth |
| Subject | Re: Collections processing in Oforth |
| Date | 2017-03-13 08:05 +0200 |
| Organization | A noiseless patient Spider |
| Message-ID | <oa5cma$1rk$1@dont-email.me> (permalink) |
| References | <47e67d0c-b5b7-4c2a-8fce-551956ad05d6@googlegroups.com> <b73e6ddf-d687-4789-8d8a-8bd252de9bee@googlegroups.com> <e47e588d-cb2d-481e-a42f-a1d2c6de4f70@googlegroups.com> <oa39n8$qu3$1@dont-email.me> <fc5b8501-72dc-4497-93ed-d38b53e18f61@googlegroups.com> |
On 03/12/17 14:06, franck.bensusan@gmail.com wrote: > Yes, vttable dispatch and the top of the stack is used to find > the implementation to use. > > But, if the implementation to use can be found during compilation, > a direct call is compiled, like other words. This happens when : > > 1) The top of the stack is a literal at the moment the method is > called. > > 2) The top of the stack is the receiver at the moment the method > is called and the implementation found is not virtual. > > If not, a dispatch mechanism is compiled. OK, thanks! What do you do if, at runtime, the method isn't found in the object? Does that throw an exception or what?
Back to comp.lang.forth | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Collections processing in Oforth franck.bensusan@gmail.com - 2017-03-11 04:56 -0800
Re: Collections processing in Oforth minforth@arcor.de - 2017-03-11 05:27 -0800
Re: Collections processing in Oforth franck.bensusan@gmail.com - 2017-03-12 01:41 -0800
Re: Collections processing in Oforth hughaguilar96@gmail.com - 2017-03-12 20:03 -0700
Re: Collections processing in Oforth hughaguilar96@gmail.com - 2017-03-11 15:36 -0800
Re: Collections processing in Oforth franck.bensusan@gmail.com - 2017-03-12 03:49 -0700
Re: Collections processing in Oforth Ron Aaron <rambamist@gmail.com> - 2017-03-12 13:02 +0200
Re: Collections processing in Oforth franck.bensusan@gmail.com - 2017-03-12 05:06 -0700
Re: Collections processing in Oforth Ron Aaron <rambamist@gmail.com> - 2017-03-13 08:05 +0200
Re: Collections processing in Oforth franck.bensusan@gmail.com - 2017-03-13 05:25 -0700
Re: Collections processing in Oforth Ron Aaron <rambamist@gmail.com> - 2017-03-13 15:29 +0200
Re: Collections processing in Oforth hughaguilar96@gmail.com - 2017-03-12 20:01 -0700
Re: Collections processing "Robert L." <No_spamming@noWhere_7073.org> - 2017-03-29 11:51 +0000
csiph-web