engine | go-enum | |
---|---|---|
48 | 7 | |
7,125 | 654 | |
1.1% | - | |
10.0 | 6.8 | |
6 days ago | about 1 month ago | |
C++ | Go | |
BSD 3-clause "New" or "Revised" License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
engine
-
Ten Years of “Go: The Good, the Bad, and the Meh
https://github.com/flutter/engine/blob/main/impeller/docs/fa...
Impeller is the Skia replacement and is in full c++ that supports all platform.
It will be great if Go team can work with them(both are in Google) and make Impeller a render engine for Go.
With this no more bloated electron.js and no more Java/Swing or Qt, what a dream for the day.
-
The performance of the impeller engine
Likely it's https://github.com/flutter/engine/pull/41168 that fixed it, which got cherry picked into that commit.
-
Flutter embedded
Depends on what you want to do. The best documentation for writing the code where the engine should run in is in this header file.
-
Is Impeller now enabled by default on iOS?
Performance on large-screen and also high-refresh rate iPads was definitely a blind spot during the preview. We've done a ton of work to plug that gap since the preview though. Framebuffer fetch for advanced blends, improvement to blur performance, and using half-precision in performance critical shaders are just some of the improvements driven by these findings.
-
Ubuntu is now using Flutter for its installer
Yes. We use ATK for accessibility. FlAccessibleNode is where SemanticsNode and friends are exposed as ATK objects.
- Make textures thread-safe on linux
- Flutter texture is not thread-safe on Linux
- Possible to embed Flutter in an existing Windows app?
-
How can i experiment with flutter 3D?
The hardware accelerated 3D that was demoed was using Impeller Scene. Considering they were loading glb files I really hope the Flutter API has a GLES interface. It's currently marked "Experimental" and the demo they showed unfortunately doesn't have source in the same place as the other demos presented.
-
What do you wanna know about flutter ?
For example for the last point, embed Flutter in HTML pages, an important PR is recently merged: https://github.com/flutter/engine/pull/37738
go-enum
-
Ten Years of “Go: The Good, the Bad, and the Meh
While not perfect, there are ways to generate enums automatically using go:generate, e.g. https://github.com/abice/go-enum
-
Go vs Rust
I wouldn't write a macro to save a couple of lines, but I would definitely use (not even write, just use) a macro for something like generating enum [de]serialization for both JSON and BSON in one line. Go, even with generics, still has no way of abstracting extremely common patterns like enums without separate generator tools. Clearly someone thought the macro was useful here, but without a macro they had no choice but to write a separate tool.
-
Enums?
Ive found enums in Go are a pain point, especially across an organization because there are many valid ways to implement it. It's also fairly verbose to implement. The way Ive solved for it is code generation. This is a pretty good library that my team uses in production https://github.com/abice/go-enum
-
Why no enums?
I've worked in a few different languages and Go doesn't seem all that unique in the way that it doesn't provide an ENUM primitive. However, I looked around a bit and found go-enum which seems pretty neat. Also, I have no problem writing a custom string or int/iota type. In some cases you want to be able to serialize/deserialize with them -- and in others you don't need that.
-
Does Go not have enums in the sense that I can use them as a type?
Along that same line you can take it a step further and generate the iota block too with this tool https://github.com/abice/go-enum
-
How to do Enums in Go
Looks like this does what you want: https://github.com/abice/go-enum
What are some alternatives?
Skia - Skia is a complete 2D graphic library for drawing Text, Geometries, and Images.
goderive - Derives and generates mundane golang functions that you do not want to maintain yourself
flutter-webrtc - WebRTC plugin for Flutter Mobile/Desktop/Web
gotype - Golang source code parsing, usage like reflect package
Flutter - Flutter makes it easy and fast to build beautiful apps for mobile and beyond
GoWrap - GoWrap is a command line tool for generating decorators for Go interfaces
awesome-tauri - 🚀 Awesome Tauri Apps, Plugins and Resources
go-xray - Helpers for making the use of reflection easier
blurhash - A very compact representation of a placeholder for an image.
generis - Versatile Go code generator.
website - Flutter documentation web site
typeregistry - create type dynamically in Golang