Porting TFHEpp to js and wasm
Hello guys, great work you've done with this TFHE implementation in C++, I'm a C/C++ developer and I want to make an interface for your code and expose it to java script and WebAssembly using emscripten. Does any one has any experience regarding this building tool? I just discover it and I'll give it a try. I'll keep you posted with my progress, maybe some of you will be interested in this interface.
Happy Coding! Claoo
Hi guys I managed to build the library as a shared library for js and wasm with some limitations, first was that I could't build randen and spqlios, assembly language is not build by emscripten. So I had to build FFTW3 library first with emscripten and after that I could build your library. I'll start some use case and fork this repository, If you are interested in my work I can make a new branch for this repo. What do you say?
Hi, Claoo. I expected such things, randen and spqlios will not be compatible with WebAssembly, and using FFTW3 in such cases seems to be a reasonable option. For the randen part, it is used to boost the secure random number generations, so I guess that you may need some other relatively fast CSPRNG on WebAssembly to avoid the use of /dev/urandom to get adequate performance.
Well, since this repository is solely developed for my research projects, I won't expect someone other than my close colleagues and me to create the branch on this repository. So, I hope you make a fork and make the PR from that forked repository. I'm open to adding new features to this library, though I cannot guarantee that the functionalities I'm not currently using are maintained.
Hi guys I managed to build the library as a shared library for js and wasm with some limitations, first was that I could't build randen and spqlios, assembly language is not build by emscripten. So I had to build FFTW3 library first with emscripten and after that I could build your library. I'll start some use case and fork this repository, If you are interested in my work I can make a new branch for this repo. What do you say?
I think it's a great work! May I ask if you could share your build process and open source it? Would that be possible?