engineer-man / piston

A high performance general purpose code execution engine.
https://emkc.org/run
MIT License
1.95k stars 251 forks source link

Change Java to compiled language to facilitate multi-file #644

Open JForden opened 8 months ago

JForden commented 8 months ago

Pull Request: Enhance Java Support for Multi-File Submissions

Overview

This pull request aims to extend the functionality of our Java execution environment to support multi-file Java programs. Historically, our system has only supported single-file submissions, limiting the complexity and scope of projects that users can run. This update is a significant step towards accommodating more advanced Java applications and improving the versatility of our execution platform.

Goals

Changes

1. Multi-File Support Implementation

3. Multi-File Java Program Support

JForden commented 8 months ago

Hi!

I talked about this pull request awhile ago with Hex who asked me to push it upstream. I'm only about a year late in actually getting to this, so it may not be something that is wanted/needed anymore.

gouseferoz commented 8 months ago

Hi!

I talked about this pull request awhile ago with Hex who asked me to push it upstream. I'm only about a year late in actually getting to this, so it may not be something that is wanted/needed anymore.

I think this feature is required. I am having a similar request in these lines, where i can be able to have a multi class single java file to execute. Currently it is not supported with piston.

JForden commented 7 months ago

Just a note!

I identified a minor bug with file passing, aka if you want to pass in a .txt file that a .java file should read from. I have resolved this issue and will commit changes soon.

sahar2339 commented 3 months ago

Any updates?