News for hackers. Stuff that matters.
Re:We're forking Flutter by nottorp on Tuesday October 29, 2024 @04:21AM (#41980851)
> the underlying platform UX and draws to a canvas

Frame buffer? Canvas is the javascript term.

Re:We're forking Flutter by Nekit1234007 on Tuesday October 29, 2024 @07:06AM (#41982567)
Flutter uses canvas when targeting the web. (At least it was the last time I looked at it years ago)
Re:We're forking Flutter by nottorp on Tuesday October 29, 2024 @07:26AM (#41982749)
Canvas is the javascript name for writing directly to a frame buffer :)

There is a world outside the browser. For now.

Re:We're forking Flutter by metalliqaz on Wednesday October 30, 2024 @11:31AM (#41996185)
Canvas predates javascript. For example, TCL's TK toolkit uses Canvas[1]

[1] https://tkdocs.com/tutorial/canvas.html

Re:We're forking Flutter by tauntz on Tuesday October 29, 2024 @09:32AM (#41983679)
It's not specific nor limited to javascript. The term "canvas" in this context is much older and seems to be used across many platforms.

Random examples from the (desktop) Java/Android/iOS world where the same semantics is used:

https://docs.oracle.com/javase/8/docs/api/java/awt/Canvas.ht...

https://developer.android.com/reference/android/graphics/Can...

https://developer.apple.com/documentation/SwiftUI/Canvas

Re:We're forking Flutter by nottorp on Wednesday October 30, 2024 @04:46AM (#41992996)
You may notice that the first reference is from java, and i bet js lifted it from there. They may have been aware of java because they lifted the name too.

The other two are too new to be relevant.