Giter VIP home page Giter VIP logo

il2x's Introduction

IL2X (Under development)

Translates .NET IL to supported and unsuported .NET platforms and architectures. (Powered by Cecil)
NOTE: CS2X will be for GPU targets

Goals

This projects focus is on translating .NET IL for non-supported .NET targets & performance. Portibility is a big focus.

  • Native C performance
  • C89: modern, legacy and embedded platforms (x86, x64, MIPS, SPARK, RISC-V, PPC, 68k, AVR, etc)
  • CC65: 6502 platforms (Atari, C64, NES, Apple II, etc)
  • SDCC: Many targets (ColecoVision, etc)
  • z88dk: Z80 platforms
  • Assembly: CP1610 (Intellivision)
  • Retarget: Custom assembly targets (FPGA CPU, 16bit bytes, etc)
  • Custom Standard lib(s) for various targets.
  • Other lang targets: Java, JS, ActionScript, etc (portability or framework targeting)
  • Documentation

Project libraries

  • IL2X.Core: .NET IL compiler/emitter lib
  • IL2X.CLI: CLI interface for IL2X.Core
  • IL2X.CoreLib: The IL2X CoreLib & runtime base

What IL2X aims to provide CoreCLR / .NET-Native / Mono / Mono-AOT doesn't

  • True portability. IL2X output will compile to C89 along with a CPU agnostic GC, Boehm or low-ram embedded GC. Special or platform specific C targets will have options. Such as storing string literals in ROM, VC++, Clang or GCC specifics etc.
  • Statically compile the entire program & dependencies in a single AOT binary from any C compiler.
  • IL2X can be faster than all currently available .NET runtimes when it comes to heavy number crunching thanks to mature C optimizers and lighter weight code gen.
  • Allows you to directly invoke C methods statically for better optimizations vs using DllImport etc.
  • Supports many C compilers allowing you to choose what's best.

Building

NOTE: To clone repo you will need the Git Large File Storage

  • Prerequisites
    • VS 2022, vscode, Rider, etc
    • .NET 8

Is this project ready for general use?

No still experimental.

il2x's People

Contributors

beyley avatar zezba9000 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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