Skip to content

Commit

Permalink
zz
Browse files Browse the repository at this point in the history
  • Loading branch information
3dgen committed Dec 16, 2023
1 parent c6ac08d commit 4ff9001
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 0 deletions.
Binary file added docs/public/st0036-107.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/public/st0036-108.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/public/st0036-109.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/public/st0036-110.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/public/st0036-111.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions docs/smalltalk/st0036.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,14 +117,20 @@ Go语言编译器本身是开源的,我们决定从Go蓝本开始这个线路

### 2.3 凹语言-国内首个实现纯浏览器编译+执行(2022.9)

![](/st0036-107.png)

这是凹语言的Playground,主要是扈梦明负责实现。

### 2.4 凹语言-游戏-贪吃蛇(2023.1.8)

![](/st0036-108.png)

贪吃蛇是凹语言开源半年时间,用凹语言第一次实现的小游戏。其虽然是通过比较原始的API来和Canvas交互,但第一次验证了凹语言在该方向的潜力。

### 2.5 凹语言-入选CNCF wasm 语言全景图(2023.9)

![](/st0036-109.png)

今年,凹语言有幸进入了CNCF的wasm语言全景图,其中很多都是C/C++、Go这种世界级的著名项目。
能够和他们同列我们很荣幸,对凹语言项目组也是极大的鼓励。

Expand All @@ -133,12 +139,16 @@ Go语言编译器本身是开源的,我们决定从Go蓝本开始这个线路

### 3.1 凹语言-脚手架

![](/st0036-110.png)

为了让WASM编程简单,凹语言内置了脚手架。在安装凹语言编译器之后,只需要2步即可生成并运行一个WASM示例。

### 3.2 凹语言-Canvas - 简介

在之前实现贪吃蛇时,使用的是比较底层的API,在编程的过程中经常需要在凹语言和宿主JS语言之间做深度切换,对于编程体验是一个极大的挑战。

![](/st0036-111.png)

为此,在9月份项目组通过设计好用的FFI,以达到对跨JS/凹语言提供更友好API的能力。在FFI的基础上我们重新次抽象了 Canvas 包。

这是完全在凹语言环境直接操作Canvas对象,大大降低跨语言编程的噪声。
Expand Down

0 comments on commit 4ff9001

Please sign in to comment.