zlacker

[parent] [thread] 4 comments
1. nine_k+(OP)[view] [source] 2026-02-05 03:32:44
The why: because Lua, Python, JavaScript, Janet, etc lack many or all these features. And each of these features is known to make life easier for a human programmer.
replies(1): >>dismal+17
2. dismal+17[view] [source] 2026-02-05 04:43:50
>>nine_k+(OP)
Looking through that list of features, Ruby (the dynamic language I know best) has all but 1 built-in (and the other can be added with Gems). I'm guessing Python probably has them all too (but I don't know Python that well). They're pretty common. So the why still isn't clear.
replies(1): >>nine_k+ya
◧◩
3. nine_k+ya[view] [source] [discussion] 2026-02-05 05:24:54
>>dismal+17
Is Ruby easy to embed in a C program?
replies(2): >>dismal+Nd >>bandra+ie
◧◩◪
4. dismal+Nd[view] [source] [discussion] 2026-02-05 05:56:36
>>nine_k+ya
Yes -> https://mruby.org

It's also incredibly easy to extend the main Ruby implementation with C, C++, Odin, Zig, Rust, Fortran, etc... Literally a few lines.

◧◩◪
5. bandra+ie[view] [source] [discussion] 2026-02-05 06:01:25
>>nine_k+ya
That was originally the point of Ruby
[go to top]