RuntimeCompiledCPlusPlus
SFML
Our great sponsors
RuntimeCompiledCPlusPlus | SFML | |
---|---|---|
5 | 122 | |
2,110 | 9,600 | |
- | 1.4% | |
5.7 | 9.5 | |
3 months ago | 4 days ago | |
C++ | C++ | |
- | zlib License |
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.
RuntimeCompiledCPlusPlus
-
hscpp: An experimental library to hot-reload C++
hscpp (Hotswap C++) is an experimental library I created which allows you to hot-reload C++. It was heavily inspired by Runtime Compiled C++, and works by linking DLLs into your project at runtime.
-
Continue with Javascript or switch to C++
The only recent attempt to make something like this practical, as far as I know, was RCCpp. Going by the GH activity, it looks like it kind of went nowhere.
-
I want to make my game a dll that can use functions from my engine exe
FYI I maintain a list of runtime compiled C++ approaches on this wiki: https://github.com/RuntimeCompiledCPlusPlus/RuntimeCompiledCPlusPlus/wiki/Alternatives
-
Reloadr – Hot code reloading tool for Python
There is https://github.com/RuntimeCompiledCPlusPlus/RuntimeCompiledC...
The idea is to use virtual functions, and recompile new classes into a shared library. The shared lib is linked into the running program, and old instances of the classes are deleted and replaced by new instances constructed from the share library.
I am working on a library using the same (stolen) idea here:
https://github.com/jheruty/hscpp
Proof of concept demo:
https://m.youtube.com/watch?v=pjGngeKgni8
hscpp is still very alpha, and I’m sure I’ll find lots of bugs as I work on a “real” demo. In contrast, Runtime Compiled C++ is quite mature and is used in real game projects.
Note that this approach very much limits your architecture. For example, you won’t be able to use statics, as the newly compiled shared libraries won’t see them.
It’s a finicky thing, worth it to me, but not something you can just plop in to an established project.
-
Quine or self reproducing program written using C language
Well of course it's possible to generate executable code at runtime in C++ since clang itself is written in C++, but it's definitely a much larger undertaking, but there's two such efforts I know of, Cling and RuntimeCompiledCPlusPlus.
SFML
-
Ask HN: How to create a simple 2D game in C?
Take a look at SFML. Very easy to get started, and quite capable.
https://www.sfml-dev.org/
-
rewriting a java project to C++, a bit lost on something.
As for windows, you'd probably be alright looking into SFML, you can see their Getting Started tutorial for how to install it in your IDE of choice.
- Ajutor in privinta incercarii a face un joc
-
Not only Unity...
SFML (zlib/C++) https://github.com/SFML/SFML
- Integrate web support in sfml
- SFML 2.6.1
-
Make a game engine in C++
SDL or SFML for drawing. They are both gfx libs but are used differently so read about what you thing suits you better.
-
C++ Project Ideas?
Make a game with https://www.sfml-dev.org/ (I used SFML Rust to start learning Rust)
-
link_libraries in Neat and Efficient way
cmake_minimum_required(VERSION 3.16) project(CMakeSFMLProject LANGUAGES CXX) include(FetchContent) FetchContent_Declare(SFML GIT_REPOSITORY https://github.com/SFML/SFML.git GIT_TAG 2.6.0) FetchContent_MakeAvailable(SFML) add_executable(CMakeSFMLProject src/main.cpp) target_link_libraries(CMakeSFMLProject PRIVATE sfml-graphics) target_compile_features(CMakeSFMLProject PRIVATE cxx_std_17)
- SFML 2.6.0 Released
What are some alternatives?
jurigged - Hot reloading for Python
raylib - A simple and easy-to-use library to enjoy videogames programming
ipdb - Integration of IPython pdb
SDL - DEPRECATED: Official development moved to GitHub
Revise.jl - Automatically update function definitions in a running Julia session
imgui - Dear ImGui: Bloat-free Graphical User interface for C++ with minimal dependencies
reloadr - Hot code reloading tool for Python
OpenFrameworks - openFrameworks is a community-developed cross platform toolkit for creative coding in C++.
OpenCL_Wrapper_By_PunalManalan - Lightweight, Easy to use OpenCL Wrapper By Punal Manalan. 'OCLW_P::OpenCLWrapper' This Single line of code does Everything In a Compact And Easy to Manage Manner!. Use this code wherever and whenever you want to!
GLFW - A multi-platform library for OpenGL, OpenGL ES, Vulkan, window and input
cr - cr.h: A Simple C Hot Reload Header-only Library
GStreamer - GStreamer open-source multimedia framework