Hacker News new | past | comments | ask | show | jobs | submit | chai2010's comments login

凹语言还在开发状态的 v0.17.0 版本针对后端输出的 wat 文件做了体积优化。以递归版本的 Fib 为例,输出的体积是 Go 的十分之一,执行速度快一倍。详细请参考凹语言主库下的 tests/bench/fib 目录文档。


Very good article, like it.

Chinese characters are a type of pictographs that have some characteristics of QR codes. In fact, there is indeed a word retrieval method called four-corner number, which quickly maps Chinese character graphics to four numbers through some simple formulas, which is especially suitable for one-way encoding and retrieval. For example, the four-corner number of "龍" is coded as 0121, and the code of "兲" is 1080 (please refer to https://github.com/chai2010/im4corner).

In addition, Chinese characters are actually more important as hieroglyphic shapes. For example, we have a "凹语言" (Wa-lang https://github.com/wa-lang/wa/ ) designed for WebAssembly (WASM for short, WebAssembly => WASM => Wa), in which the Chinese characters "凹" and WASM The logo is very similar, and there was even a pronunciation of "wa" in the past.

After the popularization of computers, the function input method has been greatly improved, but there is still a lot of input resistance. For example, in programming, frequent switching between Chinese character names and English keywords brings a loss of input efficiency. As a programmer, I hope Chinese users can continue to pay attention to and improve these in the future.


Cool project . I am also designing a Wa language for Wasm (https://github.com/wa-lang/wa), we are currently improving support for the WebGPU library and LSP extension.


Cool project you too :) It's fun to see how the language of the first compiler affects a lot of the syntax of the languages we build.


Wa is a simple, maintainable, compiled language for developing WebAssembly software. https://github.com/wa-lang/wa


The Wa-lang is a general statically typed compiled language designed for the WebAssembly platform. It is a project initiated by a group of programming language enthusiasts in China, and its design focuses on reducing the mental burden on users.


Build a BrainFuck VM with Wa language, and try it in online: https://wa-lang.org/playground/


How to publish my package, is there an example?


Hello, we are supporting the kpm tool for publishing and sharing KCL modules. To put it simply, we can install and use the modules related to kubernetes through the command: `kpm install kubernetes`. The detailed user stories are here: https://github.com/KusionStack/KCLVM/issues/338


I see the KusionStack/kusion is a pure Go project, why not use Go rewrite KCL?


In the Wa community, you can speak English and we can understand English. Likewise, others must have the right to speak Chinese. This is fair to both Chinese and English users.


It is more about how the project is developed and maintained.

For example, Vue is founded by a Chinese. But the development happens in English. Issue tracker, RFC, code comments, all in English. Therefore, people around the world would know what direction the project is heading towards.


I agree with you: since my English is not good either, I am also reducing the dependence on English in my programming work.

For the Wa language, I hope to have a lightweight WASM Native language: no GC, no Goroutine. Also, I hope functions with "Chinese" names can be exported, which is forbidden in Go.


Consider applying for YC's W25 batch! Applications are open till Nov 12.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: