Fabio Niephaus

Results 567 comments of Fabio Niephaus

The root cause for all of this is that the OpenSmalltalkVM provides different events on different platforms and because of this, Squeak has covered this up on the image side....

We once thought about letting TruffleSqueak always prepend to run on Linux because of this. But then you of course run into many other problems (e.g., when trying to access...

Hi @Zenchess, Thanks for opening this issue. I believe this is a usability issue/limitation of [Sulong](https://github.com/oracle/graal/tree/master/sulong), GraalVM's LLVM interpreter. The polyglot workspace lists all supported languages dynamically, and Sulong does...

To run your example, you need to compile your C code to LLVM bitcode first: ```bash "$GRAALVM_HOME/bin/gu" install llvm-toolchain export LLVM_TOOLCHAIN=$("$GRAALVM_HOME/bin/lli" --print-toolchain-path) $LLVM_TOOLCHAIN/clang your.c -lpolyglot-mock -o your.bc ``` Your should...

I should mention that we haven't done much with GraalSqueak and LLVM languages at this point, so you're one of the first to try this out! Please report any issues...

With https://github.com/hpi-swa-lab/graalsqueak/commit/fd65b19394644d29dfe351e0e61af40a5dd3c583, `factorial` works for even higher numbers than 45000 and even the CD benchmark runs (still pretty slow though). It looks like maintaining the stack depth counter in compiled...

>In Ruby, they added some hacky "in compiled code" check, which copies the argument array to facilitate escape analysis. You are probably referring to [this](https://github.com/oracle/truffleruby/blob/b8516082c2234665232f92392d69808d3a7fa9c7/src/main/java/org/truffleruby/language/arguments/RubyArguments.java#L160-L170). Yes, that's hacky. >There was...

It seems we no longer need to maintain the entire stack in frame slots to allow for bytecode OSR (see https://github.com/oracle/graal/commit/0499bfa9f45001e7087a70f09d64db1ff8fb740a). I've pushed a first sketch in https://github.com/hpi-swa/trufflesqueak/commit/4d4b2c5fc66b07ef346b889f798d1fc09238cfd3.

Problem could be a related to [splitting](https://github.com/oracle/graal/tree/master/truffle/docs/splitting), see example output: ``` [truffle] opt done Random>>nextInt: |ASTSize 86/ 554 |Time 302( 255+47 )ms |DirectCallNodes I 22/D 1 |GraalNodes 1239/ 2134 |CodeSize...