ctlstore
osxcross
ctlstore | osxcross | |
---|---|---|
3 | 23 | |
259 | 2,744 | |
0.8% | - | |
5.9 | 5.5 | |
20 days ago | about 1 month ago | |
Go | C++ | |
MIT License | GNU General Public License v3.0 only |
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.
ctlstore
-
SQLedge: Replicate Postgres to SQLite on the Edge
We replicated our MySQL database to a SQLite edge at Segment in ctlstore: https://github.com/segmentio/ctlstore
We considered tailing binlogs directly but there's so much cruft and complexity involved trying to translate between types and such at that end, once you even just get passed properly parsing the binlogs and maintaining the replication connection. Then you have to deal with schema management across both systems too. Similar sets of problems using PostgreSQL as a source of truth.
In the end we decided just to wrap the whole thing up and abstract away the schema with a common set of types and a limited set of read APIs. Biggest missing piece I regret not getting in was support for secondary indexes.
-
Sharing an SQLite database across containers is surprisingly brilliant
> it is only practical for situations where the write rate (<100/s total) and data volumes (<10GB total) are low.
This comment from the GitHub project page is pretty important. Configuration data often sees slow change, and isn't huge so a custom approach seems viable. I wonder how close they are to that 100/s ceiling.
There's also an unmentioned transition to eventual consistency happening here:
> The implications of this decoupling is that the data at each instance is usually slightly out-of-date (by 1-2 seconds).
> The reader API provides a way to fetch an approximate staleness measurement that is accurate to within ~5 seconds.
That's could lead to more complex application logic or risk of confusing users with stale behavior. No free lunch here.
[1] https://segment.com/blog/separating-our-data-and-control-pla...
[2] https://github.com/segmentio/ctlstore
-
Go port of SQLite without CGo
at segment we benchmarked https://github.com/segmentio/ctlstore against this driver. We saw about a 50% hit to read performance, so we didn't move forward with it, but the improvements in service build times were really appealing.
osxcross
- Darling: Run macOS Software on Linux
-
How to cross Compile on Debian for: Mac / FreeBSD / OpenBSD / Android ... ?
If you actually have MacOS device and can install Xcode and so on then you can proceed here and read the instructions.
-
I find it's not possible to do serious C/C++ coding on latest macOS
Have you considered using a dockerized osxcross cross compiler toolchain in your CI? Granted it is a bit clunky to setup...
-
Apple just lost its lawsuit trying to ban iOS virtual machines
Technically it's possible, but possibly not legal:
https://github.com/tpoechtrager/osxcross
> Please ensure you have read and understood the Xcode license terms before continuing.
According to the EULA you may only use the SDK on Apple-branded computers. But you can use Linux to cross compile to Apple.
- Go port of SQLite without CGo
-
Cross compile for ppc macs (10.4)
is there a way to cross compile without vms? something similar to https://github.com/tpoechtrager/osxcross?
-
Am looking for an API guru to assess how to make a project multiplatform
If you figure out how to get SDL working, one possibility is to develop on Linux, then use mingw-w64 to cross compile from Linux to windows, then use osxcross to cross-compile from Windows to OSX.
- How To Fix Your Computer
-
Rust & Cross-compiling from Linux to Mac on GitHub Actions
Thank you osxcross for creating the path forward
-
A Completely Open-Source Implementation of Apple Code Signing and Notarization
This is actually a solved problem, using osxcross[0]. The experience is honestly very smooth, and we don't require any apple proprietary binaries. The only thing apple-proprietary is their SDK (containing the header files for compiling, and tbd files for linking), which can be downloaded from apple's website (at least if you have a developer account), or from various GitHub projects archiving them.
[0]: https://github.com/tpoechtrager/osxcross
What are some alternatives?
go-sqlite - pure-Go SQLite driver for Go (SQLite embedded)
mold - Mold: A Modern Linker ðŸ¦
sqlite
eShopOnContainers - Cross-platform .NET sample microservices and container based application that runs on Linux Windows and macOS. Powered by .NET 7, Docker Containers and Azure Kubernetes Services. Supports Visual Studio, VS for Mac and CLI based environments with Docker CLI, dotnet CLI, VS Code or any other code editor. Moved to https://github.com/dotnet/eShop.
sysroot - Files for cross-compilation
fltk-rs - Rust bindings for the FLTK GUI library.
libc
xcgo - Golang cross-platform builder docker image with CGo and other tooling
sqlite - The pure-Go SQLite driver for GORM
glibc_version_header - Build portable Linux binaries without using an ancient distro
sqledge - Replicate postgres to SQLite on the edge
docker-go-mingw - Docker image for building Go binaries with MinGW toolchain