3 ms·
People may also find interesting the Open Dylan project's alternative implementation of an LLVM bitcode writer, https://github.com/dylan-lang/opendylan/blob/mas
by housel 5y ago
People may also find interesting the Open Dylan project's alternative implementation of an LLVM bitcode writer, https://github.com/dylan-lang/opendylan/blob/master/sources/lib/llvm/bitcode.dylan https://github.com/dylan-lang/opendylan/blob/master/sources/... and https://github.com/dylan-lang/opendylan/blob/master/sources/lib/llvm/llvm-bitcode.dylan https://github.com/dylan-lang/opendylan/blob/master/sources/...
- woodruffw 5y agoIt's actually interesting how many independent implementations of bitcode writers there, given that there are almost no independent bitcode readers (mine is very preliminary, and then there's one from Galois[1]). I believe Swift also does their own serialization in LLVM's bitstream format[2]. I also saw an implementation of the writer in Swift, but now I've lost it. [1]: https://github.com/GaloisInc/llvm-pretty-bc-parser https://github.com/GaloisInc/llvm-pretty-bc-parser [2]: https://github.com/apple/swift/blob/main/docs/Serialization.md https://github.com/apple/swift/blob/main/docs/Serialization....