2020-10-08 08:12:52 +08:00
|
|
|
Refbackrt (namespace `refbackrt`) is the runtime support library for the
|
2020-10-08 07:11:41 +08:00
|
|
|
RefBackend backend. It is best practice to keep compiler and runtime code
|
|
|
|
totally firewalled.
|
|
|
|
|
|
|
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
|
|
As such, this directory should have NO DEPENDENCIES ON COMPILER CODE (no
|
|
|
|
LLVM libSupport, etc.).
|
|
|
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
|
|
|
|
|
|
This will cause some duplication, but history has shown that this
|
|
|
|
firewalling pays big dividends. In particular, compiler code very
|
|
|
|
frequently has binary sizes that are simply unacceptable in runtime
|
|
|
|
scenarios, such as MByte-sized dependencies like LLVM libSupport.
|
|
|
|
Runtime code should fit in kBytes.
|