snmalloc
Flutter
snmalloc | Flutter | |
---|---|---|
8 | 1,204 | |
1,491 | 162,070 | |
1.3% | 0.6% | |
6.3 | 10.0 | |
about 1 month ago | 4 days ago | |
C++ | Dart | |
MIT License | BSD 3-clause "New" or "Revised" 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.
snmalloc
-
Snmalloc: A Message Passing Allocator
https://github.com/microsoft/snmalloc#snmalloc mentions two biggest motivations as:
> Allocations on one thread are freed by a different thread
I can imagine one use-case for this: a task that is scheduled from and executed by a work-stealing thread-pool can allocate memory in one thread but by design there's no guarantee that the memory will be necessarily freed from that exact thread. Would that be a good use-case for snmalloc?
> Deallocations occur in large batches
This sounds much like a bump allocator use-case but which can do this exact thing by calling a single munmap(addr, len) and unmap multiple allocations all at once.
-
Is the JVM a upside or downside to Scala?
Yes, it's very efficient and that's not where the main problem lies. However, small allocations with modern C heap allocators like mimalloc or snmalloc has gotten extremely efficient as well. Would be interesting to see a benchmark comparison with Java's G1 and ZGC.
- Snmalloc 0.6 released, major redesign with security hardening
- Snmalloc: High-performance message passing based allocator
-
Maintenance status (jemallocator)
Did you ever benchmark against https://github.com/microsoft/snmalloc ?
Flutter
-
How to Deploy Dart Functions to AWS Lambda
Deploying Dart functions to AWS Lambda enables you to utilize them not only within AWS Lambda but also integrate them with services like Amazon API Gateway, allowing you to leverage them in Flutter applications as well. This unified codebase in Dart offers great convenience.
-
Show HN: Shorebird 1.0, Flutter Code Push
[3]: https://github.com/flutter/flutter/tree/master/packages/flut...
-
3D and 2D: Testing out my cross-platform graphics engine
Thanks - that link does not appear to be open access, anyways I don't think I've seen it. I'm familiar with Flutter at a high-level (Kevin Moore gave a great talk on it at Wasm I/O), and I think other than requiring users to work in Dart, it is probably one of the most powerful ways to do cross-platform UI today.
Worth noting that their original GPU backend was Skia, and now they are retooling around Flutter GPU (Impeller)[0], which is kind of designed similarly as an abstract rendering interface over platform-specific GPU APIs.
[0]https://github.com/flutter/flutter/wiki/Flutter-GPU
-
Python dev considering Electron vs. Kivy for desktop app UI
If you are considering Electron/React then I would suggest adding Flutter to your list of technologies to consider. It uses Dart (a language similar to C#) and has a lot going for it… relatively quick to get up to speed with, fantastic developer experience (e.g., hot reload, great IDE support, good development tools) and very strong cross-platform support: it generates native iOS, Android, MacOS, Windows and Linux executables. Check it out: https://flutter.dev/
- Lançamento do App Edudu
- Android 12+: Changing wallpaper or dark theme breaks Flutter and Jetpack Apps
- Android 12: Changing wallpaper or dark theme breaks Flutter and Jetpack Compose
-
React Native and Flutter: A Developer's Dilemma
You can find the React Native documentation here and Flutter Documentation here.
-
Ente: Open-Source, E2E Encrypted, Google Photos Alternative
[1]https://github.com/flutter/flutter/issues/55092#issuecomment...
- Reusing state logic is either too verbose or too difficult #51752
What are some alternatives?
mimalloc - mimalloc is a compact general purpose allocator with excellent performance.
Introducing .NET Multi-platform App UI (MAUI) - .NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
jemallocator - Rust allocator using jemalloc as a backend
flet - Flet enables developers to easily build realtime web, mobile and desktop apps in Python. No frontend experience required.
Mesh - A memory allocator that automatically reduces the memory footprint of C/C++ applications.
WPF - WPF is a .NET Core UI framework for building Windows desktop applications.
mimalloc_rust - A Rust wrapper over Microsoft's MiMalloc memory allocator
Uno Platform - Build Mobile, Desktop and WebAssembly apps with C# and XAML. Today. Open source and professionally supported.
jemallocator - Rust allocator using jemalloc as a backend
kivy - Open source UI framework written in Python, running on Windows, Linux, macOS, Android and iOS
rpmalloc - Public domain cross platform lock free thread caching 16-byte aligned memory allocator implemented in C
Quasar Framework - Quasar Framework - Build high-performance VueJS user interfaces in record time