Smalltalk MT is an implementation of the Smalltalk programming language created in 1994 by Tarik Kerroum to deal with some of the shortcomings of Smalltalk-80 style of implementations. Smalltalk MT adopts a different approach in that the Smalltalk source is compiled to machine code before being executed.

This allows the developer the freedom of working with compiled code without the need for the traditional compile-link-run cycle. This is like a specialized form of incremental or dynamic compilation.

Smalltalk MT directly interfaces to DLLs in exactly the same manner as C which allows DLL calls to be tested directly in a Workspace, which allows a scripting style of approach to accessing any DLL based code.

For example, one could write in a Workspace the following (single line or multiline, breaking on the '.' character) to reverse the string 'abc':

a := 'abc'. WINAPI _strrev: a. a inspect.

For 64-bit Windows,[1] try:

a:= 'abc'.
WINAPI _wcsrev: a.
a inspect.

The WINAPI call directly calls the DLL function _strrev natively passing parameters from the Smalltalk environment to the C environment and back.

Smalltalk MT has a close integration with COM objects and fully compiled COM components can be created that operate in exactly the same way as C/C++ COM objects.

In 1998 David Anderson teamed up with Tarik Kerroum to advance Smalltalk MT into the high performance and graphics areas.

References

edit
  1. ^ "_strrev, _wcsrev, _mbsrev, _mbsrev_l". 2 December 2022.
edit


📚 Artikel Terkait di Wikipedia

Smalltalk

Smalltalk is a purely object-oriented programming language that was originally created in the 1970s for educational use, specifically for constructionist

List of compilers

Yes GNU Smalltalk GNU Smalltalk project bytecode + JIT Yes Yes No GPL No VisualWorks Cincom Systems ? Yes Yes Yes Proprietary Yes Smalltalk MT ObjectConnect

Class browser

Pharo Smalltalk RStudio Red Gate .NET Reflector Smalltalk MT Squeak Smalltalk Step Ahead Javelin [1] Strongtalk Visual Prolog Visual Smalltalk Enterprise

Green thread

1.9 SML/NJ's implementation of Concurrent ML Smalltalk (most dialects: Squeak, VisualWorks, GNU Smalltalk, etc.) Stackless Python supports either preemptive

Sierra Creative Interpreter

programming ideas. Stephenson was influenced by Object-Oriented languages like Smalltalk, which he discovered in a 1981 BYTE issue. He rewrote Sierra’s scripting

Snap! (programming language)

(Snap!) Website snap.berkeley.edu Influenced by Scratch, Scheme, Logo, Smalltalk, APL Influenced Scratch, BeetleBlocks, NetsBlox, Dragme IDE, Turtlestitch

List of programmers

SpinRite John Gilmore – GNU Debugger (GDB) Adele Goldberg – cocreated Smalltalk Ian Goldberg – Off-the-record messaging Ryan C. Gordon (a.k.a. Icculus)

List of interactive geometry software

version, Dr. Geo II, is a complete rewrite of Dr. Geo, for the Squeak/Smalltalk environment. GCLC is a dynamic geometry tool for visualizing and teaching