Most programming languages today fall into the paradigms of native machine code compiled ones like Rust, C, C++, etc or Bytecode compiled like Kotlin, Java, C#, etc. Even some interpreted languages like Python can be thought of as Bytecode compiled since the interpreter store the bytecode which is executed instead of the source file unless the source file is changed.
I think the main benefit of bytecode compiled programming languages is that they’re usually platform independent as long as there’s a runtime for the platform you want to use, but I also don’t know how much this matters anymore, or whether the inefficiencies of bytecode makes it worth it.
What do you think? Should new programming languages always be native machine code compiled, like Rust or C?
Why is the inventory program recommend to be written in a bytecode language? What would be the disadvantages of writing in a native language, like how the Lemmy backend compiles to a single native executable?
Basically for 3 main reasons
– In the case of Lemmy platform, it runs over Rust. This language/technology is quite special; it supports a wide range of programming paradigms, works to a hight and low level, it is compile, but runs on the fly. In some sense takes the best of the two worlds. Just beautiful.