Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality. Learn more →
Top 23 C++ Simulator Projects
-
AirSim
Open source simulator for autonomous vehicles built on Unreal Engine / Unity, from Microsoft AI & Research
Project mention: Modding API for old game: Strategies to ensure it runs on older systems while not losing productivity? | /r/REGames | 2023-05-04 -
Bullet
Bullet Physics SDK: real-time collision detection and multi-physics simulation for VR, games, visual effects, robotics, machine learning etc.
For typical game physics engines... not that much. Math libraries like Eigen or Blaze use lots of template metaprogramming techniques under the hood that can help when you're doing large batched matrix multiplications (since it can remove temporary allocations at compile-time and can also fuse operations efficiently, as well as applying various SIMD optimizations), but it doesn't really help when you need lots of small operations (with mat3 / mat4 / vec3 / quat / etc.). Typical game physics engines tend to use iterative algorithms for their solvers (Gauss-Seidel, PBD, etc...) instead of batched "matrix"-oriented ones, so you'll get less benefits out of Eigen / Blaze compared to what you typically see in deep learning / scientific computing workloads.
The codebases I've seen in many game physics engines seem to all roll their own math libraries for these stuff, or even just use SIMD (SSE / AVX) intrinsics directly. Examples: PhysX (https://github.com/NVIDIA-Omniverse/PhysX), Box2D (https://github.com/erincatto/box2d), Bullet (https://github.com/bulletphysics/bullet3)...
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
Project mention: Tesla braces for its first trial involving Autopilot fatality | news.ycombinator.com | 2023-08-28
-
Project mention: Robotics Simulation - Bridging the Gap Between Virtual and Real Worlds | dev.to | 2023-09-28
Open Robotics Resources - Provides guides and documentation for robotics simulation.
-
-
-
Blender-FLIP-Fluids
The FLIP Fluids addon is a tool that helps you set up, run, and render high quality liquid fluid effects all within Blender, the free and open source 3D creation suite.
If all else fails, you may want to consider a premium addon like FLIP Fluids, which in my experience feels more stable than the default fluid sim, though it may be a bit costly. Consider trying the demo.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
Project mention: SpaceTraders: A multiplayer game built on a free web API | news.ycombinator.com | 2023-05-08
Not to be confused with Pioneer Spacesim, the remake of Elite 2, a free online game
-
The idea is to write a C++ model that that produces cycle accurate outputs of the branch predictor, core pipeline, queues, memory latency, cache hierarchy, prefetch behaviour, etc. Transistor level accuracy isn't needed as long as the resulting cycle timings are identical or near identical. The improvement in workload runtime compared to a Verilog simulation is precisely because they aren't trying to model every transistor, but just the important parameters which effect performance.
Let's take a simple example: Instead of modeling a 64-bit adder in all its gory transistor level detail, you can just have the model return the correct data after 1 "cycle" or whatever your ALU latency is. As long as that cycle latency is the same as the real hardware, you'll get an accurate performance number.
What's particularly useful about these models is they enable much easier and faster state space exploration to see how a circuit would perform, well before going ahead with the Verilog implementation, which relatively speaking can take circuit designers ages. "How much faster would my CPU be if it had a 20% larger register file" can be answered in a day or two before getting a circuit designer to go try and implement such a thing.
If you want an open source example, take a look at the gem5 project (https://www.gem5.org). It's not quite as sophisticated as the proprietary models used in industry, but it's a used widely in academia and open source hardware design and is a great place to start.
-
-
it is this one: https://github.com/gazebosim/gazebo-classic
-
He wrote a game engine, it renders transparent items using the painter's algorithm, which requires the items to be sorted in Z. He has a routine that iterates over all items to render them, and bubble-sorts the items in-place while iterating over the items (all in the same thread). The "compare and swap" in this case is the innermost functionality of bubblesort.
I assume the author is https://github.com/aappleby but I don't see any obvious candidate for this code. Maybe this? https://github.com/aappleby/metroboy but I can't see why a gate-level emulator woudl need to render transparent items using painter's algorithm.
-
Project mention: How to get ACC head tracking with a webcam in Linux | /r/ACCompetizione | 2023-09-11
Additionally you can use https://github.com/AIRLegend/aitrack to get good head tracking and you don't need to run it with the same WINE prefix, since it uses UDP to communicate. Just run it casually from your OS (via WINE for example). But OpenTrack still need to run in the same WINE prefix ofc.
-
-
Project mention: Keep getting errors while trying to use Aer simulator | /r/QuantumComputing | 2023-06-02
strange. i never faced this error while using the Aer library. could u perhaps provide the complete error? is it something like the one mentioned here?
-
-
-
Project mention: Which is the best programming language for Quantum Computing? | /r/QuantumComputing | 2023-07-11
I implemented one myself, just for fun: https://github.com/aromanro/QCSim I intend to extend/improve it further. For somebody that knows C++ maybe it's worth checking out.
-
-
-
HFSimulator
This project introduces a practical high-performance stand-alone and OS independent Ionospheric Channel Simulator. Full open source documentation is available here.
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
C++ Simulator related posts
- Release Version 0.9.1 · lcgamboa/picsimlab
- Release Version 0.9.1 · lcgamboa/picsimlab
- How do you navigate?
- When would you ever want bubblesort?
- Naev – open-source game about space exploration, trade and combat
- Web GUI for the Ripes RISC-V simulator
- Robotics Simulation - Bridging the Gap Between Virtual and Real Worlds
-
A note from our sponsor - InfluxDB
www.influxdata.com | 18 Apr 2024
Index
What are some of the best open-source Simulator projects in C++? This list will help you:
Project | Stars | |
---|---|---|
1 | AirSim | 15,815 |
2 | Bullet | 11,862 |
3 | carla | 10,467 |
4 | webots | 2,997 |
5 | Ripes | 2,355 |
6 | habitat-sim | 2,343 |
7 | Blender-FLIP-Fluids | 1,602 |
8 | pioneer | 1,556 |
9 | gem5 | 1,404 |
10 | littlenavmap | 1,185 |
11 | rotors_simulator | 1,156 |
12 | gazebo-classic | 1,130 |
13 | metroboy | 1,088 |
14 | aitrack | 991 |
15 | qpp | 505 |
16 | qiskit-aer | 436 |
17 | picsimlab | 430 |
18 | quackle | 154 |
19 | QCSim | 24 |
20 | omnibase | 21 |
21 | Kite | 13 |
22 | HFSimulator | 9 |
23 | ufc | 8 |