Earlier quoted context omitted.
Well, this is just targeting a different VM, LLVM instead of the JVM. You get easy interop with all LLVM languages with this, including C.
You should really check your facts before posting a statement like this. While the VM in LLVM historically was short for Virtual Machine, it really has nothing to do with that. It's a compiler backend used by Clang (C++ compiler) and Rust.
Scala Native v0.1
101–110 of 254 posts
Re: Scala Native v0.1
#102Earlier quoted context omitted.
Well, this is just targeting a different VM, LLVM instead of the JVM. You get easy interop with all LLVM languages with this, including C.
You should really check your facts before posting a statement like this. While the VM in LLVM historically was short for Virtual Machine, it really has nothing to do with that. It's a compiler backend used by Clang (C++ compiler) and Rust.
Re: Scala Native v0.1
#103Earlier quoted context omitted.
Actually, there are people using Scala.js to run Scala on AWS lambda, precisely for that reason. * https://github.com/tptodorov/aws-lambda-scalajs * http://underscore.io/blog/posts/2016/03/21/serverless-scale-...
Sure, but it'd be nice not to have everything in the known universe depend on JavaScript.
Re: Scala Native v0.1
#104Does this mean the future of Scala is off the JVM? I ask because the post calls the JVM impl. a "reference implementation".
Re: Scala Native v0.1
#105Important bit: "The project has reached a point of feature completeness in terms of the coverage of the Scala language. We support the whole language including the more advanced features such as method dispatch via structural types and even macros." It must be frustrating to work on a project like this, see areas where the language can be improved, but only be able to do the work to make it purely compatible. Hopeful…
Re: Scala Native v0.1
#106Earlier quoted context omitted.
Actually, there are people using Scala.js to run Scala on AWS lambda, precisely for that reason. * https://github.com/tptodorov/aws-lambda-scalajs * http://underscore.io/blog/posts/2016/03/21/serverless-scale-...
Sure, but it'd be nice not to have everything in the known universe depend on JavaScript.
I still hate JS though.
Re: Scala Native v0.1
#107Will language support destructors for manual memory management ?
Re: Scala Native v0.1
#108Does this mean the future of Scala is off the JVM? I ask because the post calls the JVM impl. a "reference implementation".
Re: Scala Native v0.1
#109Earlier quoted context omitted.
You should really check your facts before posting a statement like this. While the VM in LLVM historically was short for Virtual Machine, it really has nothing to do with that. It's a compiler backend used by Clang (C++ compiler) and Rust.
My understanding is that IR is designed as though there were a VM to run it, but in practice, IR is immediately used to generate code for a target architecture.
Re: Scala Native v0.1
#110Earlier quoted context omitted.
> the cold startup time of the JVM itself (which is not relevant on a server in comparison to desktop Java apps). I disagree somewhat with this. We found that when we started writing microservices in languages that are not java, the short startup time changed how we did some error handling. For errors where we say lose connection to the database, or rabbitmq, we much rather have the nodejs-process die and restart, th…
> For errors where we say lose connection to the database, or rabbitmq, we much rather have the nodejs-process die and restart, than try to construct reconnect logic. This sounds like a very Erlang-ish way to handle the problem. Another advantage is that if the server/process is in some weird state that's causing problems, killing and restarting it lets you clear out the broken state, and get back into the state that…