I was having a read of this article:
And thought maybe AS3/ Typescript could be a full fledged language that compiles to binary with the help of a Rust compiler, like they’re doing with the Roc Language:
If it was doable:
- the performance would probably be pretty similar to Rust
- you could use it anywhere with decent performance
- it would have Rust memory safety guarantees
- you could probably compile to WASM for use in web apps
- you could probably use the Typescript compiler as well
Does anybody have any ideas about the feasibility of this and why it hasn’t been done already?
Is as3 still in use today?
Another area where a language like AS3 would be powerful is in serverless Node runtimes like AWS Lambda or Google Functions.
take a look at (and why not contribute) to the amazing Ruffle project
in early stage but very promising.
Thanks I’ll have to look into it.
I’ve been learning Rust for a while, however it can be really frustrating.
Its the kind of language where you have to know 90%+ of the language decently before you can do anything really useful
Unlike JS where you can do a whole lot without even knowing for loops .
It would be nice to a subset of Rust with AssemblyScript syntax (e.g let x:u8 = 5;) and some built in methods/ macros .
Ruffle is mostly using crate libs so…