News for hackers. Stuff that matters.
Re:Flix – A powerful effect-oriented programming language by phplovesong on Thursday July 10, 2025 @11:18AM (#44522010)
JVM is a no-starter. The language looks nice tho, shame they built it on JVM.
Re:Flix – A powerful effect-oriented programming language by jorkadeen on Thursday July 10, 2025 @11:37AM (#44522207)
The JVM is a state-of-the-art virtual machine with multiple open source implementations, a large ecosystem, and a fast JIT compiler that runs on most platforms. It is hard to find another VM with the same feature set and robust tooling.
Re:Flix – A powerful effect-oriented programming language by withinboredom on Thursday July 10, 2025 @11:56AM (#44522427)
Yes… with a million weird environment variables that can affect your runtime.
Re:Flix – A powerful effect-oriented programming language by Joker_vD on Thursday July 10, 2025 @12:11PM (#44522590)
Which is amazing, you can fine tune the performance of the runtime to your heart's content. Or you can just leave them as-is, the default behaviour is quite reasonable too.
Re:Flix – A powerful effect-oriented programming language by foxygen on Thursday July 10, 2025 @12:08PM (#44522561)
So don't change them? Parent comment still applies to stock JVM.
Re:Flix – A powerful effect-oriented programming language by eikenberry on Thursday July 10, 2025 @02:48PM (#44524214)
I think the problem is that it targets a VM instead of native machine architectures, not the quality of the VM. I also find the times I need to target a VM to be very limited as I'm generally writing code for a specific platform, not a cross platform application. Of course this will vary between developers.
Re:Flix – A powerful effect-oriented programming language by cmrdporcupine on Thursday July 10, 2025 @03:05PM (#44524378)
Targeting JVM means not having to roll your own garbage collector.

And bonus, you get a huge world of third party libraries you can work with.

It's been over a decade since I worked on the JVM, and Java is not my favourite language, but I don't get some people's hate on this topic. It strikes me as immature and "vibe" based rather than founded in genuine analysis around engineering needs.

The JVM gets you a JIT and GC with almost 30 years of engineering and fine tuning behind it and millions of eyes on it for bugs or performance issues.

Re:Flix – A powerful effect-oriented programming language by jorkadeen on Thursday July 10, 2025 @03:21PM (#44524547)
I strongly agree. Java and JVM bytecode may not be our "cup of tea", but it is simply unrealistic to implement any runtime environment with comparable performance, security, robustness, and tooling. The only alternative is WASM, but they are not yet there feature-wise.
Re:Flix – A powerful effect-oriented programming language by eikenberry on Thursday July 10, 2025 @05:12PM (#44525676)
The JVM is a large and complex system with tons of configurable options. If you don't need it, why add all that cognitive overhead when you have perfectly good options that don't. And the benefits you gain are very limited if you aren't integrating with other JVM based systems.
Re:Flix – A powerful effect-oriented programming language by vips7L on Friday July 11, 2025 @12:05AM (#44528298)
You genuinely don’t need to think about any of the configurable options, especially if you’re running a client program. At most for server programs you just set the max memory percentage and soon you won’t have to do that.
Re:Flix – A powerful effect-oriented programming language by dontlaugh on Thursday July 10, 2025 @05:20PM (#44525746)
The practical problems are slow startup time and high minimum memory usage. Since those are encountered early on in the developer experience, the reaction many have is predictable.
Re:Flix – A powerful effect-oriented programming language by phplovesong on Sunday July 13, 2025 @09:00AM (#44550141)
Im fully aware. But i dont want a heavy and bloated runtime like the JVM. Its slow (startup) and clunky, and has decades of feature creep and bloat.
Re:Flix – A powerful effect-oriented programming language by esafak on Thursday July 10, 2025 @11:41AM (#44522253)
Don't say you'd pick the PHP JIT!
Re:Flix – A powerful effect-oriented programming language by satvikpendem on Thursday July 10, 2025 @12:03PM (#44522523)
I'd use HipHopVM like Facebook instead
Re:Flix – A powerful effect-oriented programming language by withinboredom on Thursday July 10, 2025 @11:55AM (#44522408)
It has an actual IR now… so theoretically it’s actually possible…
Re:Flix – A powerful effect-oriented programming language by atemerev on Thursday July 10, 2025 @11:21AM (#44522031)
I don't know, Kotlin, Scala and Clojure are quite successful.
Re:Flix – A powerful effect-oriented programming language by latexr on Thursday July 10, 2025 @11:59AM (#44522458)
I don’t think they mean the JVM makes it a non-stater in general, but a non-starter for them.
Re:Flix – A powerful effect-oriented programming language by pshirshov on Thursday July 10, 2025 @12:20PM (#44522674)
Graal Native Image and you have your native binary.
Re:Flix – A powerful effect-oriented programming language by phplovesong on Sunday July 13, 2025 @03:46PM (#44553036)
Never used graalvm. Does it produce a machine code, or is it packaging the entire JVM in a zip like file?
Re:Flix – A powerful effect-oriented programming language by artemonster on Thursday July 10, 2025 @03:32PM (#44524669)
HN: "not written in Rust or LISP, pass"