Sulong – A high-performance LLVM bitcode interpreter built on the GraalVM
1–10 of 18 posts
Re: Sulong – A high-performance LLVM bitcode interpreter built on the GraalVM
#2Re: Sulong – A high-performance LLVM bitcode interpreter built on the GraalVM
#3Re: Sulong – A high-performance LLVM bitcode interpreter built on the GraalVM
#4Re: Sulong – A high-performance LLVM bitcode interpreter built on the GraalVM
#5- Compile once, run anywhere for low-level languages like C++. With limitations, of course.
- More debugging capabilities. Maybe it could be used for dynamic analysis. Theoretically it should be possible to change code at runtime.
- Something like Valgrind? Valgrind is really complex and doesn't run on Windows at all. It seems like you could make a portable substitute with this.
- Maybe GraalVM can be used to provide additional memory safety guarantees, not sure.
Kind of hard for me to say because I don't actually know exactly what GraalVM provides, so it's kind of a guess. But it does seem like there are some genuine use cases beyond the neatness of it.
Re: Sulong – A high-performance LLVM bitcode interpreter built on the GraalVM
#6How much faster/slower is it than aot code? I'm disapointed to see no benchmarks.
The main use case seems to be speed up dynamic languages (ruby, python, javascript, R), and Sulong is used to handle the C extensions, so that the optimizations can be performed across the language boundaries. Unboxing and inlining mostly in the hot paths. Makes sense. Plus more memory safety than C/C++/Fortran.
Re: Sulong – A high-performance LLVM bitcode interpreter built on the GraalVM
#7Hm. Cool work, but I'm not sure I really see a practical use case? Ideas welcome.
Re: Sulong – A high-performance LLVM bitcode interpreter built on the GraalVM
#8A few potential use cases: - Compile once, run anywhere for low-level languages like C++. With limitations, of course. - More debugging capabilities. Maybe it could be used for dynamic analysis. Theoretically it should be possible to change code at runtime. - Something like Valgrind? Valgrind is really complex and doesn't run on Windows at all. It seems like you could make a portable substitute with this. - Maybe Gra…
Re: Sulong – A high-performance LLVM bitcode interpreter built on the GraalVM
#9Re: Sulong – A high-performance LLVM bitcode interpreter built on the GraalVM
#10A few potential use cases: - Compile once, run anywhere for low-level languages like C++. With limitations, of course. - More debugging capabilities. Maybe it could be used for dynamic analysis. Theoretically it should be possible to change code at runtime. - Something like Valgrind? Valgrind is really complex and doesn't run on Windows at all. It seems like you could make a portable substitute with this. - Maybe Gra…
I believe that one compelling use case is to avoid the overhead of cross language boundaries (ie JNI) when the native code is compiled to bitcode and run with Sulong.