Coder Social home page Coder Social logo

Implement a Rust compiler about thingml HOT 5 OPEN

fungiboletus avatar fungiboletus commented on June 3, 2024 1
Implement a Rust compiler

from thingml.

Comments (5)

brice-morin avatar brice-morin commented on June 3, 2024
  • it has a concurrency model aligned with ThingML with message passing between threads (a bit like Go), which would remove the need for generating the internal serialization/deserialization whenever we send messages in ThingML (even between local instances). Less code to generate, less code to maintain in the compilers.

  • the C family of compilers starts to be "crowded". It could be the occasion to only focus the C compiler on micro-controllers only, and clean a lot of things there....

So, I like the idea :-)

One question is whether we should go for a full generative approach like in C compiler, or a "semi-generative" approach like in other compilers, which rely on a framework for state machines.

Also, the biggest question is who is going to implement it :-)

from thingml.

fungiboletus avatar fungiboletus commented on June 3, 2024

Also, the biggest question is who is going to implement it :-)

It's a very good question. At Tellu we do not know Rust yet.

from thingml.

brice-morin avatar brice-morin commented on June 3, 2024

Let's wait for a concrete use case, and a common project for this use case :-)

Happy @ffleurey ? But we keep the issue open ;-)

from thingml.

fungiboletus avatar fungiboletus commented on June 3, 2024

I did my first Rust Hello World yesterday, so things are going pretty well I would say.

from thingml.

brice-morin avatar brice-morin commented on June 3, 2024

Good, good :-) We might discuss that around lunch tomorrow as I'll be at Tellu in the morning for another project.

from thingml.

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.