Re:How we built JSR
by mxuribe on Friday April 12, 2024 @12:09PM
(#40014482)
My dream language/environment would be something that is ubiquitous, has a straight-forward learning curve, has a REPL, and empowers dev productivity - like python - but then, if i should choose, there would be an additional straight-forward path for me to push my code thhough some compilation process in order to supercharge the performance/speed of my code - like Go or Rust, etc...Basically let me choose to employ my code as a (dynamic) script, or compiled code...sort of like some hybrid of python and Go, or python and rust, etc. but combined into a single lang./env. :-)
[ Parent
| on HN ]
Re:How we built JSR
by guilherme-puida on Friday April 12, 2024 @12:21PM
(#40014638)
Common Lisp, maybe?
I believe this is essentially the goal of Mojo [0][1], at least for ML/AI development.
Another rabbit hole for me to discover! Thanks!
Clojure is probably closest to that right now.
Interesting; i guess i have a rabbit hole to dive into. Thanks forvthe suggestion!
That's Java. You can work in the REPL, and when you put your code in a file and launch it it runs fast; very fast.
I can't deny the performance and scalability of Java. But I've never been a fan of the need to be so verbose when coding for it. Also my memory of Java is from the late 90s...so maybe I'm missing something but I can't recall there ever being a REPL in Java. So I guess TIL :-)
Not only is there now a REPL, but the language is not at all what you remember from the 90s.
Re:How we built JSR
by sdeframond on Friday April 12, 2024 @04:38PM
(#40017405)
That is what Scala claims to be. https://www.scala-lang.org/
Scala has its own downsides tho. It is a "big" language in the sense that because it tries to do everything, there are too many ways to do one things.