3 ms·
>>Most other languages are "dead ends", because code written in them is not easily reusable from other languages. FFI isn't the only way to be reusable from an
by tyingq 11y ago
>>Most other languages are "dead ends", because code written in them is not easily reusable from other languages.
FFI isn't the only way to be reusable from another language though. Many interpreted languages are easy to embed into C, C++, and often other languages.
- duaneb 11y agoYes, but the conversion between domain types is the killer there. Have you ever tried embedding ruby into python (or vice versa?) The string/unicode/bytes conversions alone demand a full project's worth of work. Basically, having base types convert toll-free is HUGE.