I guess I buried my questions in too long a post, so extracting them: On Mon, Jul 31, 2017 at 1:02 PM, Henri Sivonen <hsivo...@hsivonen.fi> wrote: > Naïvely, one would think that it should be possible to do that with > clang producing "object files" holding LLVM IR and rustc producing > "object files" holding LLVM IR and the "link" step involving mashing > those together, running LLVM optimizations again and then producing > machine code from a massive collection of mashed-together LLVM IR. ... > If we were compiling C++ using clang on all platforms, how far off > would such cross-language inlining be? > > If we could have the cross-language inlining benefit from compiling > C++ using clang on all platforms, how far off would we be from being > able to switch to clang on all platforms? ... > 2) Rust code reading from the DOM when the DOM is guaranteed not to change. ... > I've been talking about wishing to rewrite our DOM serializers (likely > excluding the one we use for innerHTML in the document is in the HTML > mode) in Rust. I have been assuming that such work could reuse the > code that Stylo of has for viewing the DOM from Rust in a read-only > stop-the-world fashion. > > I haven't actually examined how reusable that Stylo code is for > non-Stylo purposes. Is it usable for non-Stylo purposes?
-- Henri Sivonen hsivo...@hsivonen.fi https://hsivonen.fi/ _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform