News for hackers. Stuff that matters.
Re:What's Next for Scala by vbezhenar on Saturday April 11, 2020 @02:42PM (#22843289)
> The native executables are slim

What's the size of hello_world.exe?

Re:What's Next for Scala by LandR on Saturday April 11, 2020 @06:45PM (#22844779)
Dunno about Scala, but Clojure - another JVM language, has a GraalVM native executable for Hello WOrld about 8MB.

Not that slim.

Re:What's Next for Scala by vips7L on Saturday April 11, 2020 @08:06PM (#22845118)
How does that compare to similar languages? (Go, Nim, D, etc).
Re:What's Next for Scala by kbd on Saturday April 11, 2020 @11:03PM (#22845756)
For reference:

    $ \cat hellogo.go
    package main
    
    import "fmt"
    
    func main() {
      fmt.Println("hello")
    }
    $ go build hellogo.go
    $ \cat hellonim.nim
    echo "hello"
    $ nim c hellonim.nim
    ...
    $ ll
    total 2.2M
    -rwxr-xr-x 1 kbd staff 2.1M Apr 11 20:55 hellogo*
    -rw-r--r-- 1 kbd staff   66 Apr 11 20:42 hellogo.go
    -rwxr-xr-x 1 kbd staff  87K Apr 11 20:55 hellonim*
    -rw-r--r-- 1 kbd staff   13 Apr 11 20:29 hellonim.nim
Keep in mind these are the default compilation settings.
Re:What's Next for Scala by zmmmmm on Saturday April 11, 2020 @08:09PM (#22845136)
Not too bad if it's truly statically linked though ...