Show quoted text 9 lines
Greetings,
This is the AMD Hammer architecture which should
start to be in stores next year (I think).
Show quoted text 5 lines
or
which one?
.NET = Too complicated, anyways Borland is already implementing the secured version of this, while TMT is i think implementing the non-secured version (the non-secured version allows untyped pointers). So that would be a lot of competition for Free Pascal.
JAVA VM = Impossible to implement without limiting a lot the pascal language, since untyped references are not allowed, and indirect calls are also not allowed.
The solution is a small vm that i designed and implemented, its like a virtual RISC CPU, but much much simpler and will work on any architecture which has glibc and gcc. The VM is done, the assembler and linker also, but i need to implement it in the compiler (started but not finished). Its also interesting because i designed so that a hardware version could also be created :)... If you wish more information and have suggestions for improvement i can send you the docs and code.
PS: as I think, today there is no DLL support for FPC under LINUX (link FPC produced *.so with FPC main module). Why? I suggested solution a one year before (november 2001). If my solution was wrong where is rigth solution?
I don't know if someone is working on the register allocator in the compiler currently, but i think that is the best solution.... There is another solution to use push/pop of the GOT register, but this will slow down the generated code in PIC mode A LOT, and its kind of a hack, but it would work...
