Live data from Hacker News

Gosu – A pragmatic language for the JVM

gosu-lang.github.io

11–20 of 79 posts

Re: Gosu – A pragmatic language for the JVM

#11

Hey Everyone, I'm a developer on the project. We are going through an open-source reboot with Gosu, moving all development out onto Github, and the current site and release isn't 100% ready for prime time, but I guess it's too late for that now... I'm happy to answer any questions anyone has. Also, we are working on a web micro-framework called SparkGS: http://sparkgs.github.io/ which is a wrapper around the excellen…

My apologies for the preemptive publicity then, I didn't realize the state of the project. I just found it on Wikipedia when looking at JVM languages and thought it had some interesting aspects.

Re: Gosu – A pragmatic language for the JVM

#13
post #11

Hey Everyone, I'm a developer on the project. We are going through an open-source reboot with Gosu, moving all development out onto Github, and the current site and release isn't 100% ready for prime time, but I guess it's too late for that now... I'm happy to answer any questions anyone has. Also, we are working on a web micro-framework called SparkGS: http://sparkgs.github.io/ which is a wrapper around the excellen…

My apologies for the preemptive publicity then, I didn't realize the state of the project. I just found it on Wikipedia when looking at JVM languages and thought it had some interesting aspects.

Not at all! Stuff like this just makes it easier for the Gosu group at Guidewire to advocate for more open source resources, so thank you!

Re: Gosu – A pragmatic language for the JVM

#15
post #3

From a quick glance, this looks very nice and well thought-out. The only thing that I didn't like at first glance was that closures aren't explicitly delimited: print( strings.where( \ s -> s.length() > 3 ).sort() ) This looks like it could get ugly very fast if you want to write any kind of non-trivial closures. (Which is some of the same criticism that python often gets, and from which one could learn). "if", "for"…

We use a bit of a dated version of Gosu where I work (something I never thought I'd get to claim on HN...), but I believe that curly braces are perfectly fine to use, and actually required if you have a multi-statement block (essentially starting to look like anonymous functions in Javascript).

Re: Gosu – A pragmatic language for the JVM

#16
post #2

I'm fairly new to the language, as it hasn't been mentioned much since it's public release several years ago. The language takes many queues from Ruby; for example, "enhancements" are similar to monkey patching in Ruby. The syntax, semantics, and standard library (especially in collections) are also familiar. e.g.: Ruby [1, 2, 3].map { |x| 2 * x } Gosu {1, 2, 3}.map (\x -> 2 * x) Unlike Ruby, Gosu provides a static t…

I'm sorry... My only thought is "yet another JVM language that I won't ever get to use". Because if I have a project that is new, I'm using Ruby until I need a clojure/go back-end or something. If I have an old project in java, I doubt I'll adopt a new language. Hell it's already hard enough to get people to use Scala, and it has tons of benefits over vanilla Java.

Clojure, Scala, Klotlin, Groovy, JRuby, and now Gosu... I don't know... I'd love to at least see these sites compare themselves to other languages. Like why Gosu vs Klotlin when Klotlin was already worked on by JetBrains and afaik used for the development of their IDEs...

Re: Gosu – A pragmatic language for the JVM

#17

To me this just looks like uglier Scala. What's the advantage here?

I don't know that I'd compare it to Scala at all, I feel like they have very different capabilities, each of which have their pros and cons.

Whether it's uglier... I guess I haven't written enough Scala to know, but my Scala is pretty ugly :(.

Re: Gosu – A pragmatic language for the JVM

#18

What is the origin of the name?

It was originally called "GScript" but that was too generic so the lead eventually came up with "Gosu" which let us keep our ".gs" extension.

I associate the word "Gosu" with the Korean/International StarCraft scene, where the word describes a very skilled player. I wonder the project lead was also thinking of that.

Re: Gosu – A pragmatic language for the JVM

#20
post #18

Earlier quoted context omitted.

It was originally called "GScript" but that was too generic so the lead eventually came up with "Gosu" which let us keep our ".gs" extension.

I associate the word "Gosu" with the Korean/International StarCraft scene, where the word describes a very skilled player. I wonder the project lead was also thinking of that.

This is exactly what I was thinking.
Post reply on HN