Skip to content

Releases: 0x7CFE/llst

JIT that works (almost)

17 Aug 15:59
Compare
Choose a tag to compare
Pre-release

Version 0.4 may be described in three words: JIT that works.

Current release completely refactors the VM logic and brings new instruction API that allows us to extract semantic information from method bytecodes. Huge amount of work was done in terms of code organization, readability and maintainability.

However, there are a lot of things to be done, so it's just the beginning.

Currently JIT provides eqal or better performance on almost all typical tasks excluding heavy usage of reflection and/or dyanmic method generation. Current JIT code is created in assumption that class and method hierarchy will not change over time. Of course this is a temporary limitation that should be fixed in later releases.

Another complex issue is fast evaluation of block return instruction. Current implementation uses exception API to perform far jump. This work OK but is terribly slow. I mean REALLY slow, 10 times slower than the software implementation and 40 times slower than implementation proposed in the fast_block_return branch. Latter uses -freg-struct-return technique which is uncommon in UNIX world and it's calling conventions. More portable implementation should pass return value using the stack (sret in terms of LLVM).

P.S.: We started filling our project wiki. Don't forget to check it out!

Support for LLVM 3.3, MinGW and more

08 Feb 08:09
Compare
Choose a tag to compare
Pre-release

This is an intermediate yet important release which brings many features that were required for code performance, stability and maintainability.

One of the most important features is support for LLVM 3.3. Previously used LLVM 3.1 is now out of support in many popular distributions. So we needed to catch up.

There are noticeable bugs that were fixed in this release, such as bug in garbage collector #14 or an optimization-related bug #28.

All things together provide a good base for further development.

Next release will take advantage of almost ready branch #32 that will boost VM to the new level of self-consciousness. This will allow us to deduce the control and data flow in the code and unlock many optimizations (like #56, #58 and #17) that require such knowledge.

First minor release with LLVM support

29 Nov 14:43
Compare
Choose a tag to compare
Pre-release

This is a first release of LLST that brings working LLVM JIT support.
It allows to compile Smalltalk methods into native functions which then may be executed directly.

Compiling Smalltalk into native methods may provide x50 speedup depending on the actual code being executed. You may also watch the shellcast as a quick hack-in guide.

Two archive files are provided:

Both binaries are dynamically linked stripped executables, additionally compressed by UPX.

If you experience problems with executable files make sure that you have the following dependencies for soft and full versions respectively:

        linux-gate.so.1 =>  (0xf7798000)
        libreadline.so.6 => /lib32/libreadline.so.6 (0xf7730000)
        libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0x4124b000)
        libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0x41338000)
        libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf757b000)
        libtinfo.so.5 => /lib/i386-linux-gnu/libtinfo.so.5 (0xf755c000)
        libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xf7519000)
        /lib/ld-linux.so.2 (0xf7799000)
        linux-gate.so.1 =>  (0xf771e000)
        libreadline.so.6 => /lib32/libreadline.so.6 (0xf76b6000)
        libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xf769b000)
        libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xf7695000)
        libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0x4124b000)
        libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xf7652000)
        libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0x41338000)
        libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf749e000)
        libtinfo.so.5 => /lib/i386-linux-gnu/libtinfo.so.5 (0xf747e000)
        /lib/ld-linux.so.2 (0xf771f000)