Stream: general

Topic: Claw Language: Contributors Welcome!


view this post on Zulip Robin Brown (Nov 27 2023 at 18:09):

I've implemented a compiler for a simple language that outputs Components. There's a lot left to do and room for additional contributors. If anyone is interested in contributing, feel free to message me here on Zulip.
https://github.com/esoterra/claw-lang

The compiler for the Claw language. Contribute to esoterra/claw-lang development by creating an account on GitHub.

view this post on Zulip Jeff Parsons (Nov 28 2023 at 01:56):

Can I ask, have you drawn / will you be drawing inspiration from Boats's idea of "a smaller Rust"? https://without.boats/blog/revisiting-a-smaller-rust/

view this post on Zulip Robin Brown (Nov 28 2023 at 02:06):

I'll have to reread it to remember & rethink how related they are, but I definitely saw this a while back and liked the ideas so I'll give a solid maybe / maybe.

view this post on Zulip Robin Brown (Nov 28 2023 at 15:26):

I think I may have only read the first of the two posts originally. Having reread them, I'll upgrade to a maybe / definitely. Lots of the ideas in the "revisiting" article are relevant to open design questions for Claw and align with its goals.

view this post on Zulip scottmcm (Nov 28 2023 at 18:48):

Looks neat! I like the idea of something specifically done for WASM, and there's lots of simplifications you can do by knowing "well look it's not a kernel" compared to full Rust. Even things like "well I guess we don't have to care about alignment because WASM will be fine with it" can clean up a bunch of stuff.

view this post on Zulip Robin Brown (Nov 28 2023 at 18:56):

Well, alignment still matters if you want to supply alignment immediates for performance reasons and implement the canonical ABI which has alignment requirements. I agree with the general point though; there's lots we can do in the design/implementation since we know that we are targeting exactly and only Wasm components.


Last updated: Dec 23 2024 at 12:05 UTC