Settings

Theme

Ask HN: Survey: Scripting languages for realtime applications

2 points by schoetbi 9 years ago · 2 comments · 1 min read


I am looking for scripting languages that are suited for realtime # programming. The main criteria is that there is no stop-the-world garbage collector as in Python or Lua.

The main approach these languages use is a reference counting garbage collector

Some candidates I have found are:

  - Squirrel (http://www.squirrel-lang.org/)
  - Angelscript (http://www.angelcode.com/angelscript/)
  - EEL (http://eelang.org/)
  - GameMonkey Script (https://github.com/publicrepo/gmscript) incremental GC
  - Exprk (https://github.com/ArashPartow/exprtk) More a expression evaluator than a language
Some candidates that are not quite suited for me yet:

  - Luna (Beta) (https://github.com/tj/luna)
  - pforth (infix vs postfix) (https://github.com/philburk/pforth)
My question is if I have all relevant projects on the list here or if I am missing an important possibly more widely used language?

# Meaning of realtime: When talking about realtime some people understand differnet things. One group thinks it is about web applications that get updated data from the server without reloading a page. I on the other sind mean realtime as in realtime operating systems (RTOS).

smitchell2 9 years ago

Three that I've dabbled with are:

    - Euphoria   (http://openeuphoria.org/)
    - Wren       (http://wren.io/)
    - ChaiScript (http://chaiscript.com/)
Of those three, Euphoria is possibly the most widely used. It has also been around the longest - since 1993.
  • schoetbiOP 9 years ago

    Thanks.

    ChaiScript has a stackbased memory model so this would fit.

    Wren has a garbage collector, so this would be probalby no option for me.

    Euphoria is not on github so I have to search first how the gc works. Thanks again

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection