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

How to use ets.erl without conflict #11

Open
Zabrane opened this issue Jul 26, 2022 · 8 comments
Open

How to use ets.erl without conflict #11

Zabrane opened this issue Jul 26, 2022 · 8 comments

Comments

@Zabrane
Copy link

Zabrane commented Jul 26, 2022

@5HT How one can use this ets.erl NIF based module and avoid conflict with ets.erl shipped with the VM? Could you please provide an example usage?
Many thanks

@5HT
Copy link
Member

5HT commented Jul 27, 2022

base and rt are going to be a prototypes of a replacement for kernel and stdlib.

@Zabrane
Copy link
Author

Zabrane commented Jul 27, 2022

is rt ets.erl faster than the stock ets.erl?

@5HT
Copy link
Member

5HT commented Jul 27, 2022

ets.erl is going to be a thing with minimal changes to original. maybe some API reduction.

@5HT
Copy link
Member

5HT commented Jul 27, 2022

Or if you have a candidate to replacement I can take a look.

@Zabrane
Copy link
Author

Zabrane commented Jul 27, 2022

No, i'm fine with your ets.erl. It's already minimalistic.
Still some functions are missing. Eg ets:foldl/3, ets:foldr/3

@5HT
Copy link
Member

5HT commented Jul 28, 2022

So do you really like an idea to have own base and kernel ?

@Zabrane
Copy link
Author

Zabrane commented Jul 29, 2022

So do you really like an idea to have own base and kernel ?

Definitely YES. Get rid of bloated modules and keeping a minimalistic base/kernel modules is great.

@Zabrane Zabrane changed the title How to use ets.erl without conflit How to use ets.erl without conflict Jan 13, 2023
@Zabrane
Copy link
Author

Zabrane commented Jan 13, 2023

@5HT Happy New Year.
Any progress on this :-)?

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