Fabio Niephaus
Fabio Niephaus
Maybe you are right though, not sure why primitiveYield doesn't resolve the problem. Looks like I may need to take another look at the primitive.
Nope, my first comment was correct: you put the yield into busyWait and not into the block itself. Since the block contains no actual sends and no explicit yield, the...
Copying is not (yet) supported by the interop protocol. We've done some preliminary experiments with copying but need more use cases. Not all objects from other languages are copiable, so...
Do you have other examples where copying should be supported?
Ok good, here are some ideas for solving your issue: 1. `ForeignObject>>shallowCopy/deepCopy` could return `self`. This would essentially disable coping across languages without throwing errors. Easy to do, good for...
Thanks for raising the issue! So far, TruffleSqueak is quite constrained as to what you can do with `Contexts` because they are very performance-critical. Historically, we only added support for...
> Couldn't this check be moved into the interpretation of the return instructions? E.g., the VM-side equivalent of blockReturnTop/methodReturnTop. Or would this limit the performance as you mentioned? Yes, that...
Looks like we can use `-Djava.library.path=...` to add `lib/` as a library path for shared libraries: https://bugs.openjdk.java.net/browse/JDK-8213772 So there's not need to use absolute paths for libraries within the code.
GraalPython provides different POSIX backends based on [`PosixSupportLibrary`](https://github.com/oracle/graalpython/blob/f086f809b46041d325d3814cced61f36371de84d/graalpython/com.oracle.graal.python/src/com/oracle/graal/python/runtime/PosixSupportLibrary.java). It'd be nice to use something similar in the future to implement `OSProcess` plugins, `SocketPlugin`, and maybe even others.
Are you sure Alt is not accidentally mapped to something else, like the Win key?