Golo on the Raspberry

On the Little experiments desk, there are a lot of Little hardware. I must admit I have some favorites among them, but don’t tell them ;) One of them is an Android USB key, MK808B, which allows me to run Android any TV with a HDMI input. Used with a bluetooth PlayStation keyboard, it’s pure fun. Unfortunately, Android devices are running a modified JVM called Dalvik which has one major drawback: it’s based...

2 minute(s) read

Golo - Little 4

So, last time I told you I started to write some kind of GoloHttpServer. In that process (which is still WIP) I had several questions. One of the first was: a server will receive several requests, I need to launch threads. I knew how to do that with Java, how to do that with Golo. The solution I found is based on the below code: module little.experiment4_1 import java.lang function run = |number| { println...

2 minute(s) read

Golo - Little 3

Ok folks ! First, I hope you didn’t missed the release of Golo. I hoped to publish some article on the D-day but my daughter had an unplanned trip to hospital. She’s fine now, I spent some time watching her sleeping. So, this won’t be a huge post but still hope to introduce you to the coming plans. What I really like with new languages is that everything has to be discovered...

2 minute(s) read

Golo - Little 2

The D-day is coming for Golo and be sure to attend Julien’s talk at Devoxx ! In the meantime, here is a new piece of Golo. module little.experiment2_1 import java.lang function functionWithCase = |inputParameter| { case { when inputParameter == "This value" { println("this value spotted") } otherwise { println("otherwise was the answer") } } } function main = |args| { functionWithCase("This value") functionWithCase("not something to handle") } This illustrate the...

2 minute(s) read

Golo - Little 1

I think it’s time to start some Golo experiment. Of course, everyone wanted the mandatory HelloWorld. But hey, that’s a blog called “Little Experiment” ;) (at least it was at the writing time in) Ok, ok, the HelloWorld is available at Golo website, and as a present to my fellow readers, here is a copy here ;) module hello.World function main = |args| { println("Hello world!") } Save this to a helloworld.golo file...

1 minute(s) read

Golo

Back to the main purpose of this blog: a new dynamic langage is coming ! Its name: Golo ! The first release is in a close future and all you get on the official website is basic information. Hopefully, Julien Ponge, father of Golo, has started to speak during public talks. The first one took place February 7th at the Lava Jug. You may have a look to the slides and video (in French this time). The...

1 minute(s) read