How do you approach a project if there's no library of a device available?

The world would be much simpler if everyone uses C.

You misspelled FORTRAN. Or COBOL. Or any language that YOU don't know.