News for hackers. Stuff that matters.
Re:Crystal 1.0 – What to expect by socialdemocrat on Monday March 22, 2021 @10:11PM (#26550189)
Why Kotlin when you got Swift is an equally valid point. People like choice and for a lot of us, running on the JVM is a non starter.

Try creating a small command line tool for a JVM language. You need to distribute a virtual machine with it. You got the overhead of firing up a VM or JIT just for a short lived session.

Also JVM gobbles memory. You would not want a system made up of lots of tiny command line tools all running on a JVM. That would be a lot of overhead.

Re:Crystal 1.0 – What to expect by dm3 on Tuesday March 23, 2021 @03:05AM (#26551928)
This information was true a few years ago. Now, with modular JVM you do not ship a VM with the program. JVM by itself is lean and starts up pretty fast. You can also compile to native with GraalVM - this is a viable option if you want to write lots of tiny command line tools.

See Babashka[0] for an example scripting toolkit written in Clojure.

[0]: https://github.com/babashka/babashka

Re:Crystal 1.0 – What to expect by pjmlp on Tuesday March 23, 2021 @05:40AM (#26552909)
Since 2000 AOT compiling into native code has been available to Java developers, no different from using something like Go.

That many didn't want to buy those compilers and settled with the free beer that could get hold of is another matter.

Re:Crystal 1.0 – What to expect by cb321 on Tuesday March 23, 2021 @08:46AM (#26554354)
Just to corroborate - with gcc's gcj Java folk could get compilation to an ELF binary for free as well. I was profiling such in 2004. This was unpopular/unmaintained enough that eventually gcc discontinued it.

Sadly, people often confuse "prevailing mindset of the noisiest authorities of some programming language" with "the programming language itself" { not that this is the only confusion or maybe even the worst... :-) }

Re:Crystal 1.0 – What to expect by himujjal on Monday March 22, 2021 @10:31PM (#26550328)
kotlin/native doesnt require jvm

swift support for windows is non-existent

Re:Crystal 1.0 – What to expect by eyelidlessness on Monday March 22, 2021 @11:15PM (#26550611)
> swift support for windows is non-existent

I was prepared to suggest WSL, but apparently Swift support for Windows is existent[1].

1: https://swift.org/blog/swift-on-windows/