Software Alternatives & Reviews

Generics can make your Go code slower

OctoSQL Squirrel (programming language)
  1. OctoSQL is a query tool that allows you to join, analyse and transform data from multiple databases and file formats using SQL. - cube2222/octosql

    #Databases #Big Data #Relational Databases 22 social mentions

  2. Squirrel is a high level imperative, object-oriented programming language, designed to be a light-weight scripting language that fits in the size, memory bandwidth, and real-time requirements of applications like video games.
    Pricing:
    • Open Source
    * https://v8docs.nodesource.com/node-7.10/d5/dda/classv8_1_1_isolate.html#a24647f61d6b41f69668094bdcd6ea91f A project I worked on had a few points where it had to explicitly call GC multiple times back to back. Intertwined references from C++ -> Squirrel[1] -> C++ -> Squirrel meant the first GC would finalize some C++ objects, which would unroot some Squirrel objects, which would allow some more C++ objects fo be finalized - but only one layer at a time per GC pass. Without the multiple explicit GC calls between unrooting one level and loading the next, the game had a tendency to "randomly"[2] ~double it's typical memory budget (thanks to uncollected dead objects and the corresponding textures they were keeping alive), crashing OOM in the process - the kind of thing that would fail console certification processes and ruin marketing plans. [1]: http://squirrel-lang.org/ [2]: quite sensitive to the timing of "natural" allocation-triggered GCs, and what objects might've created what reference cyles etc.

    #Programming Language #OOP #Generic Programming Language 2 social mentions

Discuss: Generics can make your Go code slower

Log in or Post with