GithubHelp home page GithubHelp logo

Comments (5)

clifinger avatar clifinger commented on May 23, 2024

@olexiyb thank you for your PRS, do you want to be part of that project I have to make Canduma as Framework with lot of useful tools, I want a console to generate code like Laravel in PHP, make in Symfony PHP, or RoR generator ... Do you think you can handle it ?

from canduma.

olexiyb avatar olexiyb commented on May 23, 2024

@clifinger I have 20 years of C++, but only 2 weeks in rust at this moment :-)
I am currently learning rust for my personal needs, not because of work requirements :-)

From my experience, this is a pretty tough task to write generator and potentially rust may not be the best language to write such generators.

I personally use a different language for different purposes (an example #5 (comment))

Anyway, my point is I am currently moving in a different direction. I need to have a very fast and scalable API, but do not have experience in graphql and rust to work on the generator.

PS
you can take a look into feathers cli as an example of javascript generator.

from canduma.

shirshak55 avatar shirshak55 commented on May 23, 2024

For cli and generator isn't rust way better and faster? But usually I never find myself using cli in laravel or rails as its always faster to create new file & use macro of text editor.

from canduma.

olexiyb avatar olexiyb commented on May 23, 2024

For cli and generator isn't rust way better and faster? But usually I never find myself using cli in laravel or rails as its always faster to create new file & use macro of text editor.

written on rust code will be blazing fast, but writing on rust is not that fast :-)
I have used generators just to see example of the code and how to add new service. First setup initial version, commit to git, add service and see the diff. But later I gave up to use as generators generate the code for old versions of libraries, etc, etc...

from canduma.

olexiyb avatar olexiyb commented on May 23, 2024

BTW, this may be interesting Askama

Askama implements a template rendering engine based on Jinja. It generates Rust code from your templates at compile time based on a user-defined struct to hold the template's context.

from canduma.

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.