# What is your preferred language for WebAssembly?

**URL:** <https://forum.devtalk.com/t/what-is-your-preferred-language-for-webassembly/3925>\
**Category:** Frontend Chat/Discussions\
**Tags:** swift, go, js, assemblyscript, wasm, c-plus-plus, c-lang, f-sharp, opinions, zig, run\_rb, wruby, kotlin, rust\
**Created:** [11 November 2020 00:45 UTC](https://forum.devtalk.com/t/what-is-your-preferred-language-for-webassembly/3925 "2020-11-11T00:45:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![AstonJ](https://forum.devtalk.com/user_avatar/forum.devtalk.com/astonj/32/7_2.png) [@AstonJ](https://forum.devtalk.com/u/AstonJ)\
**Post date:** [11 November 2020 00:45 UTC](https://forum.devtalk.com/t/what-is-your-preferred-language-for-webassembly/3925/1 "2020-11-11T00:45:51Z")

</div>

Which WebAssembly language/s interest you?

I just discovered AssemblyScript ([portal](https://devtalk.com/assemblyscript) | [thread](https://forum.devtalk.com/t/assemblyscript-a-language-made-for-webassembly/3928)) which looks interesting!

Here are some of the more common ones:

> **[Compiling from Rust to WebAssembly - WebAssembly | MDN](https://developer.mozilla.org/en-US/docs/WebAssembly/Rust_to_wasm)**
>
> If you have some Rust code, you can compile it into WebAssembly (Wasm). This tutorial will show you how to compile a Rust project into WebAssembly and use it in an existing web app.

> **[WebAssembly](https://github.com/golang/go/wiki/WebAssembly#getting-started)**
>
> The Go programming language. Contribute to golang/go development by creating an account on GitHub.

> **[SwiftWasm - compile Swift to WebAssembly](https://swiftwasm.org/)**
>
> Run Swift in browsers: SwiftWasm compiles your Swift code to WebAssembly.

[https://kotlinlang.org/docs/reference/native-overview.html](https://kotlinlang.org/docs/reference/native-overview.html)

> **[Compiling a New C/C++ Module to WebAssembly - WebAssembly | MDN](https://developer.mozilla.org/en-US/docs/WebAssembly/C_to_wasm)**
>
> When you've written a new code module in a language like C/C++, you can compile it into WebAssembly using a tool like Emscripten. Let's look at how it works.

> **[ASP.NET Core Blazor tutorials](https://learn.microsoft.com/en-us/aspnet/core/blazor/tutorials/?view=aspnetcore-3.1&tabs=visual-studio)**
>
> Learn how to build Blazor apps with the tutorials listed in this article.

[https://fsbolero.io/docs/](https://fsbolero.io/docs/)  
[https://wiki.dlang.org/Generating\_WebAssembly\_with\_LDC](https://wiki.dlang.org/Generating_WebAssembly_with_LDC)  
[https://ziglang.org/documentation/master/#WebAssembly](https://ziglang.org/documentation/master/#WebAssembly)

> **[Loading and running WebAssembly code - WebAssembly | MDN](https://developer.mozilla.org/en-US/docs/WebAssembly/Loading_and_running)**
>
> To use WebAssembly in JavaScript, you first need to pull your module into memory before compilation/instantiation. This article provides a reference for the different mechanisms that can be used to fetch WebAssembly bytecode, as well as how to...

Not forgetting Lumen:

[![](https://img.youtube.com/vi/xuoHqGKYYqk/maxresdefault.jpg "Lumen Elixir in the browser") ](https://www.youtube.com/watch?v=xuoHqGKYYqk)

Also just found:

[https://run.rb](https://run.rb) and [GitHub - pannous/wruby: Web Ruby : ruby running in the browser via webassembly](https://github.com/pannous/wruby)

---

<div class="post-metadata">

**Author:** ![OvermindDL1](https://forum.devtalk.com/user_avatar/forum.devtalk.com/overminddl1/32/52_2.png) [@OvermindDL1](https://forum.devtalk.com/u/OvermindDL1)\
**Post date:** [29 June 2021 22:00 UTC](https://forum.devtalk.com/t/what-is-your-preferred-language-for-webassembly/3925/3 "2021-06-29T22:00:46Z")

</div>

Rust, lol.

---

<div class="post-metadata">

**Author:** ![AstonJ](https://forum.devtalk.com/user_avatar/forum.devtalk.com/astonj/32/7_2.png) [@AstonJ](https://forum.devtalk.com/u/AstonJ)\
**Post date:** [29 June 2021 22:08 UTC](https://forum.devtalk.com/t/what-is-your-preferred-language-for-webassembly/3925/4 "2021-06-29T22:08:36Z")

</div>

WASM is the number one reason I’m interested in Rust 🤓 I really can’t wait to get these last couple of projects out of the way so I can get back into reading/learning 😭
