Re: [polyml] How to build a new backend?

2023-11-22 Thread David Matthews
Hi Andrei, It would be interesting to have another back-end but I really don't think what you are suggesting is feasible. There are currently three back-ends: native code for the X86(32/64), native code for the ARM64 and byte code. The byte code is interpreted by part of the run-time system

[polyml] How to build a new backend?

2023-11-22 Thread Andrei Formiga
Hello, Let's say I want to create a new backend for Poly/ML, generating code for a virtual machine, for example the Erlang BEAM Virtual Machine. The backend would not depend on the C++ runtime, because the runtime would be the virtual machine. >From looking at the source code, the backend should