资 源 简 介
This is a home site for NativeBoost project.
NativeBoost
NativeBoost is a project, which enabling running machine code, generated dynamically by language side. It can be used for Squeak and Pharo, running on top of Cog virtual machine.
It requires a small plugin and little modification(s) to Cog Virtual Machine in order to enable running native code. The rest functionality residing at language side.
At language side, there are two major parts - AsmJit, a package which lets you generate x86 machine code, and NativeBoost package which makes use of it and provides a layer for generating primitives and FFI callout code.
Since with NativeBoost we can dynamically generated code at run time, it gives us much more flexibility as well as performance comparing to implementing same low-lever functionality in C.
As it demonstrates, a FFI callout code, generated by NativeBoost could be up to 10-20 times faster than original Squeak FFI plugin.
An