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

i think it's where the glue goes. do you implement an algorithm/write a generic library in c and then glue it to your high level language in your high level language, or do you write a plugin for your high level language in c?

in both cases you need to understand pointers and function pointers and the difference between your integer type and a c int, but in one case you're at home while you do it. in one case, you could plug in to any existing c library without writing additional c, so if the problem is already solved you just use the ffi and you're done. in the other case, your problem is just beginning



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

Search: