Hacker News new | ask | show | jobs
by archargelod 102 days ago
I was excited to try Julia, but then, as I saw it was an interpreted language, with bulky runtime, slow startup times and bloated library sizes - my initial interest quickly faded.

For the same reasons I see languages like Python, Java, C# as inferior.

3 comments

How is Julia an interpreted language? I sometimes wish there was a robust interpreter for Julia when the compilation latency is not worth the execution speed.
I still classify JIT languages as interpreted, because they require a runtime and it kills the convenience of sharing small binary e.g. in C or Nim.

And Julia docs are also unambigious in stating that code is sometimes interpreted[0]:

> jl_toplevel_eval_flex() then uses some simple heuristics to decide whether to JIT compile the AST or to interpret it directly.

[0] - https://docs.julialang.org/en/v1/devdocs/eval/#Julia-Executi...

Julia compiles to native code, same as C++/Rust.
Java and C# definitely don't belong on the same basket.

And inferior to what, the crab?

Inferior to languages that compile to native binaries, not burning dramatically more cpu cycles than necessary.
Showing your ignorance regarding Java and C# ecosystems and available compilers on that reply.
I indeed don't know about Java, but with C# there are a lot of limitations if you want AOT compilation and you still get the bloated binary and limited performance.

I also, personally, never seen a single project written in either Java or C# that distributes aot binaries.

You mean bloated as Go, the superior language?

The limited performance of game engines like the one used by Capcom for Devil May Cry on the Playstation 5?

Java binaries deployed in embedded systems by PTC and Aicas are AOT compiled.

Yes, as bloated as Go. I consider Java, C# and Go roughly equivalent in speed, space, and memory.