Live data from Hacker News

Fuchsia, a new operating system

github.com

111–120 of 175 posts

Re: Fuchsia, a new operating system

#111
post #83

Fuchsia is not a combination of pink and purple. It is the color your brain comes up with when it sees contradictory color signals (such as very high and very low wavelengths without the appropriate middle stimulation). It's the only color not in the rainbow. As you can see from this additive color program ( http://trycolors.com/?try=1&ffb5d9=0&c31cff=0 ), pink and purple create a lavender color. Whereas fuscia is wh…

A rainbow starts at red and ends a violet. In your brain, the rainbow wraps around in a circle, connecting red and violet. This is not the reality of the wavelengths, so your brain makes up a color that fits between red and violet.

Re: Fuchsia, a new operating system

#112

>> It seems like the intention is to use Flutter [1] as the UI layer. Flutter already ready for use? If Flutter is not ready for use then how it can be used?

There are people using it already. Inside and outside of Google. http://flutter.io/

Probably you mixed Flutter with Dart.

Re: Fuchsia, a new operating system

#113
post #47

The repo at https://fuchsia.googlesource.com reveals a rather interesting UI story for this new operating system. It seems like the intention is to use Flutter [1] as the UI layer. Flutter uses the Dart language, so there's a Dart environment included in Fuchsia too [2]. For rendering, Fuchsia includes a project called Escher [3] which is described as a physically based renderer that supports soft shadows, light diff…

Most interesting for me was the Mojo interfaces defined at https://github.com/fuchsia-mirror/mojo/tree/master/public/in... and https://github.com/fuchsia-mirror/mojo/tree/master/services.

E.g. the application interface at https://github.com/fuchsia-mirror/mojo/blob/master/public/in...

And the framebuffer interface https://github.com/fuchsia-mirror/mojo/blob/master/services/...

I don't see any mention of a file system.

Re: Fuchsia, a new operating system

#114
post #56

I'm calling it now: this is for augmented reality displays and similar. You want an RTOS for loss and predictable latency. And current GUIs aren't really suited to 3D environments you can walk around inside. This is Google's next Android, with a low latency rendering pipeline for the next generation of mobile devices.

Wouldn't that be nice after Google has affirmed again and again that Java would be the only supported way to develop Android apps, even though they keep Dart funded internally...

Hey, I'll bite. Let's see.

Re: Fuchsia, a new operating system

#115

Earlier quoted context omitted.

Maybe it's useful to point out here that: - Chrome is built on Chromium, which is open source, but Chrome itself is not. - Android is based on open source technologies, but is, again, not itself open source in many cases. - Many, if not most, programming language implementations are not open source. In fact, you're dating yourself with this claim, as those with more experience remember the dark days of paying for com…

> - Chrome is built on Chromium, which is open source, but Chrome itself is not. If you've actually tried using Chromium then you realize that this distinction doesn't make much sense. Chrome IS Chromium + Netflix + Flash + updater/Omaha + flashier logo. > - Android is based on open source technologies, but is, again, not itself open source in many cases. Android itself is open source (AOSP) and is very much a usable…

A+, then K, Q/kdb are closed source. I wonder in dollars, not users, how much of the market for paid compilers/systems they have at the price per seat they fetch. The fintech community pays dearly for them because they are effective.

I use J, which is not that popular. It was closed, but has been open source for a while now.

Re: Fuchsia, a new operating system

#116

Earlier quoted context omitted.

I love Rust immensely, and it is perhaps my favorite programming language as of late. However. This is a microkernel. There is very, very little code inside a microkernel which, if written in Rust, would not end up inside an unsafe block. You are building the safe abstractions here; that code is inherently unsafe. You could use Rust as a C replacement, but it is a worse C than C, and unsafe rust contains more perils…

Redox is microkernelish, and used to have a lot of unsafe, but has cut it down significantly. You'd be surprised :) That said, this is pretty much an open research question at this point, so you're right to be skeptical. (I would also argue that unsafe Rust has more _unspecified_ behavior than C, but not more undefined behavior, but until we get those semantics truly nailed down, can't say for sure. See above "open r…

The LK inner construct is ~15KB. I don't think you could use Rust's safety features and get that size for the LK portion. Maybe the Magenta portion of it though.

"Magenta has a capability-based security model. In LK all code is trusted."

Pony lang is a PL using capability-based concepts too.

Re: Fuchsia, a new operating system

#117
post #81

The only thing that really bothers me with this new OS is that the kernel is no longer GPL. With a GPL kernel like Linux we had a chance of getting the kernel source code ( some companies don't care if it's GPL anyway ) for our devices but if it's Apache or BSD good luck with that.

I suspect that's intentional. Google seems to prefer Apache-style licensing, as that's what they used with Android. By not relying on the Linux kernel, they get to avoid the whole copyleft kerfuffle.

Re: Fuchsia, a new operating system

#118
post #116

Earlier quoted context omitted.

Redox is microkernelish, and used to have a lot of unsafe, but has cut it down significantly. You'd be surprised :) That said, this is pretty much an open research question at this point, so you're right to be skeptical. (I would also argue that unsafe Rust has more _unspecified_ behavior than C, but not more undefined behavior, but until we get those semantics truly nailed down, can't say for sure. See above "open r…

The LK inner construct is ~15KB. I don't think you could use Rust's safety features and get that size for the LK portion. Maybe the Magenta portion of it though. "Magenta has a capability-based security model. In LK all code is trusted." Pony lang is a PL using capability-based concepts too.

  > I don't think you could use Rust's safety features and get that size for the LK portion.
What do you mean? Rust's safety features are mostly compile-time; it shouldn't have implications for binary size. https://github.com/helena-project/tock is an RTOS that runs on an Atmel SAM4L Cortex-M4, and is about ~30kb in size, in my understanding. But that's for the whole OS...

Re: Fuchsia, a new operating system

#119
post #107

Earlier quoted context omitted.

> Shadows and subtle color reflections are a major part of that "layered paper" aesthetic. They're a part of design language, raw elements of design. This can get much bigger than the Material Design of now. It can make sure that the subtle or even zany, domineering design of tomorrow has just the right level of refinement for its intended audience. IMO as a graphic designer and as someone who has been doing 3D rende…

PBR == Physically-based rendering?

Yes

Re: Fuchsia, a new operating system

#120
post #83

Fuchsia is not a combination of pink and purple. It is the color your brain comes up with when it sees contradictory color signals (such as very high and very low wavelengths without the appropriate middle stimulation). It's the only color not in the rainbow. As you can see from this additive color program ( http://trycolors.com/?try=1&ffb5d9=0&c31cff=0 ), pink and purple create a lavender color. Whereas fuscia is wh…

To be yet more pedantic, it's the only fully-saturated color that's not present in the rainbow.

Colors are perceptual phenomena- the interpretation of a spectrum of light impinging on a patch of retina that almost invariably contains more than one frequency at a time. Colors include white, black, gray, pink, tan, beige, baby blue- none of which are in the rainbow.

Post reply on HN