3 ms·
Thankfully there's a community (and a bindings generator) for that. Chances are the libs you want to use are already in: http://github.com/search?langOverride=&
by nddrylliog 16y ago
Thankfully there's a community (and a bindings generator) for that. Chances are the libs you want to use are already in: http://github.com/search?langOverride=&language=&q=ooc-&repo=&start_value=1&type=Repositories&x=23&y=18 http://github.com/search?langOverride=&language=&q=o...
Yes, that's one more advantage of producing C code - integration is seamless. No need to reinvent all the wheels, rewrite what you feel like, re-use the rest.
- cageface 16y agoThat sounds like a very leaky abstraction.
- nddrylliog 16y agoHuh? Can you develop your point?
- cageface 16y agoIt's one thing to make calling into C easy, but how well do C types fit in with the rest of the system? What about error handling? Memory management? String encoding conventions etc etc? This stuff is all gross in C and inconsistent. I don't see how you're going to paper over all that and make the C libs feel like native, first-class citizens of your world. Just binding to libexpat doesn't mean you have good xml support, for example.
- nddrylliog 16y agoThose are all valid questions that show you haven't researched the least bit into what ooc does and how it works, otherwise you'd have some clue as to how it does solve these problems. (And please, no "But I don't have the time, you have to chew everything for me"-answer. I'm in overload of this kind of answer too.)
- cageface 16y agoLearning another new language is not on my list of things to do right now. If I hear that somebody has actually built something interesting in it I'll take a look but I'm much more interested at the moment in studying the basics of machine learning, figuring out how to build rich user interfaces in pure HTML5, and helping the rails team shorten its bug queue.