Scala-native: Standard lib readiness

Created on 5 Sep 2016  路  5Comments  路  Source: scala-native/scala-native

We need to have a docs page that lists all of the available library APIs and their current status.

As suggested by @rom1dep on our gitter channel.

docs

Most helpful comment

This one is more along the lines of what classes in JDK we currently support, this should be included in the docs. Awesome lists are usually about third-party libraries.

All 5 comments

I suggest a project in github, on the lines of awesome-scala or awesome-rust, etc.

This one is more along the lines of what classes in JDK we currently support, this should be included in the docs. Awesome lists are usually about third-party libraries.

Docs are going to be hosted at http://scala-native.readthedocs.io/en/latest/lib/javalib.html

We still need to go through all the Java classes we have and list current state for each one of them.

Quite a few classes in java.lang are fully implemented already for example.

@densh do you want to do this manually?

This is the idea I have to do it automatically:

  • extract JVM methods to Scala interfaces/stubs automatically. (traversing via java reflection for example)
  • traverse the Scala Interfaces (via Scala Meta for example) and find unimplemented / implemented methods
  • provide additional meta information, for example, we will never implement java.awt.

I think we can just list all implemented classes for now. That information is trivial to get from the names of class files in the target/ folder of the javalib/ project.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

LeeTibbert picture LeeTibbert  路  4Comments

xuwei-k picture xuwei-k  路  5Comments

valencik picture valencik  路  3Comments

mccartney picture mccartney  路  6Comments

densh picture densh  路  4Comments