On 29/06/2018 15:16, Pabst Blue Ribbon wrote:
> Stephen Pelc wrote:
>> On Thu, 28 Jun 2018 16:17:31 GMT, Pabst Blue Ribbon
>> wrote:
>>
>>> I can be even more specific. On x86, 'kernel' is just 4 (four) processor
>>> instructions. The rest can be treated as 'library'.
>>>
>>>> But then it has a lot of 'library' to make.
>>
>> Threaded code is all but obsolete in modern Forths. Most modern
>> Forths generate optimised native code.
>
> They doing it in an attempt to catch up with languages such as C and C++ in
> terms of speed. Java, for example, have no problems with byte code (which,
> in essence, just another name for threaded code.) If I understand
> correctly, it still should be possible to use code optimizations with
> threaded code or even generate mixed threaded and native code
> automatically.
Browsing through this ...
http://www.forth200x.org/documents/forth-2012.pdf
... and this ...
https://www.mpeforth.com/arena/SpecialWords3.pdf
it would seem that such a mix is standard, edspite claims made to
the contrary about completely compiled FORTH! :-)
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|