Giter VIP home page Giter VIP logo

Comments (18)

borkdude avatar borkdude commented on June 3, 2024 1

Anyway, I'm fine with a 1.0.0 release :)

from graal-build-time.

ericdallo avatar ericdallo commented on June 3, 2024 1

I like both 3 and 4 as make clear to users what will do as it's what they care that the feature will do

from graal-build-time.

borkdude avatar borkdude commented on June 3, 2024 1

or 3, also fine, agreed :)

from graal-build-time.

borkdude avatar borkdude commented on June 3, 2024

Yeah, probably just documentation that users should add that flag to their build?

from graal-build-time.

borkdude avatar borkdude commented on June 3, 2024

I think it might be better to add an explicit package to that class as well.

from graal-build-time.

lread avatar lread commented on June 3, 2024

Yup and yes.

This is technically a breaking change.

So might as well go to a v1.x release.

from graal-build-time.

borkdude avatar borkdude commented on June 3, 2024

I don't think this is a breaking change since users didn't have to reference the class name before, it was automatic.

from graal-build-time.

lread avatar lread commented on June 3, 2024

But the build interface will have changed, no?

After users bump graal-build-time, builds will break if they don't take action of adding --features=.....
(assuming that we also remove the @AutomaticFeature annotation which is slated for removal by Graal team).

The break is imposed by changes to Graal, but still breaking from a user perspective, I think.

from graal-build-time.

borkdude avatar borkdude commented on June 3, 2024

Right, but that's not a breaking change in our library

from graal-build-time.

borkdude avatar borkdude commented on June 3, 2024

Also, I think it might be good to move to io.github instead of com.github

from graal-build-time.

lread avatar lread commented on June 3, 2024

@borkdude, for the io.github scheme I see your old question on Slack:

For a library coordinate, do you prefer com.github.foo/lib or io.github.foo/lib or don't care? Tag with ⬅️ for the first, ➡️ for the second or 🤷 with don't care.

And Alex Miller responded with:

I prefer the latter because it maps to the web page you can publish from the project (which maybe is the seed of an ownership verification scheme)

Is that still the primary benefit?

(Totally fine with this btw, just trying to understand what problem we are solving)

from graal-build-time.

borkdude avatar borkdude commented on June 3, 2024

The problem is that everyone seems to have shifted to that, but it doesn't really matter that much

from graal-build-time.

lread avatar lread commented on June 3, 2024

I'm making a sweep update to graal-docs, clj-easy/graal-docs#58.

I may as well tackle this one so I can use something not-deprecated in examples.

from graal-build-time.

lread avatar lread commented on June 3, 2024

I think I'll stick with com.github for the artifact so that tools like antq can discover the new version.

The new version won't work for folks without any changes, but at least they'll be more likely to learn about it. And the CHANGELOG/README will explain.

Does that make sense to you too?

from graal-build-time.

borkdude avatar borkdude commented on June 3, 2024

Yeah, let's stay with com.github.

from graal-build-time.

lread avatar lread commented on June 3, 2024

Implementation note: now that we aren't using a java annotation, thought it might be nicer to switch our java source to clojure source and use :gen-class. It did not work out (something to do with default interface methods).
Sticking with java source.

from graal-build-time.

lread avatar lread commented on June 3, 2024

Currently our fully qualified Feature class is InitAtBuildTimeFeature (it is package-less).

New name candidates:

  1. clj_easy.graal_build_time.InitAtBuildTimeFeature - keeps old name but adds package
  2. clj_easy.graal_build_time.InitAtBuildTime - it will be obvious it is a feature, we can drop the suffix
  3. clj_easy.graal_build_time.InitClojureClasses - describes specific goal
  4. clj_easy.graal_build_time.InitClojurePackages - describes actual work
  5. clj_easy.graal_build.time.ClojureTweaks - generic name, allows Feature to take on additional work in some later version if need be.

Because this name will be now specified on the native-image command line it deserves a bit of thought.

I seem to like the package name (as I haven't shown any alternatives!).
My wip is currently using option 3 but am very open to ideas/feeback/suggestions.

from graal-build-time.

borkdude avatar borkdude commented on June 3, 2024

4 would be the best I think

from graal-build-time.

Related Issues (6)

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.