synrc / rt

☀ RT: Erlang Runtime Library
https://rt.n2o.dev
ISC License
8 stars 4 forks source link

How to use ets.erl without conflict #11

Open Zabrane opened 2 years ago

Zabrane commented 2 years ago

@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 commented 2 years ago

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

Zabrane commented 2 years ago

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

5HT commented 2 years ago

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

5HT commented 2 years ago

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

Zabrane commented 2 years ago

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 commented 2 years ago

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

Zabrane commented 2 years ago

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 commented 1 year ago

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