NuxiNL / cloudlibc

CloudABI's standard C library
BSD 2-Clause "Simplified" License
295 stars 17 forks source link

Inject custom clocks, RNG's #15

Open mcandre opened 5 years ago

mcandre commented 5 years ago

I saw the awesome talk on CloudABI and think it would be a good idea to begin offering dependency injection for the system clock and for random number generation, for even richer application tests. Could we begin designing an API towards that end?

EdSchouten commented 5 years ago

Couple of things we need to take into consideration when designing such APIs:

mcandre commented 5 years ago

yes