-
-
Notifications
You must be signed in to change notification settings - Fork 96
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
Added haxe-targets graphviz diagram to intro compiler-targets doc. #348
base: staging
Are you sure you want to change the base?
Conversation
Nice graph! Suggestions:
|
Thanks! Thanks to Brian for getting the ball rolling! Is I didn't include "JavaScript" on the arrow from ECMAScript to Browser because it's not a tool that gets from one to the other. My understanding is that ECMAScript is, for nearly all intents and purposes, equivalent to JavaScript. And I see that it's I didn't include node.js because I didn't include any specific VMs or Interpreters. I think the diagram would become too heavy if we tried to include the JVM,CLR, Node.js, the Python & Lua & PHP interpreters (not sure of the names), Flash player, etc. Add to that, each target language may have multiple VMs/Interpreters. My thought is that the labels on the arrows are to show what tool gets you from one box to the next (so, maybe I should remove "HL/JIT" and "HL/C"). The viewer already has their own platform and tool-set in mind --- they just need to see that Haxe can get them there. |
Well depends on what you mean by "in production". It can be used in CI, to build tools, to generate stuff on the fly, its used by people, so it should be there. Maybe you could rotate everything 90 degrees to not have everything horizontally?
|
Hm. I don't know how to rotate the diagram, but that's a good idea. Will have to look into that later. Here's another version where I've put light blue borders on everything that Haxe can generate, and also included a couple of other bytecode boxes so it's easier to see the "bytecode level" below the "source code level": Does it look better with those bytecode boxes in there as well? |
Other notes:
|
Yeah I pressed send accidentally while I was typing, didnt mean that. |
As @Simn would say "looks really good!" |
I like the 4 column one more. And yes it should be JavaScript. |
Ok, I committed changes:
|
Looks good! I can't merge because I'm in Belgium. |
I would just remove ActionScript/SWF -> Browser link given Flash is less and less suported in browsers |
Can cppia bytecode be turned into an executable? I think it only runs in the cppia host. Also, is the cppia host a VM or an interpreter? |
I don't know anything about cppia, but on another note, I see now as of 4.0.0-rc3 that there's a direct to JVM bytecode target as well. Yow! |
Diagram (started by Brian Tiffin) to show how the different language/platform Haxe targets can reach the different end-user platforms (VM, Browser, Interpreter, Executable).
Still needs work, but @Simn said "looks really good!", so I thought it should go up now and folks can add clarifications later as they come up.