this post was submitted on 23 Jun 2024
735 points (96.5% liked)

Programmer Humor

19572 readers
1995 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 20 points 4 months ago (19 children)

So a strictly typed language.. I think those already exist.

[–] [email protected] 7 points 4 months ago (16 children)

If there was an easy way to use rust or something on webassemly and use that instead of JS. I'd be so happy, but I can't find how to do it without npm.

[–] [email protected] 2 points 4 months ago* (last edited 4 months ago) (2 children)

Rust would probably be the wrong tool here. This is scripting, so pointers like Rust is built around aren't really meaningful. Kotlin or Python or something are more on the ticket.

[–] [email protected] 2 points 4 months ago (1 children)

Websites have grown beyond mere scripting.
Rust is about more than just nicer pointers, it has a very expressive type system that enables correctness rarely seen outside FP.

[–] [email protected] 2 points 4 months ago

Websites have grown beyond mere scripting.

Parts of them, yeah. WASM in Rust makes total sense.

Rust is about more than just nicer pointers, it has a very expressive type system that enables correctness rarely seen outside FP.

If you say so. I'd suggest Haskell, but it doesn't work very naturally with interactivity, either user or intersystem.

load more comments (13 replies)
load more comments (15 replies)