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

This is very sound advice.

That being said it's incredibly hard to follow this advice in environments which encourage a polyglot stack and 'the best tool for the job' mindset. The moment you have more than one language in your stack it becomes easier to build services than to maintain libraries in each language. You can of course write native C libraries with bindings to different languages but that's a bit weird.

It's also requires more discipline to maintain abstractions and boundaries properly with libraries in large code bases but that's another story.



Not everyone's cup of tea, but on Linux gobject-introspection allows for automatic or semi-automatic generation of bindings for X languages.

.NET also -- and this is only my interpretation -- is following that path.


I also think it's the way to go: https://github.com/metacall/core


why weird?

It also doesn't have to be C, just anything that compiles to a native binary lib.




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

Search: