Thanks Sean!

Yeah currently there are limits on WebAssembly, most prominent ones being
can't block main thread, cant use threading+SIMD and can't use the GUI(sort
of). UI is mainly to be handled by JavaScript. However, OpenGL calls are
mapped automatically to webGL in case of emscripten.

Adding features to OGV is the plan as most of front-end and backend
foundations are there, and heavy lifting can be done by WAsm.

I am also looking in to other projects so that I get to maximise learning
about programming and platforms.

Thanks and regards
Abhay

On Thu, Feb 27, 2020, 10:02 AM Christopher Sean Morrison via brlcad-devel <
brlcad-devel@lists.sourceforge.net> wrote:

> Hi Abhay!
>
> > On Feb 26, 2020, at 9:56 PM, Abhay Raj Singh <abhayofficial...@gmail.com>
> wrote:
> >
> > Hello everyone! I am Abhay Raj Singh, sophomore at NIT Hamirpur
> Bharat(India), wishing to participate in GSoC this year.
> >
> > I have gone through many ideas, but, I would like to propose one of my
> own.
>
> Excellent!  Fresh ideas are always welcome.
>
> > I came to know about WebAssembly a while ago, it lets you run C, C++,
> Rust i.e. native code in browsers! Offering highly portable development.
> >
> > AutoCAD a popular non-OS software already provide it's IDE that runs in
> browser.
>
> So then what exactly is the idea that you are proposing?  It’s not exactly
> like you can just take any code and recompile and run it successfully via
> WebAssembly… :)
>
> Having BRL-CAD in a browser is a similar objective of the Online Geometry
> Viewer (OGV) project, though that infrastructure is not based on
> recompilation.
>
> I think there might be some interesting possibilities of recompiling a
> piece of BRL-CAD for WebAssembly such as the libged library (which forms
> the basis of most of MGED commands), but then you would 1) have to detangle
> some bits of Tcl, 2) investigate what other limitations WebAssembly imposes
> on system calls (e.g., I/O), and 3) probably demo even the smallest bit of
> proof of concept that this could be turned into something viable.
>
> > Apart from that I am really interested in "Multi threaded Geometry
> evaluation" of OpenSCAD
> >
> > Which direction should I go?
>
> Go where you are most excited of course!  The possibilities for projects
> are endless, but only you will know best what you are capable of doing
> after researching the projects in a bit more depth.  Try submitting a
> useful code change or bug fix.  Regardless, welcome and thank you again for
> introducing yourself.
>
> Cheers!
> Sean
>
>
>
> _______________________________________________
> BRL-CAD Developer mailing list
> brlcad-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/brlcad-devel
>
_______________________________________________
BRL-CAD Developer mailing list
brlcad-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-devel

Reply via email to