25
submitted 2 months ago* (last edited 2 months ago) by ZILtoid1991@lemmy.world to c/programming@programming.dev

Originally, I was going to use D, but its current WASM guideline is buried under a lot of Discord threads, all while people are lazy to touch the wiki. I need to test stuff with WASM (use for scripting in applications, not browsers).

Please NO RUST!!! While I see why functional programming is useful (I even use wasmtime as my WASM engine, which is developed in Rust), but is horribly counterproductive for game development, especially if it's opt out like in Rust.

EDIT: In the meanwhile, I've found AssemblyScript, which seems to be good for my usecase.

you are viewing a single comment's thread
view the rest of the comments
[-] CookieOfFortune@lemmy.world 1 points 2 months ago

Are there benefits in not having a GC in WASM?

Also are there mainstream memory safe languages without a borrow checker? There’s some experimental ones out there.

[-] unique_hemp@discuss.tchncs.de 3 points 2 months ago

At least a while back there was not a built-in GC on the WASM runtime side, so the GC has to be shipped with every app.

this post was submitted on 29 Aug 2024
25 points (79.1% liked)

Programming

17314 readers
241 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 2 years ago
MODERATORS