4 ms·
Re: Java / C usage: Generally I think this is a valid approach. Most languages use a C/C++ runtime for core data structures and abstractions. Go and Rust are no
by orbifold 8y ago
Re: Java / C usage: Generally I think this is a valid approach. Most languages use a C/C++ runtime for core data structures and abstractions. Go and Rust are notable exceptions. Ideally as a developer you are able to extend this core functionality in a seamless way. Python, Lua, JavaScript (the v8 implementation at least) and Java (JNI) are good examples where this is easily possible.
- hajile 8y agoI agree completely for day-to-day use, but the benchmark game is specifically to test implementations. If you're offloading to C, then you're testing the C implementation and the FFI implementation instead of the language implementation. If you want to test those, then come up with a specific test for that.
- igouy 8y ago> … testing the C implementation and the FFI implementation instead of the language implementation… No, not "instead-of" but "as-well-as".