We have moved to a new Sailfish OS Forum. Please start new discussions there.
3

Go language support [answered]

asked 2014-11-24 06:46:43 +0300

notzippy gravatar image

updated 2014-11-24 06:48:15 +0300

Go is getting to be very popular to develop with. Would it be possible to create an app for jolla tablet with go using the qml bindings like these : https://github.com/go-qml/qml ? An example or skeleton project would be great. Also native bindings would be a needed resource as well, but it would bring on a whole community of developers to the device if it was supported. Which would be fantastic..

edit retag flag offensive reopen delete

The question has been closed for the following reason "the question is answered, an answer was accepted" by eric
close date 2014-11-24 11:53:16.758141

1 Answer

Sort by » oldest newest most voted
0

answered 2014-11-24 07:06:14 +0300

shmerl gravatar image

updated 2014-11-24 07:17:04 +0300

I think all it will take is simply building a compiler. You should submit this request not to Sailfish, but to its upstream which provides development tools, i.e. to Mer Project. You can do it here: https://bugs.merproject.org

You can also help packaging the compiler in Mer, that would speed up this effort.

Languages wise though I'm waiting for Rust to reach release state. It looks more interesting and promising than Go features and design wise. If Go can be seen as Java replacement (Go is not systems language), Rust can be seen as C++ replacement - i.e. it's systems language. There was some effort to provide Qt5 bindings for it too.

edit flag offensive delete publish link more

Comments

Agreed, go is not a systems lang, but they did get concurrency right (more so than java). I found this project on the merproject website https://build.merproject.org/package/show/home:eenemo:branches:nemo:devel:mw/go Is this an RPM for go ? Does it mean go will run ?

Rust does look interesting as well. Good to see compile time checking finally do more then catch spelling mistakes.

thx Nz

notzippy ( 2014-11-24 07:42:50 +0300 )edit

Yes, looks like it: https://build.merproject.org/package/view_file/home:eenemo:branches:nemo:devel:mw/go/go.spec?expand=1

You can try using that spec and build it yourself in Mer SDK for Sailfish target for example. Or just try making a new build using OBS.

shmerl ( 2014-11-24 07:55:00 +0300 )edit

I found this, it provides tools for building go/qt apps for sfos.

Huholoman ( 2017-02-08 13:02:55 +0300 )edit

Question tools

Follow
1 follower

Stats

Asked: 2014-11-24 06:46:43 +0300

Seen: 869 times

Last updated: Nov 24 '14