Pharo Smalltalk 通过 WebAssembly 直接运行于浏览器

原标题:Pharo in the Browser with WebAssembly
58AI 研判分

Pharo 虚拟机已通过 WebAssembly 移植到浏览器,用户无需本地安装即可加载 .image 镜像、运行 Smalltalk REPL 并直接编辑代码。该版本内置 Iceberg 与 Metacello 的 CORS 代理配置,支持从 GitHub 克隆与加载依赖,并可将镜像持久化保存在浏览器本地存储中。

报道正文

本文目录4 个章节

Image 1: Pharo

Stop Save Save as…Download Open File in Images Settings

ConsoleChoose an image Choose a Pharo image

Choose a Pharo image

✕

Third-party notices

Drop to file in or opena Smalltalk .st file, a Pharo .zip, or an .image with its .changes and its .sources

Settings

Git HTTP proxy Site default: (none) None: requests go straight to the git host (works only for hosts that let this page in) My proxy: Iceberg's https:// clones, fetches, pulls and pushes, and Metacello's github:// loads, go to this CORS proxy: each request goes to the proxy's URL followed by the host and the path of the repository, such as github.com/pharo-project/pharo.git. The proxy sees the code and any credentials that pass through it, so choose only one that you run or trust: the user name and token that a push asks for go only through My proxy, or straight to the host with None, never through the site's default. With None, the requests go to the repository itself, which works only for a server that lets this page in (CORS). This browser keeps your choice; a link cannot set it.

Cancel Save

Images

Start fresh

Pharo 13.1 build 749 · 23.1 MB download Pharo 14 build 785 · 23.6 MB download Pharo 15 build 50 · 23.6 MB download (default)

Saved in this browser

Images you save appear here. They stay in this browser only; Download keeps a copy.

Open a file…

Using 0.1 MB of about 10240.1 MB in this browser

Keep my images safe from cleanup Delete all Close