Rewrite Rust components in C (yes, seriously.)

(#996) Feature Declined meta performance

Thread

Comment by @ctudor0
RexSystem 1 vote originally by @ctudor0 on GitHub 3 replies
I fully agree with using C instead of Rust. That's definitely a really good idea to avoid corporate control. I also think it's generally a better idea to keep the number of different languages as low as possible. I'd say at max: Typescript, Go, C and Erlang (if really necessary for hot code swapping). I'm happy Gleam code was rewritten to Typescript.
Comment by @zleepyzeezee
RexSystem 1 vote originally by @zleepyzeezee on GitHub OP
Good point, I didn't really mean it has to be strictly C, I just really like C and others I know agree, but as long as we're staying away from big corpos, that's fine with me :3
Comment by @ctudor0
RexSystem 1 vote originally by @ctudor0 on GitHub
Yeah Go should also do the job for example.
Comment by @whimbree
RexSystem 1 vote originally by @whimbree on GitHub
Go is a strictly less performant language than Rust since it uses garbage collection. Rust doesn't use any garbage collector, and has a much smaller runtime than Go. Rust also compiles down to WASM for use in the browser and this is well supported. Go has some WASM support but it's still experimental: https://go.dev/wiki/WebAssembly Also, Go was created and is owned by Google - I'd argue it's far more corporate entrenched than Rust.