Search found 2 matches

by myrfy001
Mon Nov 04, 2019 5:07 am
Forum: Development of MicroPython
Topic: Is it possible to embed MicroPython into a CPython application?
Replies: 3
Views: 2122

Re: Is it possible to embed MicroPython into a CPython application?

I found that there is a Javascript port, so I think a Python port should also work. Another problem is that, MicroPython has many global status, which makes it hard to have multi MircoPython interpreter instance run in a single Python process. The final target for me is to have many safe and simplif...
by myrfy001
Mon Nov 04, 2019 2:52 am
Forum: Development of MicroPython
Topic: Is it possible to embed MicroPython into a CPython application?
Replies: 3
Views: 2122

Is it possible to embed MicroPython into a CPython application?

I asked this question on StackOverflow and someone advised me to post here. Does the memory layout different a lot? Is it difficult to share object between CPython and MicroPython? The backgroubd is that I want to use Python like LUA. To use a full CPython eval() or exec() is too dangerious, I hope ...