Taine Zhao
Taine Zhao
For instance, conda python uses its own GCC compiler, and we should g++ in this toolchain. The Cython extension always sets `language="c++"`. The reason why: - [restrain_hotspot.pyx](https://github.com/thautwarm/restrain-jit/blob/phi-node/restrain_jit/becython/cython_lib/restrain_hotspot.pyx), is written in...
We can provide a module exporting native versions of `foreach`, `map`, `tailrec`, etc. At current stage the performance of some control flow constructs is bad: - for loop: due to...
`async` stuffs, `CALL_FUNCTION_EX`, `CALL_FUNCTION_KW`.
```python @jit def f(x): return x + 1 @jit def g(x): f(x + 1) ``` Inside `g`, the global reference `f` should be unwrapped into a native function pointer in...
Currently we found speeding up the operations on original Python objects are difficult. Actually at this stage there's a great performance loss when using restrain-jit with python objects. I'm considering...
TODO at here: https://github.com/thautwarm/restrain-jit/blob/master/restrain_jit/abs_compiler/from_bc.py#L88 It's straightforward but needs some efforts. ```python def f(x): yield 1 for i in x: yield i ``` -> ``` %c = %point == 0 jmpif...
The instructions are from Python bytecode. A simple pass is now presented [here](https://github.com/thautwarm/restrain-jit/blob/e58bf95054ef1288b29fced9bd7064fb86bb845a/restrain_jit/bejulia/julia_vm.py#L248), to avoid successively occurrences of following case: ``` a ::= Push(_) Pop() | Push(_) a Pop() ```