primes-cpp
protoactor-dotnet
primes-cpp | protoactor-dotnet | |
---|---|---|
1 | 4 | |
0 | 1,669 | |
- | 1.1% | |
10.0 | 8.1 | |
over 7 years ago | 5 days ago | |
C++ | C# | |
- | Apache License 2.0 |
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.
primes-cpp
-
Ask HN: What piece of code/codebase blew your mind when you saw it?
Everybody mentions this, and what's great is that it is a pretty natural solution to a lot of problems. I remember coming up with a version of it while writing an optimized prime-sieve[1], and was surprised when I later learned that it was some named technique.
In addition to just the basic loop-unrolling (which I'm pretty sure you usually don't need to do by hand with modern compilers), it works really well when you need to jump into the middle of a pattern. Like if you're sieving primes in a wheel-factorized array.
[1] https://github.com/patricksjackson/primes-cpp/blob/master/pr...
// Here we're only checking possible primes after wheel-factorization
protoactor-dotnet
- Ask HN: What piece of code/codebase blew your mind when you saw it?
- Actor Frameworks
-
Dictionary Tricks
Looking at https://github.com/AsynkronIT/protoactor-dotnet/blob/dcee03a4f70a6adcd233c360f4f850db6c94d0af/src/Proto.Actor/Utils/TypedDictionary.cs it doesn't hold all its data in static members, just the "type id". "private TValue[] _values;" is not static.
What are some alternatives?
lisp-in-life - A Lisp interpreter implemented in Conway's Game of Life
Akka.net - Canonical actor model implementation for .NET with local + distributed actors in C# and F#.
scheme - An R7RS Scheme implemented in WebAssembly
Orleankka - Functional API for Microsoft Orleans http://orleanscontrib.github.io/Orleankka
Orleans - Cloud Native application framework for .NET
.NET port of LMAX Disruptor - Port of LMAX Disruptor to .NET
Zebus - A lightweight Peer to Peer Service Bus
FsShelter - Author Apache Storm topologies with F# using statically-typed streams
IdGen - Twitter Snowflake-alike ID generator for .Net
.NEXT Raft
store-modular-monolith - 🛒 Implementing an “online store” modular monolith application with domain-driven design and CQRS with using in-memory message broker based on .Net Core.
MBrace - MBrace Core Libraries & Runtime Foundations