TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: PABST@BLUE.RIBBON
from: STEPHEN PELC
date: 2018-06-29 14:56:00
subject: Re: Forth

On Fri, 29 Jun 2018 14:16:45 GMT, Pabst Blue Ribbon
 wrote:

>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.

What would the benefits be of mixing threaded and native code?

Especially in embedded systems, speed is always an advantage.
Among other things, efficient code generation reduces power
consumption. For the last 15 years or so, I have not written
an ARM/Cortex interrupt handler in assembler - I just let
the compiler do its job. For reasons like this, our TCP/IP
stack contains no assembler (unless you want it) and runs
on a range of CPU architectures.

Stephen

--
Stephen Pelc, stephenXXX@mpeforth.com
MicroProcessor Engineering Ltd - More Real, Less Time
133 Hill Lane, Southampton SO15 5AF, England
tel: +44 (0)23 8063 1441
web: http://www.mpeforth.com - free VFX Forth downloads

--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.