Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Could be awesome! But it would need a JS engine.


Why would it, though? Any language should do, as long as you can package a runtime for the environment.

Be it lisp, WASM, plain old C... It's just functions to call, that change the DOM, CSS properties, load pages, perform computations, call APIs...

Of course, the thing you lose is the hardware and software abstraction layer provided by chromium's javascript APIs. Those could be exported to a select number of languages, it wouldn't be hard for a single dev to create a usable runtime in their language if they are provided with C bindings to the H/SAL...


Thanks, is there a public Servo C API with function calls to change the DOM?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: