
AstonJ
Swift vs Rust for WASM/WebAssembly
Wondering if anyone has any thoughts on choosing between these two languages for WebAssembly?
I definitely want to explore wasm, and really love the idea of learning both of these, however, I can only squeeze one in right now.
Anyone have any thoughts? Which might be the easier route? Which will be more useful/fully featured/supported? etc.
Here are some pros and cons (from a personal perspective so far):
Rust
- Can also be used with Elixir/Erlang nifs
- Can also be used in other areas such as general web dev
- Huge community support
Swift
- Can be used for iOS/macOS apps
- While can be used for other areas (such as web dev too - I get the feeling not quite as well as Rust)
- Huge Apple support
Popular Frontend topics

Upgrade your skill set, succeed at work, and avoid the many headaches that come with modern front-end development. Simplify your codebase...
New

Achieve awesome user experiences and performance with simple, maintainable code! Embrace the full stack of web development, from styling ...
New

Here’s a pretty good list of them: https://github.com/jashkenas/coffeescript/wiki/List-of-languages-that-compile-to-JS
What’s your favou...
New

Dart is not the first language with that mistake, but it’s newer. It shouldn’t have repeated this mistake.
New

Some resources for Spring
Home of Spring
Spring Initializr
Head First Spring with Reactor
New

Hotwire is an alternative approach to building modern web applications without using much JavaScript by sending HTML instead of JSON over...
New

A new Svelte blog post/announcement has been posted!
Get the full details here: What's new in Svelte: January 2021
New

My Favorite tool is figma, It helps a lot in designing .
New

New

Yew yew-v0.19.3, yew-router-v0.16.0 and yew-agent-v0.1.0 has been released.
Link: Release yew-v0.19.3 · yewstack/yew · GitHub
Link: R...
New
Other popular topics

A PragProg Hero’s Journey with Brian P. Hogan @bphogan
Have you ever worried that your only legacy will be in the form of legacy...
New

I know that -t flag is used along with -i flag for getting an interactive shell. But I cannot digest what the man page for docker run com...
New

Thanks to @foxtrottwist’s and @Tomas’s posts in this thread: Poll: Which code editor do you use? I bought Onivim! :nerd_face:
https://on...
New

Think Again 50% Off Sale »
The theme of this sale is new perspectives on familiar topics.
Enter coupon code ThinkAgain2021 at checkout t...
New

We’ve talked about his book briefly here but it is quickly becoming obsolete - so he’s decided to create a series of 7 podcasts, the firs...
New

Build efficient applications that exploit the unique benefits of a pure functional language, learning from an engineer who uses Haskell t...
New

If you want a quick and easy way to block any website on your Mac using Little Snitch simply…
File > New Rule:
And select Deny, O...
New

Author Spotlight:
VM Brasseur
@vmbrasseur
We have a treat for you today! We turn the spotlight onto Open Source as we sit down with V...
New

Author Spotlight:
Karl Stolley
@karlstolley
Logic! Rhetoric! Prag! Wow, what a combination. In this spotlight, we sit down with Karl ...
New

This is cool!
DEEPSEEK-V3 ON M4 MAC: BLAZING FAST INFERENCE ON APPLE SILICON
We just witnessed something incredible: the largest open-s...
New
Latest in Frontend
Latest (all)
Categories:
Popular Portals
- /elixir
- /opensuse
- /rust
- /kotlin
- /ruby
- /erlang
- /python
- /clojure
- /react
- /quarkus
- /go
- /react-native
- /vapor
- /v
- /wasm
- /django
- /security
- /nodejs
- /centos
- /rails
- /haskell
- /fable
- /swift
- /gleam
- /deno
- /js
- /tailwind
- /assemblyscript
- /laravel
- /symfony
- /phoenix
- /crystal
- /typescript
- /debian
- /adonisjs
- /julia
- /arch-linux
- /svelte
- /spring
- /preact
- /c-plus-plus
- /flutter
- /actix
- /java
- /angular
- /ocaml
- /kubuntu
- /zig
- /scala
- /zotonic
- /vim
- /rocky
- /lisp
- /html
- /keyboards
- /emacs
- /nim
- /vuejs
- /elm
- /nerves