Code Monkey home page Code Monkey logo

Comments (8)

bwsw avatar bwsw commented on July 27, 2024 1

@rhtyd
OK, I finally have got the point. Hope the new tool will get enough adoption soon.

from cloudstack-cloudmonkey.

kiwiflyer avatar kiwiflyer commented on July 27, 2024

To play devils advocate here, we (ENA) have far more Go coders than python experts.

from cloudstack-cloudmonkey.

rohityadavcloud avatar rohityadavcloud commented on July 27, 2024

Python based cloudmonkey will continue to exist, but deprecated over time. May be supported till python 2.7 is supported on a platform. I did discuss about this effort a very long time ago on dev ML and did not receive any negative feedback, since then I've actually rewritten cmk in Go twice.

Let me share my reasons of rewriting cloudmonkey in go:

  • missing support for python 2.7 runtime on older distros such as centos6/el6, difficulty in installation esp for windows users
  • python 2 vs 3 issues, before going to rewrite I tried to make the same code compatible with both py2/3 runtime and it turned out to be an ugly exercise
  • biggest reason was due to maintenance problem around installation and usage on different platforms
  • go is a very small language, easy/fast to learn (note: I'm largely a Python programmer, but could pickup quickly, I think others may quickly learn too)
  • the rewrite is generally 5-20x faster, easy to build, install and ship as a single binary for various platforms, even works on windows
  • cloudmonkey is a very small tool, rewriting it was justifiable; go-based cmk aims to be largely backward compatible for users and does not aim to bring major features

Most new infra opensource projects such as docker, k8s, hashicorp tools, few dbs, etc are all go-based, with the compatibility gurantee from the golang team for 1.x, I see a long term future and also for cmk release and maintenance.

I'm open to a healthy discussion.

from cloudstack-cloudmonkey.

bwsw avatar bwsw commented on July 27, 2024

@rhtyd well, I understand that. Just wanted to point that pyinstaller allows packing python into SFX which can be executed even in outdated OSes, so it's possible to rewrite to python3 as well and run SFX to execute everywhere.

from cloudstack-cloudmonkey.

rohityadavcloud avatar rohityadavcloud commented on July 27, 2024

There is a python based 5. 3 branch that you may maintain to support pyinstaller etc. @bwsw. From my PoV, we should move to go based version soon.

from cloudstack-cloudmonkey.

bwsw avatar bwsw commented on July 27, 2024

Ok, I get the point. Then, at least the documentation must be changed as well here:
https://cloudstack.apache.org/downloads.html
because, I suppose the current adoption of a new version is almost zero. E.g. I've known that there is some Cloudmonkey in Golang, but documentation states to use pip.

from cloudstack-cloudmonkey.

rohityadavcloud avatar rohityadavcloud commented on July 27, 2024

You're missing the point, there is no official go based release yet. We're yet to work on it and we'll update the website once there is an official release.

from cloudstack-cloudmonkey.

rohityadavcloud avatar rohityadavcloud commented on July 27, 2024

@bwsw thanks for being involved and your feedback. Anyone is welcome to continue to support and maintain the python based 5.3 branch. I'm closing the ticket, but if you're not satisfied please start a discussion thread on dev@ ML to gather feedback from a wider community than those tagged on this issue. Thanks.

from cloudstack-cloudmonkey.

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.