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

Other Compilation Targets? #1

Open
adabarx opened this issue Feb 25, 2024 · 0 comments
Open

Other Compilation Targets? #1

adabarx opened this issue Feb 25, 2024 · 0 comments
Labels

Comments

@adabarx
Copy link
Owner

adabarx commented Feb 25, 2024

Generating to Zig is the default, but I'd like to explore other:

  • C: The default. If Zig didn't exist I'd probably be writing the compiler in Rust to generate C
  • Hare: Very interesting language. It's stated goal is to be a "100 year language". It has no metaprogramming language constructs. Instead, they have codegen utilities that exist outside of the language. It almost sounds like a perfect compile target. Will likely be the second target, if not it'll be third after C.
  • Jai: Looks promising, won't know till i get my hands on it. Might be too application specific.
  • Odin: Go style error handling?!?! 🤢
  • Javascript: Ugh, yeah probably. WASM doesn't seem interested in replacing JS—though it should! 😡—so compiling to JS could be useful. It would be cool to be able to compose a JS/WASM/Server app all from the same language tho...
@adabarx adabarx changed the title Code Gen Targets to Consider C and Hare Backends? Feb 26, 2024
@adabarx adabarx changed the title C and Hare Backends? Other Compilation Targets? Feb 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant