Hacker News new | ask | show | jobs
by flukus 2523 days ago
Assuming it's not an iphone, the phone you bought will likely be getting few/no more security updates and is obsolete, that's why it's so cheap now and in part why it was so cheap then. As you said, the value add here is in running mainline linux and that means your phone really will be usable for several years. Some of the other big pluses over android are ease of development, no java bloatware, more FOSS and no spyware. Those things are just eating your specs anyway.
2 comments

Yes Java has many issues, but writing complex GUI apps in plain C in this day and age is the wrong thing to do. The early Gnome founders learned this the hard way which led to Mono, which at least had automatic memory management. I fear this OS is destined to become like Samsung Tizen, which is riddled with security holes. It's not as if we don't have excellent libre languages, e.g. Rust and OCaml.

I applaud the open nature of this phone, but using the Gnome stack looks to me like a mistake.

Couldn't disagree more, writing apps in C is a breath of fresh air compared anything in java but especially android. I can start with a simple C file and write hello world in a few lines of C (dated examples: http://zetcode.com/gui/gtk2/firstprograms/) and run it on my desktop, IME the complexity curve remains quite flat. AFAIK mono never gained much acceptance (and was highly controversial at the time) and most of the gnome ecosystem is written in C, I'd be surprised if there was more C# code than JS and python in gnome today.

> I fear this OS is destined to become like Samsung Tizen, which is riddled with security holes.

Is the gnome desktop riddled with security holes? I don't know much about tizen but they seem to have written a lot more of their own stuff, the vast majority librem is battle hardened.

> It's not as if we don't have excellent libre languages, e.g. Rust and OCaml.

Rust is not mature enough, especially in it's UI libs and is virtual unheard of outside the HN bubble. The most mature UI available appears to be the GTK bindings though so it's mostly the same stack that you think is a mistake. OCaml despite being older is even more unknown and from a quick google it's most mature UI library seems to also be an out of date GTK (https://github.com/garrigue/lablgtk). Betting on either of those would be the death of the project.

> I applaud the open nature of this phone, but using the Gnome stack looks to me like a mistake.

Gtk and Qt are the only serious options as of today without having to sink in years of dev work. If anyone really wants to avoid C then there's the GObject system that lets you write code in js/python/xml/others, but I'm hoping this turns out to be the phone ecosystem that respects users and doesn't sacrifice their time and battery for the developers convenience.

> it's most mature UI library seems to also be an out of date GTK

What makes you think it's out of date? There is a gtk3 branch, gtk2 was used mostly because it was stable and cross platform. It's used by Coq, Unison, Frama-C, zeroinstall and others, and it's rock solid.

> Betting on either of those would be the death of the project.

Lolwat? What makes you think so? Rust Gtk bindings are official, and suggested to be used by Gnome team. OCaml is rock solid and used by the industry, for GUI apps as well.

I wouldn't call Java a bloatware. Native Java apps work without any lags on my $150 phone.