Pike is a dynamic programming language with a syntax similar to Java and C. It is simple to learn, does not require long compilation passes and has powerful built-in data types allowing simple and really fast data manipulation. (by pikelang)
I guess it is more of packaging issue of using pike in that manner, perhaps this is something for the pikers to explore. Could be a great way to revitalize the language, the world could need a embedded strictly typed C like dynamic language.
Example programs from "The Go Programming Language"
Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.
The Wren Programming Language. Wren is a small, fast, class-based concurrent scripting language.
Take a look at Wren if you want a similar looking embeddable scripting language. It was created by Bob Nystrom (who now works in Dart). It’s a lovely language.
the key value for me is that i can replace compiled code at runtime. this allows to build large long running systems that can be changed without needing to restart. this is a feature that comes out of LPC which was designed for online games where it was necessary to add new content and fix bugs while the game was running since the developers of the game were the advanced players themselves.
roxen uses that to allow reloading modules. the way it works there is that any currently active instances keep running with the old version, but new instances get the new version. since modules are freshly instantiated for each http request this works very well.
there is also open-sTeam which went a step further to use proxy objects, that is, any sTeam object is a proxy to the actual pike object, so my code will only reference sTeam objects which allows the pike objects in the background to be replaced without my code needing to update the object reference because the proxy handles that behind the scenes.
open-sTeam is not actively developed anymore by its original developers, but there is a copy of it here: https://gitlab.com/societyserver/sTeam and i still maintain and use it for myself. (i have added a half-assed REST API so i can do modern web development with it. (realss.com is an example of that. i can connect to sTeam using vi to update the text content and custom code (which is stored inside sTeam as source too))
besides in pike and LPC i have only seen the ability to update code at runtime in smalltalk and lisp. i am not aware of any other language offering something like that.
Python or Lua for mod support for a game written in C/C++
1 project | reddit.com/r/gamedev | 9 May 2022
Announcing Hush, a modern shell scripting language
4 projects | reddit.com/r/ProgrammingLanguages | 25 Apr 2022
Created my first game in Luxe engine - AMA
1 project | reddit.com/r/IndieDev | 26 Jan 2022
Wren is a small, fast, class-based concurrent scripting language
1 project | news.ycombinator.com | 22 Nov 2021
Benchmarks or analysis of pointer tagging
1 project | reddit.com/r/ProgrammingLanguages | 18 Nov 2021