Git Product home page Git Product logo

clarity's Introduction

Clarity

Clarity is a small .NET implementation intended for games and other programs that need a small but powerful scripting platform.

Games mostly rely on special-purpose languages or Lua for scripting, or other similar languages. While Lua is simple, it doesn't support SMP, has a lot of runtime overhead, and doesn't support aggregate types (like math vectors) well. Proprietary languages can be higher-performance than Lua, but generally lack features.

.NET is conceptually a great fit for games: It has good support for value types, is very fast thanks to its strong typing, is compiled from many high-quality languages with mature tools, and is safer than C++.

However, .NET also suffers from difficult portability due to the huge scope of its standard framework and the inability to JIT code on platforms with code signing.

Clarity is intended to bridge the gap and bring modern .NET features in a compact implementation. Its framework is based on the .NET Micro Framework, with some additions.

The implementation is driven by a 2-step AOT compiler that targets a RISC-like interpreter or C++ and a runtime library that aims for maximum portability.

clarity's People

Contributors

elasota avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.