Remove Twitter links.
[SquirrelJME.git] / assets / developer-notes / stephanie-gawroriski / 2017 / 01 / 25.mkd
bloba57b35a8385151cc22136fd1bba6a0b7fd03dcf4
1 # 2017/01/25
3 ## 09:20
5 So the part that performs JIT compilation will need to be a part of the
6 libraries so that they may be included by the system (so they can actually JIT
7 compile). So I need to structure the system into two parts, the kernel
8 building part which can output execiutables and the native compiler part.
9 Anything that generates executables does not have to be in the target because
10 anything generated by the JIT compiler will just be marked executable and ran
11 while the kernel has to be bootstrapped within an executable. The compiler
12 just needs to know how the code needs to be compiled (such as target CPU and
13 the byte order for example). This information has to be stored and parsed for
14 the compiler to handle. I would suppose that the JIT class and such be
15 represented in system properties with configuration options for the given JIT.
16 This way, the kernel can initialize the JIT from those properties. So this is
17 similar to how it is before, but perhaps instead without a triplet for the
18 most part. Then the system properties for the architecture and OS will just
19 have their properties set statically in the build. That would be the simplest
20 for the most part.
22 ## 12:01
24 Can probably move ExecutableClass and ContextClass interfaces and such to the
25 base JIT and have it done that way.