Hacker News new | past | comments | ask | show | jobs | submit login

I was searching around for a js wrapper, but found that even the JS API was implemented in C [1].

I would only implement the low level "hardware" primitives in C, then implement the high level API in JS like Chromium's Blink-in-JS initiative [2]. Once they start expanding the high level functionality, they will lose potential contributors by sticking with pure C.

[1] https://github.com/octalmage/robotjs/blob/master/src/robotjs...

[2] http://www.chromium.org/blink/blink-in-js




You'd be surprised by how many C/C++ programmers there are out there! I've already been surprised by the number of contributions. But yeah, using C wasn't a choice, it was the only option. Luckily we already have all planned features implemented in C.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: