godot-cpp
ChaiScript
godot-cpp | ChaiScript | |
---|---|---|
37 | 7 | |
1,455 | 2,885 | |
2.1% | 0.4% | |
8.9 | 3.7 | |
8 days ago | 2 months ago | |
C++ | C++ | |
MIT License | 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.
godot-cpp
-
Voronoi, Manhattan, random
Write C++ classes or functions using C++ bindings for the Godot engine.
-
How was your experience with GDExtensions so far? If good, what're your secrets?
Might have sth to do with https://github.com/godotengine/godot-cpp/issues/1057 . All of these errors pop up when godot::Refs are returned by certain engine functions like the one in FastNoiseLite but objects instantiated via memnew work like a charm. Plus with more gdextensions registered these issues seem to happen at more places.
-
Article reply “Godot is not the new Unity” from Juan Linietsky (BDFL of Godot)
I think part of the problem is that using GDExtension is like a two-way FFI. You can call (C++) extension functions from GDScript, but the same interface and overhead are used to call (lib) Godot functions from the (C++) extension.
Here's a good example (look, there I am!), although it's a bit old and actually led to perf improvement:
https://github.com/godotengine/godot-cpp/issues/1063
- Unity’s pricing is a symptom, not the cause of tougher times for the industry
-
Just how "beta" is GDExtension right now? Any platform support missing or other major features?
I've had some performance problems with GDExtensions: https://github.com/godotengine/godot-cpp/issues/1063
-
GD Extension Error on windows
I tried checking out cpp repo for my godot version 4 from this repo
-
gdextension_interface.h nowhere to be found, yet required by current tutorial
godot-cpp/gdextension/gdextension_interface.h
-
Godot Steam Audio Integration Test (C++)(Use Headphones)
Thanks! At the moment I've been running into issues with accessing some methods of the AudioServer as well as overriding some native functions (primarily related to audio_stream and audio_stream_player). These issues on the issue tracker cover them: https://github.com/godotengine/godot-cpp/issues/1090 https://github.com/godotengine/godot-cpp/issues/1088 That said, there may be a way around this, it could just be that different bindings need to be used - currently the audio stream and audio stream player code is heavily based on existing classes like AudioStreamPlayerPolyphonic. Worst case I believe Godot itself needs to be updated to expose the appropriate bindings. I'll upload a separate branch for what I have for the GDExtensions version (though it fails compilation) sometime soon. I started this as a traditional Godot module during the 4.0 pre-alpha days but I definitely want to move it to GDExtension so its super easy for people to pull into the official engine release.
- Using Godot as a code-first C++ engine -- possible?
- How do i get started with GD Extension?
ChaiScript
- Using C++ as a scripting language, part 6
-
How to use C++ as the core language for a Fantasy Console?
If you want to use C++ for scripting, take a look at Jason Turner's ChaiScript
-
Enabling C/C++ compilation in an application.
3) Similiar to 2, but use more common scripting languages: chai, cs-script, sol2 (c++ framework to embed lua)
-
ArkScript, a language designed to be used in C++ projects, now has macros
A few years back I actually went and made a ChaiScript based video game engine (https://16bpp.net/blog/post/masala-a-chaiscript-game-engine/). The end goal for it was to be able to make a Pacman like clone, but have all of the game logic implemented in ChaiScript. I actually found out as I added more realtime elements (implemented in ChaiScript) that it started to take much longer to process the game logic; the "game loop FPS" was under 60, which is not good. I actually proposition that ChaiScript move to a bytecode VM (https://github.com/ChaiScript/ChaiScript/issues/266), but I'm guessing that no movement was made on that front.
- Is it advisable to embed python in c++ ? Have anyone tried it, what is the best way to do it?
-
Looking for a codegen library that uses C++ for scripting
Maybe ChaiScript? It is not exactly what you are looking for, but very similar, in my opinion.
What are some alternatives?
godot-cpp - C++ bindings for the Godot script API
Lua - Lua is a powerful, efficient, lightweight, embeddable scripting language. It supports procedural programming, object-oriented programming, functional programming, data-driven programming, and data description.
godot-jolt - Godot Jolt is a Godot extension that integrates the Jolt physics engine
V8 - The official mirror of the V8 Git repository
scons - SCons - a software construction tool
Duktape - Duktape - embeddable Javascript engine with a focus on portability and compact footprint
GDExtensionSummator - The Summator Example from Custom Modules made with the GDExtension system in Godot 4
squirrel - Official repository for the programming language Squirrel
gdnative-demos - Demo projects for GDNative
Wren - The Wren Programming Language. Wren is a small, fast, class-based concurrent scripting language.
box2d-wasm - Box2D physics engine compiled to WebAssembly. Supports TypeScript and ES modules.
sol2 - Sol3 (sol2 v3.0) - a C++ <-> Lua API wrapper with advanced features and top notch performance - is here, and it's great! Documentation: