Giter Club home page Giter Club logo

71 / asmdot Goto Github PK

View Code? Open in Web Editor NEW
37.0 37.0 6.0 920 KB

[Unstable] Fast, zero-copy and lightweight (Arm | Mips | x86) assembler in (C | C++ | C# | Go | Haskell | Javascript | Nim | OCaml | Python | Rust).

License: MIT License

Makefile 0.19% Python 15.79% C 13.52% C# 15.35% Haskell 6.95% Nim 5.67% Rust 16.26% TypeScript 5.83% OCaml 5.53% C++ 8.83% Go 6.07%
arm asm assembler ast c csharp ffi haskell js mips nim ocaml parse python rust x86

asmdot's People

Contributors

71 avatar sid3w4y 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

Watchers

 avatar  avatar  avatar  avatar

asmdot's Issues

Big Endian support

Right now, integers larger than 8 bits are either encoded in little endian, or in the endianness of the running machine. It would be nice to have the ability to switch it to big endian.

In Rust and Haskell, it's only a matter of changing the functions we use. In other languages though, it either requires a manual shift or another library.

Rename root directories

I feel like the names I gave to the root directories aren't really helpful to someone who doesn't know how the project is structured.

If anyone has ideas that could improve these names, please submit them below.

C++ support

It would be nice to use a stream instead of raw pointers like we do in C.

Deprecate --update-pointer and --return void.

This comparison of generated binaries shows that using the immutable buffer option (which is the default option in the CLI, and can be toggled off via --update-buffer) leads to fewer generated instructions in most cases.

Since the intended goal of --update-buffer was to make things faster when emitting x86 code (at the cost of making things slower for ARM), it can be argued that it does not serve this purpose, and that both the --update-buffer and the --return void options can be removed, making the library more consistent and significantly easier to maintain.

If anyone sees a problem with this removal, please comment below. Otherwise, these features will be removed shortly.

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.