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

native build (WIP) #330

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

native build (WIP) #330

wants to merge 2 commits into from

Conversation

hasanalrasyid
Copy link

Thank you for this invaluable piece.
In my use case, the existence of Relude is a must to make more common codes between server-side code (built in native compilation) and client-code (melange).

This contribution and pull request is a WIP. It tried to make compilation of Relude is possible in native environment.
Most of the work was done by exchanging Belt modules with comparable modules in JaneStreet Base/Core or straight from OCaml default libraries, with the latter should be the priority. Hopefully, we can reduce it to single dependency.
There are several modules that not yet to be handled, namely Js, IO (related with async), etc.
The tests also not yet polished for native, so we need to use it with a grain of salt.
Nonetheless, most parts are compiled and should be usable.

The progress would be shown in the native branch.

Regards,
Hasan

Hasan al Rasyid added 2 commits September 15, 2022 21:09
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

Successfully merging this pull request may close these issues.

1 participant