2 Matching Annotations
  1. Last 7 days
    1. MicroPython is a lean and efficient implementation of the Python 3 programming language that includes a small subset of the Python standard library and is optimised to run on microcontrollers and in constrained environments.

      大多数人认为 MicroPython 仅适用于资源受限的微控制器环境,不适合复杂的沙盒实现。但作者认为 MicroPython 的精简特性和受限环境优化恰恰使其成为 WebAssembly 沙盒的理想选择,这一观点挑战了人们对 MicroPython 应用范围的普遍认知,展示了其在服务器端沙盒环境中的潜力。

    2. WebAssembly is a _much better_ candidate. It was designed from the start to support all of the characteristics I care about and has been tested in browsers for nearly a decade.

      大多数人认为 JavaScript 引擎是沙盒环境的最佳选择,因为它们专门为执行不受信任的代码而设计。但作者认为 WebAssembly 是更好的选择,因为它从一开始就考虑了安全特性,并在浏览器环境中经过了近十年的测试。这与主流认知相悖,因为大多数开发者仍然倾向于使用 JavaScript 引擎来实现沙盒环境。