Giter VIP home page Giter VIP logo

Comments (3)

nigeltao avatar nigeltao commented on July 28, 2024

When you talk of dependencies, do you mean depending on the *.go code that make up the Wuffs compiler, or on the *.{c,h} code for the 'runtime' for built-in types like io_buffer, on the *.wuffs code that make up the Wuffs standard library, or all of that?

Regardless of the answer, "convert into a Go module" isn't free. IIUC, it would require adopting semantic versioning, which would require bumping a minor version number every time there is a breaking change, and at this point in time, I seem to be making breaking changes every week.

Or, if https://semver.org/#spec-item-4 allows "0.y.z" to mean "Anything may change at any time" then I can skip bumping the minor version number every week, but that doesn't seem to help you if I'm still making breaking changes.

Yes, it's a bumpy ride, but I did say that it's too early to expect a stable ride. Sorry.

from wuffs.

mvdan avatar mvdan commented on July 28, 2024

Oh, I do know that breaking changes will come at any time no matter what :) Perhaps it's not a good idea to adopt semantic versioning just yet, then.

I personally don't care if/how the Wuffs standard library is versioned. I don't even know if I can import it from my code.

What I do care about, as you say, is the Go code that makes up the compiler, as well as the "runtime".

I only suggested this because I thought you were already versioning both of those, having seen commits like wuffs gen -version=0.2.0-alpha.16. If that's a different thing, then please ignore this issue for now.

from wuffs.

nigeltao avatar nigeltao commented on July 28, 2024

The wuffs gen -version=0.2.0-alpha.16 thing affects the generated C code in the release/c directory. It's not about the Go code or the 'runtime'.

Also, the generated C code has the version explicitly in the filename: the v0.2 in wuffs-v0.2.h. The plan is to have multiple files (API versions) in that directory, so that someone who uses v0.2 won't be affected when v0.3 is eventually released, and so there's not so much need for additional semver metadata.

from wuffs.

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.