C++ Lua

Open-source C++ projects categorized as Lua

Top 23 C++ Lua Projects

  • Cocos2d

    Cocos2d-x is a suite of open-source, cross-platform, game-development tools utilized by millions of developers across the globe. Its core has evolved to serve as the foundation for Cocos Creator 1.x & 2.x.

  • Project mention: Not only Unity... | /r/opensourcegames | 2023-11-11
  • annoy

    Approximate Nearest Neighbors in C++/Python optimized for memory usage and loading/saving to disk

  • Project mention: Do we think about vector dbs wrong? | news.ycombinator.com | 2023-09-05

    The focus on the top 10 in vector search is a product of wanting to prove value over keyword search. Keyword search is going to miss some conceptual matches. You can try to work around that with tokenization and complex queries with all variations but it's not easy.

    Vector search isn't all that new a concept. For example, the annoy library (https://github.com/spotify/annoy) has been around since 2014. It was one of the first open source approximate nearest neighbor libraries. Recommendations have always been a good use case for vector similarity.

    Recommendations are a natural extension of search and transformers models made building the vectors for natural language possible. To prove the worth of vector search over keyword search, the focus was always on showing how the top N matches include results not possible with keyword search.

    In 2023, there has been a shift towards acknowledging keyword search also has value and that a combination of vector + keyword search (aka hybrid search) operates in the sweet spot. Once again this is validated through the same benchmarks which focus on the top 10.

    On top of all this, there is also the reality that the vector database space is very crowded and some want to use their performance benchmarks for marketing.

    Disclaimer: I am the author of txtai (https://github.com/neuml/txtai), an open source embeddings database

  • 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.

    WorkOS logo
  • Minetest

    Minetest is an open source voxel game-creation platform with easy modding and game creation

  • Project mention: Lessons from Open-Source Game Projects | dev.to | 2024-04-10

    Minetest - Minecraft-inspired voxel game engine. C++

  • conky

    Light-weight system monitor for X, Wayland (sort of), and other things, too

  • Project mention: Conky | dev.to | 2024-03-31

    Puedes encontrar la documentación de Conky en su repositorio: Conky

  • WickedEngine

    3D engine with modern graphics

  • Project mention: List of Unity alternatives | /r/gamedev | 2023-09-19
  • cuberite

    A lightweight, fast and extensible game server for Minecraft

  • love

    LÖVE is an awesome 2D game framework for Lua.

  • Project mention: Ask HN: Yo wants to build a game, I'm lost. What can I do? | news.ycombinator.com | 2024-01-17

    I've built a few games with my son over the years. The fun part for us was all about fast iteration, and then laughing at the bugs together.

    There are some other recommendations here for how to approach 3d, and he is specifically asking for 3d -- but I want to put in one more pitch for 2d: the fun-to-tedium ratio can be much higher.

    I wonder if you could spend some time prototyping some of his ideas in LÖVE https://love2d.org/ -- if you show him the smallest sketch of something working, he might have an idea about what to add next.

    Many years ago, on a flight, we went from 0 to game before we landed (with no experience).

  • 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.

    InfluxDB logo
  • PlotJuggler

    The Time Series Visualization Tool that you deserve.

  • sol2

    Sol3 (sol2 v3.0) - a C++ <-> Lua API wrapper with advanced features and top notch performance - is here, and it's great! Documentation:

  • Project mention: Any tips for how to make moddable games? | /r/gamedev | 2023-05-20

    As someone said, make the game data-driven is a good first step but I will say, also have some sort of way to add additional game logic. For C++ games, lua is really easy to embed the interpreter in your C++ binary, read in the files from a directory (like /mods) with the C++ filesystem api new in C++17, and it's very easy to use SoL to write an API for lua specific to your game. Many games use lua in this way and it's probably the most common mod path setup.

  • luau

    A fast, small, safe, gradually typed embeddable scripting language derived from Lua

  • Project mention: Building a baseline JIT for Lua automatically | news.ycombinator.com | 2024-01-11

    As far as I can tell, they aren't.


    There is a lot of information there, but it doesn't handle resource exhaustion, execution time limits or give any guarantees. It does indicate that it's possible, and has a decent example of the most restrictive setup, which is a good start. But I would for example compare it with Luau's SECURITY.md.

    From https://github.com/luau-lang/luau/blob/master/SECURITY.md:

    > Luau provides a safe sandbox that scripts can not escape from, short of vulnerabilities in custom C functions exposed by the host. This includes the virtual machine and builtin libraries. Notably this currently does not include the work-in-progress native code generation facilities.

    > Any source code can not result in memory safety errors or crashes during its compilation or execution. Violations of memory safety are considered vulnerabilities.

    > Note that Luau does not provide termination guarantees - some code may exhaust CPU or RAM resources on the system during compilation or execution.

    So, even luau will have trouble with untrusted code, but it specifies exactly what happens and so on. I think that's fair enough.

  • Spring RTS game engine

    A powerful free cross-platform RTS game engine. - Report issues at https://springrts.com/mantis/ (by spring)

  • Project mention: Zero-k: A libre sci-fi RTS game, with an economy based on metal and energy | news.ycombinator.com | 2023-11-19

    Seems the support would be a realistic feature, though, because it's based on https://springrts.com/ that does support MacOS X.

  • REFramework

    Scripting platform, modding framework and VR support for all RE Engine games

  • Project mention: I just ordered a quest 2 what game should i experience first (free im broke now that i bought it but i plan on getting resident evil 4 remake) | /r/VRGaming | 2023-12-09

    Yeah the VR mode is unfortunately exclusive to PlayStation. There is a VR mod for older RE games, but it doesn’t support RE4.

  • corona

    Solar2D Game Engine main repository (ex Corona SDK) (by coronalabs)

  • Project mention: LÖVE: a framework to make 2D games in Lua | news.ycombinator.com | 2023-09-13
  • crown

    The flexible game engine.

  • wxFormBuilder

    A wxWidgets GUI Builder

  • widelands

    Widelands is a free, open source real-time strategy game with singleplayer campaigns and a multiplayer mode. The game was inspired by Settlers II™ (© Bluebyte) but has significantly more variety and depth to it.

  • Project mention: recommendations - settlers like games? | /r/Settlers | 2023-04-28
  • stepmania

    Advanced rhythm game for Windows, Linux and OS X. Designed for both home and arcade use.

  • Project mention: Ask HN: What side projects landed you a job? | news.ycombinator.com | 2023-12-03
  • FarManager

    File and Archive Manager

  • Project mention: IT Pro Tuesday #250 - Optical How-To, Linux Website, File Manager &amp; More | /r/ITProTuesday | 2023-05-09

    Far Manager is a text mode tool that helps you manage files and archives in Windows, with color highlighting and sort groups. Provides a simple, intuitive interface for viewing files and directories; editing, copying and renaming files; color highlighting and sort groups and more. Multi-language, easily configurable and extensible via a library of plugins. Appreciated by Hel_OWeen.

  • ImGuiColorTextEdit

    Colorizing text editor for ImGui

  • mtasa-blue

    Multi Theft Auto is a game engine that incorporates an extendable network play element into a proprietary commercial single-player game.

  • Project mention: Open source but but commercial use is paid | /r/opensource | 2023-05-15

    If the code is compiled, you'd have to pull a few more tricks. But to be fair that is also an issue even if your code is not source available - people can (and do) decompile closed-source programs and hack on them. My personal favourite of that is https://multitheftauto.com/ where the community reverse engineered GTA San Andreas to add multiplayer

  • nCine

    A cross-platform 2D game engine

  • Project mention: Not only Unity... | /r/opensourcegames | 2023-11-11
  • echo

    A New Cross-Platform 2D 3D Game Engine (by timi-liuliang)

  • Project mention: Echo open source game engine | news.ycombinator.com | 2023-11-08
  • RE-UE4SS

    Injectable LUA scripting system, SDK generator, live property editor and other dumping utilities for UE4/5 games

  • Project mention: Super Duper "Requires Duper Disk" | /r/GroundedGame | 2023-10-18

    Orax QoL Mod - https://www.nexusmods.com/grounded/mods/107 - Used for stack size, build-from-chest range, pallet capacity, mutation slots, day/night length Minimap - https://www.nexusmods.com/grounded/mods/96 - adds floating minimap to upper right corner (Minimap also required replacement DLL: https://github.com/UE4SS-RE/RE-UE4SS/releases/tag/v2.5.2) 250 Stack Size - https://www.nexusmods.com/grounded/mods/73 - obsolete, overruled by QoL Mod, but not removed from files Skip Intro - https://www.nexusmods.com/grounded/mods/111 - skip to main menu faster on launch

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

C++ Lua related posts


What are some of the best open-source Lua projects in C++? This list will help you:

Project Stars
1 Cocos2d 17,878
2 annoy 12,662
3 Minetest 10,031
4 conky 6,859
5 WickedEngine 5,332
6 cuberite 4,863
7 love 4,341
8 PlotJuggler 4,055
9 sol2 3,935
10 luau 3,595
11 Spring RTS game engine 3,457
12 REFramework 2,531
13 corona 2,414
14 crown 2,016
15 wxFormBuilder 1,959
16 widelands 1,937
17 stepmania 1,808
18 FarManager 1,686
19 ImGuiColorTextEdit 1,322
20 mtasa-blue 1,270
21 nCine 959
22 echo 916
23 RE-UE4SS 884

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives