4 ms·
Learning Java is easy - porting 20years of libraries from C/C++ to Java is trickier. We only just got done porting them all from Fortran!
by kjhghjkjh 16y ago
Learning Java is easy - porting 20years of libraries from C/C++ to Java is trickier.
We only just got done porting them all from Fortran!
- sid0 16y agoYou could always use some sort of FFI. I don't think it's that big a deal, since you can still use C and C++ libraries on any desktop platforms + on Android.
- xpaulbettsx 16y agoFFI to C++ is a frustratingly difficult task for a number of reasons (there's a great presentation from FOSDEM where the Mono guys try to do this, can't find it right now though). There's a reason why FFI is mostly done against C libraries.
- sid0 16y agoFair enough: I was thinking more about C than C++ there. I guess that for at least some libraries an FFI + a C to C++ glue layer might work. Now that I think of it, I'm happy with a C + high-level language future, and C++ programmers should pick up one or both of them.