Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Project scope/naming #1

Closed
aloiscochard opened this issue May 12, 2016 · 2 comments
Closed

Project scope/naming #1

aloiscochard opened this issue May 12, 2016 · 2 comments

Comments

@aloiscochard
Copy link

Hi Rahul,

I was wondering about the naming and the scope you want to cover here, the reason I ask is because with a name with ghcvm I would expect it to potentially try to target different vm, or to implement a vm itself.

Wouldn't be ghcjvm more appropriate? (it also reflect the naming used by the JS backend)

Cheers!

@rahulmutt
Copy link
Member

rahulmutt commented May 12, 2016

Hi Alois,

The choice of the more generic suffix "VM" vs "JVM" was intentional. MSIL (intermediate language that run on CLR, for languages like C#, VisualBasic, etc.) and JVM bytecode are similar enough where I can foresee the code generator, once stable for the JVM, could in a month's work be transferred to be compatible with CLR. To be honest, I have almost zero knowledge of the CLR besides writing a small Kinect application for a friend a couple years ago, but I do know it borrowed a lot of ideas (and bytecodes) from the JVM.

The long term goal of this project is to be compatible with the existing infrastructure of large enterprises, which is currently dominated (fortunately or unfortunately) by the JVM and CLR. So you can bet that underlying all the major design decisions I make will involve that goal one way or another. Since I have more experience with the JVM and due to the popularity of the Android platform (which uses a JVM-derivative, Dalvik), I decided to start with the JVM and worry about the other major platform later.

Hope that helps!

@aloiscochard
Copy link
Author

That makes perfect sense!

I had similar hope for Kuna, as I agree, fundamentally most transformation done for the JVM should be reusable for the CLR.

Great stuff

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants