matrix
MMKV
Our great sponsors
matrix | MMKV | |
---|---|---|
1 | 5 | |
11,395 | 16,821 | |
0.6% | 1.1% | |
1.7 | 8.7 | |
2 months ago | 6 days ago | |
Java | C++ | |
GNU General Public License v3.0 or later | GNU General Public License v3.0 or later |
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.
matrix
-
教你做人是给你逼脸了 库克死gay不要不识抬举
根据 WeChat 的开源代码,他们用这个符号的值来判断是否有调试工具挂载了。(https://github.com/Tencent/matrix/blob/master/matrix/matrix-iOS/Matrix/WCMemoryStat/MemoryLogger/memory_logging.cpp#L451) 新版 libmalloc 把这个日志机制重写了,所以这个符号也就失去了意义,估计删除后发现引发了微信的崩溃,所以被迫继续提供这个符号保证兼容性,也就有了那行注释。
MMKV
-
Understanding security in React Native applications
react-native-mmkv is a wrapper around MMKV that allows you to easily implement secure storage in your app. It is arguably the fastest key-value storage for React Native apps
-
TOP 6 React Native libraries with native performance ⚡️
This library uses MMKV key-value storage and JSI to communicate between the JS side and the native side very quickly and synchronously. It is a suitable replacement for slow AsyncStorage. Follow this guide to migrate from AsyncStorage and get 30x faster on read and write operations in your app.
-
MMKV Visualizer - simple visualizer for mobile forensicators
For those unfamiliar with MMKV, here's a link to their GitHub - https://github.com/Tencent/MMKV. Used in many mobile applications, such as Discord.
-
React Native SWR Persistent Cache with MMKV
SWR library works great with React Native. By default, SWR library uses global cache store, but you will lose your cache when you reload your app. Here is a super-easy way to sync SWR cache with MMKV.
-
Getting Started with React Native JSI Modules
This library aims to provide a fast & reliable solution for you data storage needs in react-native apps. It uses MMKV by Tencent under the hood on Android and iOS both that is used by their WeChat app(more than 1 Billion users). Unlike other storage solutions for React Native, this library lets you store any kind of data type, in any number of database instances, with or without encryption in a very fast and efficient way. Read about it on this blog post I wrote on dev.to
What are some alternatives?
Riru - Inject into zygote process
Realm - Realm is a mobile database: a replacement for Core Data & SQLite
mediapipe - Cross-platform, customizable ML solutions for live and streaming media.
SQLite.swift - A type-safe, Swift-language layer over SQLite3.
WechatExporter - Wechat Chat History Exporter 微信聊天记录导出备份程序
ObjectBox embedded database - Swift database - fast, simple and lightweight (iOS, macOS)
ncnn - ncnn is a high-performance neural network inference framework optimized for the mobile platform
SQLite - A stand-alone Swift wrapper around the SQLite 3 client library.
WCDB - WCDB is a cross-platform database framework developed by WeChat.
UserDefaults - Simple, Strongly Typed UserDefaults for iOS, macOS and tvOS
FMDB - A Cocoa / Objective-C wrapper around SQLite
react-native-mmkv-storage - An ultra fast (0.0002s read/write), small & encrypted mobile key-value storage framework for React Native written in C++ using JSI