RE: Version 2.4 and beyond
- Posted by Bernie Ryan <xotron at localnet.com> Feb 14, 2002
- 493 views
Mike Nelson wrote: > C. K. Lester wrote: > I've been studying the source code with a view to adding classes--it is > doable in priciple but the resulting interpreter will be significantly > bigger and slower. I may do this sometime as a custom interpreter, but > for > for Rob to build in classes, etc. as a feature would be to impose OOP's > speed penalties on those who don't use OOP. While an OOP library is > slower > than built in OOP would be, it imposes no speed penalty on non-users. > Mike: Wouldn't it be wiser and less imposing for us develop some basic mechanism that would allow a any user to easily extend the interpter externally. It seems to me that there are enough clever and skilled programmers here to come up with some simple yet powerful mechanism to allow this. The mechanism needs to allow assembler or "C" modules to attach directly into a interpeter API. I say "C" or assembler because they would not require the compilcations of OOP code. If we start thinking along these directions this will allow everyone to contribute ideas even if they don't have the source code. This keeps the interpeter at present size and speed. Then if something becomes obviously usefull it could be considered by Rob for embedding in the interpeter. Bernie