# Azle Beta has launched (TypeScript CDK)

**URL:** <https://forum.dfinity.org/t/azle-beta-has-launched-typescript-cdk/11996>\
**Category:** Developers\
**Created:** [April 8, 2022, 12:31am UTC](https://forum.dfinity.org/t/azle-beta-has-launched-typescript-cdk/11996 "2022-04-08T00:31:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![lastmjs](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/lastmjs/32/3406_2.png) [@lastmjs](https://forum.dfinity.org/u/lastmjs)\
**Post date:** [April 8, 2022, 12:31am UTC](https://forum.dfinity.org/t/azle-beta-has-launched-typescript-cdk/11996/1 "2022-04-08T00:31:14Z")

</div>

Hey everyone!

I’ve been working hard at bringing TypeScript and JavaScript to the table as languages for developing IC canisters. I am very happy to announce the launch of Azle Beta: [GitHub - demergent-labs/azle: TypeScript CDK for the Internet Computer](https://github.com/demergent-labs/azle)

Keep your expectations tempered. It is a beta and there are probably many many issues that we will run into. But I believe it is ready for much broader testing.

If you’re interested, please have a go at it and feel free to reach out to me on any platform @lastmjs and I’d love to help you out if you get stuck or run into any issues.

---

<div class="post-metadata">

**Author:** ![Maxfinity](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/maxfinity/32/1484_2.png) [@Maxfinity](https://forum.dfinity.org/u/Maxfinity)\
**Post date:** [April 9, 2022, 5:16pm UTC](https://forum.dfinity.org/t/azle-beta-has-launched-typescript-cdk/11996/2 "2022-04-09T17:16:48Z")

</div>

This is amazing work, Jordan! What a fun and useful project to be working on - I can only imagine how many new developers this initiative will bring to the IC.

---

<div class="post-metadata">

**Author:** ![nomeata](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/nomeata/32/733_2.png) [@nomeata](https://forum.dfinity.org/u/nomeata)\
**Post date:** [April 11, 2022, 9:56am UTC](https://forum.dfinity.org/t/azle-beta-has-launched-typescript-cdk/11996/3 "2022-04-11T09:56:02Z")

</div>

Intriguing. I couldn’t tell from the README: How do you compile TypeScript to WebAssembly? (I see a `typescript_to_rust` directory – are you transpiling typescript to Rust first?)

---

<div class="post-metadata">

**Author:** ![lastmjs](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/lastmjs/32/3406_2.png) [@lastmjs](https://forum.dfinity.org/u/lastmjs)\
**Post date:** [April 11, 2022, 12:42pm UTC](https://forum.dfinity.org/t/azle-beta-has-launched-typescript-cdk/11996/4 "2022-04-11T12:42:36Z")

</div>

As far as I know, there is currently no way to compile TypeScript/JavaScript into Wasm. The closest you can get with that path is to compile AssemblyScript into Wasm. I didn’t want to go that path because I want to enable the full TypeScript/JavaScript language.

So, I use a JS engine written in Rust, [boa](https://github.com/boa-dev/boa), to do the actual JS execution. I basically transpile the TypeScript into a Rust canister, mapping all of the TypeScript functions and types into the equivalent Rust functions and types, but the function bodies call into the JS engine.
