Skip to content

Java has no concore.java, can't run local nodes, only Docker #496

@avinxshKD

Description

@avinxshKD

concoredocker.java exists but there's no concore.java. Every other language has both, py has concore.py + concoredocker.py, cpp has concore.hpp + concoredocker.hpp. Java just... stops at Docker.

Practical problem: mkconcore.py flat out rejects .java files (langext in ["py","m","sh","cpp","v"], no java). So you can't even set up a local study with a Java node, it errors before doing anything.

README still lists supported languages as "Python, Matlab/Octave, Verilog, and C++".... Java isn't there because it genuinely isn't supported locally.

Also irony is, now concoredocker.java already has everything: literalEval parser, ZMQ transport, read/write/unchanged/initVal/tryParam/defaultMaxTime, shutdown hooks. A local concore.java would be mostly swapping /in => ./in, /out =>./out and adding the Windows PID file write that concore.py does (the taskkill /F /PID thing in concorekill.bat).

What's actually needs,

concore.java with relative paths for local file I/O
PID file write on Windows (same as concore.py)
mkconcore.py updated to recognize .java

The literalEval and ZMQ pieces can be lifted straight from concoredocker.java, no reason to rewrite them.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions