Code Monkey home page Code Monkey logo

Comments (3)

rrthomas avatar rrthomas commented on May 30, 2024

I note that in the C implementation of Beetle, many of the above comments also apply, but it would barely be worth factoring out the commonality as the code is short half a dozen lines or fewer in most cases) and the extra abstraction would arguably make it harder to read. The Mijit code, unsurprisingly, is much longer, because it's effectively written in abstract assembler, not C.

It's interesting to notice therefore, that all the proposed abstractions above keep the low level of abstraction of the "abstract assembler" (and that they're mostly applicable to the C too, as mentioned above) rather than trying to raise the level of abstraction of the abstract assembler (effectively writing a Beetle-specific DSL).

from mijit.

apt1002 avatar apt1002 commented on May 30, 2024

@NickBarnes remarked that if Mijit ever becomes popular, people will inevitably generate Mijit code by compiling other languages. I don't think there's anything wrong with that.

from mijit.

apt1002 avatar apt1002 commented on May 30, 2024

Moved to beetle-mijit.

from mijit.

Related Issues (20)

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.