Code Monkey home page Code Monkey logo

Comments (8)

dustymabe avatar dustymabe commented on September 17, 2024 1

I agree that we don't want to wait very long, but we also need to have a high level discussion about this project in general and develop a strategy for it. Right now there hasn't really been any design and it's all been tactical. We need to udevadm settle the tactical changes (i.e. get in what we need for now so it can be useful in the short term) and then kinda freeze on that while we rewrite with toplevel design in mind.

from coreos-assembler.

Conan-Kudo avatar Conan-Kudo commented on September 17, 2024 1

@lucab Are we assuming that we're working with Python 2? Because with the latest versions of Python 3, there's the ability to have the interpreter and bytecode compilation steps enforce the type checking.

from coreos-assembler.

jlebon avatar jlebon commented on September 17, 2024

This seems relevant here: http://mypy-lang.org/.
Anyone has experience with this?

from coreos-assembler.

dustymabe avatar dustymabe commented on September 17, 2024

There is a discussion happening at 17:30 UTC today that may help with the high level design a bit.

from coreos-assembler.

Conan-Kudo avatar Conan-Kudo commented on September 17, 2024

FWIW, I favor Python because it's more expressive, and it's much easier to integrate into other systems (as many of them are written in Python today).

from coreos-assembler.

lucab avatar lucab commented on September 17, 2024

I have some (brief and stale) experience with mypy. I liked it a lot for small codebase, but I realized it can't replace a real static type system because pervasive use of deply-nested-collections quickly results in unwieldy annotations or useless Any everywhere.

Looking at CL SDK, it contains ~8k of bash and ~1k of python (LoC) as of now. If we expect to have external contributors and reach similar size, I'd be happier to have a compiler in a CI step to catch silly mistakes instead of runtime errors in the pipeline.

Regarding integration, I think the scope here is similar to mantle and the primary mean of consumption is via containerized CLI execution, not as a library importing.

from coreos-assembler.

lucab avatar lucab commented on September 17, 2024

@Conan-Kudo No, just a language-agnostic comment with my view on scope and wishlist. I'd assume that we are speaking about py3 (barring any legacy lib). And you have a good point, I think that #174 is basically that.

from coreos-assembler.

cgwalters avatar cgwalters commented on September 17, 2024

Deduping with #163 (mantle is Go)

from coreos-assembler.

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.