Hacker News new | past | comments | ask | show | jobs | submit login

but because of their negative experiences it's been blacklisted with all code except netstack needing to be migrated to an approved language.

Have you got a reference for that, it seems pretty damning if it's true.




Did you read the section for Go?

> Con: The Fuchsia Platform Source Tree has had negative implementation experience using Go.

Decision

> Go is not approved, with the following exceptions: netstack ... In the fullness of time, we should migrate

> All other uses of Go in Fuchsia for production software on the target device must be migrated to an approved language.


Sorry, I mis-interpreted your statement to mean the whole of Google.


Full quote:

> Con: The Fuchsia Platform Source Tree has had negative implementation experience using Go. The system components the Fuchsia project has built in Go have used more memory and kernel resources than their counterparts (or replacements) the Fuchsia project has built using C++ or Rust.

I wonder if they had other negative experiences beside the higher resource usage? Because it's hardly surprising that a garbage-collected language should have higher resource usage than C++/Rust. They could have still supported it for app development however - but it seems they took a "there can only be one" approach and went for Dart instead.


Supporting Go for app development would mean having to design a generics free API.

Also most likely why Android will never support Go officially.


Generics Free, No exception handling, also hard to support to shared libraries.

That's more cost than benefit.


> also hard to support to shared libraries

why?


Go doesn't really have a standard/stable ABI. The way you include one module inside another is by doing what amounts to a big #include on the source code.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: