designs
criu
designs | criu | |
---|---|---|
20 | 14 | |
869 | 2,663 | |
0.6% | 1.5% | |
7.0 | 8.9 | |
16 days ago | 8 days ago | |
C# | 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.
designs
-
Swift was always going to be part of the OS
They do! See https://github.com/apple/swift/blob/main/docs/LibraryEvoluti...
You can also see an example of what a different high level language integration with Swift ABI looks like here: https://github.com/dotnet/designs/blob/main/proposed/swift-i...
-
.NET 8 is on the way! +10 Features that will blow your mind 🤯
Design Proposal
-
Scott Manley discovers great new feature
Ah, TIL. Haven't written C# since 2016.
-
The intersection of shadow stacks and CRIU
On macOS with ARM chips W^X is mandatory also for JIT: https://github.com/dotnet/designs/blob/main/accepted/2021/ru...
- The .NET team at Microsoft seems to be making a new library called R9
- Ancient .NET jobs
-
Microsoft unveils ‘Super Duper Secure Mode’ in latest version of Edge
Minor nitpick, while the V8 JIT doesn't support those mitigations in its current state, it can. Some of the work allowing RyuJIT (.NET's JIT) to use them might interest you: https://github.com/dotnet/designs/blob/main/accepted/2021/runtime-security-mitigations.md
-
The Case for C# and .NET
I don't think it's actually a problem most of the time, but they're working on fixing it anyway.
- .NET Runtime Security Mitigations
-
Microsoft's .NET Foundation under fire as resigning board member questions role
Which kind of AOT flavour?
NGEN, .NET Native, the pseudo extract zip, the pseudo extract zip with mmap execution,.....
https://github.com/dotnet/designs/blob/main/accepted/2020/fo...
Even in .NET 6 it is going to be "almost there wait for .NET 7 for all use cases".
criu
-
When "letting it crash" is not enough
Checkpoint/Restore I feel is a bigger concept than just saving state. At the zeroth level it's a system that can correctly stop and serialize a running process (as criu https://github.com/checkpoint-restore/criu has shown is a huge pain in the ass to still not be perfect) in a way that can initiated from within the process itself.
The 1st level more-work-but-easier way to do this is to build or use a heavily constrained VM/language you run from within your main application that doesn't allow for most of the hard problems to even exist.
I can't find any ready-made tools to do this that I wouldn't consider an endeavor.
- CRIU – Checkpoint/restore Linux tasks
-
Live Switching Pods to another Node on Resource Limits
That being said the Checkpoint Restore In Userspace project has been around for a number of years and is the closest thing to what you are talking about: taking a linux process on one machine and moving it to another. It is messy but can be done in some cases. There are folks looking at how to integrate CRIU with k8s but it’s all research at this point.
- Criu: Checkpoint/Restore Functionality for Linux
- checkpoint-restore/criu: Checkpoint/Restore tool
- checkpoint-restore/criu: Linux Checkpoint/Restore tool
-
The intersection of shadow stacks and CRIU
I would love to make more use of CRIU. E.g. I considered to use CRIU for my Python preloaded logic (https://github.com/albertz/python-preloaded). Unfortunately, at that point in time, CRIU must be used with root access, which was not an option. However, I see that the PR was merged now, so maybe it works now? (https://github.com/checkpoint-restore/criu/pull/1930)
There is also DMTCP (https://github.com/dmtcp/dmtcp/) but this might have other problems for my use case.
My solution was to use a fork server instead, which works almost equally well. There are not really much downsides with this approach. And this is actually quite simple, and also quite cross-platform (except Windows).
-
Python Preloaded
CRIU currently needs root access for dump/restore. However, there is ongoing work to support a non-root option in https://github.com/checkpoint-restore/criu/pull/1930.
-
How-to "freeze" a process to disk?
There have been multiple checkpointing attempts over the years. Criu is the only one I know of that's still kicking. That's probably your best and only bet.
- I made a plugin to suspend games and apps similar to how consoles do (Deck Suspender)
What are some alternatives?
dmtcp - DMTCP: Distributed MultiThreaded CheckPointing
nyrna - Suspend games and applications.
upgrade-assistant - A tool to assist developers in upgrading .NET Framework applications to .NET 6 and beyond
FitM - FitM, the Fuzzer in the Middle, can fuzz client and server binaries at the same time using userspace snapshot-fuzzing and network emulation. It's fast and comparably easy to set up.
DapperQueryBuilder - Dapper Query Builder using String Interpolation and Fluent API
Regshot-Advanced - This is a fork of Regshot (original found at https://sourceforge.net/projects/regshot/) with very enhanced functionality.
Costura - Embed references as resources
fpart - Sort files and pack them into partitions
.NET Runtime - .NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
DashLoader - Launch at the speed of light.
ASP.NET Core - ASP.NET Core is a cross-platform .NET framework for building modern cloud-based web applications on Windows, Mac, or Linux.
nginx-link-function - It is a NGINX module that provides dynamic linking to your application in server context and call the function of your application in location directive