2023-02-01 17:32:13 +08:00
up
2023-02-01 17:02:13 +08:00
2022-11-20 20:03:12 +08:00
2023-02-01 17:32:13 +08:00
up
2023-02-01 17:02:13 +08:00
up
2023-02-01 17:02:13 +08:00
up
2023-02-01 16:24:24 +08:00
2023-01-27 03:31:36 +08:00
2022-11-06 12:16:57 +08:00
2022-12-30 19:48:29 +08:00
up
2022-12-06 07:32:52 +08:00
up
2023-02-01 14:59:54 +08:00
2023-01-27 03:31:36 +08:00
up
2023-01-29 23:04:26 +08:00
up
2022-12-05 22:25:50 +08:00
2023-01-30 05:28:16 +08:00
up
2023-01-09 01:56:46 +08:00

pocketpy

C++17 header-only Python interpreter for game engines.

Please see https://pocketpy.dev for details or try Live Demo.

sample_img

News

PocketPy is undergoing a major reconstruction. The next version, 0.8.x, is a huge break change compared with 0.6.x.

Changes in 0.8.x:

  1. better way for C bindings/host bindings
  2. try/catch support
  3. yield/coroutine support (we will try to implement asyncio)
  4. complete reflection (exec/eval/getattr/setattr/hasattr)
  5. bytecode optimizer (will improve the performance by 2x-3x)

Since the main purpose of PocketPy is for game engines, which is usually single-threaded. We will change some designs to fit this situation. All threaded interfaces will be deleted. PocketPy will no longer provide thread support at the C language level. If one needs to run the virtual machine in a thread, we recommend to use the thread support provided by the host language.

Reference

Description
No description provided
Readme 32 MiB
Languages
C 52.5%
Python 35.5%
C++ 6.1%
CMake 4.6%
JavaScript 0.4%
Other 0.9%