HackerTrans
TopNewTrendsCommentsPastAskShowJobs

rschatz

no profile record

comments

rschatz
·4 yıl önce·discuss
Truffle and partial evaluation also works on native-image. You could say this is a VM where there are no bytecodes anymore.
rschatz
·4 yıl önce·discuss
I don't think the original TruffleC is available anymore. But TruffleC evolved into the GraalVM LLVM runtime. We're now running the C programming language on GraalVM indirectly, by compiling it to LLVM bitcode first. The core idea is still the same from back then, but it's a lot less work to implement.

The code is available at https://github.com/oracle/graal/tree/master/sulong
rschatz
·4 yıl önce·discuss
You can still use pointers. It's a bit hidden, but there are things like `Unsafe.allocateMemory`, `Unsafe.getByte` and so on ;)