Git Product home page Git Product logo

Comments (4)

jcburley avatar jcburley commented on August 22, 2024

This has improved somewhat, though without better coverage of conversions between Clojure and Go types, it's a moot issue. The latest stats (on amd64-linux) are:

Totals: functions=7132 methods=5623 (78.84%) standalone=1509 (21.16%) generated=667 (44.20%)
        types=962 generated=344 (35.76%)

from joker.

jcburley avatar jcburley commented on August 22, 2024

Note that most of the "obstacles", listed in the original issue comment, are no longer issues due mainly to the introduction of Go objects manipulable via Clojure code:

  • Non-trivlal-typed arguments and results (or among results) are now Go objects.
  • Imports are now processed (interpreted and generated) more consistently with how Go itself handles them
  • Star types have better support
  • Mutual type references should be less of an issue (if one at all) now that constructors are per-type and defer populating pointers to other types to those types' constructors, without needing to recurse on the information on those types' underlying types

A major TBD is handling methods (receivers) properly.

from joker.

jcburley avatar jcburley commented on August 22, 2024

Much progress has been made. Here are the latest stats.

For amd64-darwin:

Totals: functions=3450 generated=2086 (60.46%)
          non-receivers=1487 (43.10%) generated=724 (48.69%)
          receivers=1963 (56.90%) generated=1362 (69.38%)
        types=959 generated=430 (44.84%)
        constants=3917 generated=3755 (95.86%)
        variables=413 generated=413 (100.00%)

For amd64-linux:

Totals: functions=3491 generated=2112 (60.50%)
          non-receivers=1526 (43.71%) generated=749 (49.08%)
          receivers=1965 (56.29%) generated=1363 (69.36%)
        types=966 generated=442 (45.76%)
        constants=4149 generated=3958 (95.40%)
        variables=413 generated=413 (100.00%)

For amd64-windows (out of date; to be updated soon):

Totals: functions=7074 methods=5562 (78.63%) standalone=1512 (21.37%) generated=627 (41.47%)
        types=973 generated=341 (35.05%)

from joker.

jcburley avatar jcburley commented on August 22, 2024

Fixed (sufficiently) by https://github.com/jcburley/joker/releases/tag/gostd-v0.9.

from joker.

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.